BFD API declarations.
More...
Go to the source code of this file.
|
vnet_api_error_t | bfd_udp_add_session (u32 sw_if_index, const ip46_address_t *local_addr, const ip46_address_t *peer_addr, u32 desired_min_tx_usec, u32 required_min_rx_usec, u8 detect_mult, u8 is_authenticated, u32 conf_key_id, u8 bfd_key_id) |
| create a new bfd session More...
|
|
vnet_api_error_t | bfd_udp_mod_session (u32 sw_if_index, const ip46_address_t *local_addr, const ip46_address_t *peer_addr, u32 desired_min_tx_usec, u32 required_min_rx_usec, u8 detect_mult) |
| modify existing session More...
|
|
vnet_api_error_t | bfd_udp_del_session (u32 sw_if_index, const ip46_address_t *local_addr, const ip46_address_t *peer_addr) |
| delete existing session More...
|
|
vnet_api_error_t | bfd_udp_session_set_flags (u32 sw_if_index, const ip46_address_t *local_addr, const ip46_address_t *peer_addr, u8 admin_up_down) |
| set session admin down/up More...
|
|
vnet_api_error_t | bfd_auth_set_key (u32 conf_key_id, u8 auth_type, u8 key_len, const u8 *key) |
| create or modify bfd authentication key More...
|
|
vnet_api_error_t | bfd_auth_del_key (u32 conf_key_id) |
| delete existing authentication key More...
|
|
vnet_api_error_t | bfd_udp_auth_activate (u32 sw_if_index, const ip46_address_t *local_addr, const ip46_address_t *peer_addr, u32 conf_key_id, u8 bfd_key_id, u8 is_delayed) |
| activate authentication for existing session More...
|
|
vnet_api_error_t | bfd_udp_auth_deactivate (u32 sw_if_index, const ip46_address_t *local_addr, const ip46_address_t *peer_addr, u8 is_delayed) |
| deactivate authentication for existing session More...
|
|
vnet_api_error_t | bfd_udp_set_echo_source (u32 loopback_sw_if_index) |
| set echo-source interface More...
|
|
vnet_api_error_t | bfd_udp_del_echo_source () |
| unset echo-source interface More...
|
|
BFD API declarations.
Definition in file bfd_api.h.
#define F |
( |
|
t, |
|
|
|
n |
|
) |
| BFD_TRANSPORT_##t, |
#define foreach_bfd_transport |
( |
|
F | ) |
|
Value:F (UDP4,
"ip4-rewrite")
\
Definition at line 26 of file bfd_api.h.
Enumerator |
---|
foreach_bfd_transport |
|
Definition at line 30 of file bfd_api.h.
delete existing authentication key
Definition at line 2014 of file bfd_main.c.
create or modify bfd authentication key
Definition at line 1960 of file bfd_main.c.
vnet_api_error_t bfd_udp_add_session |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
local_addr, |
|
|
const ip46_address_t * |
peer_addr, |
|
|
u32 |
desired_min_tx_usec, |
|
|
u32 |
required_min_rx_usec, |
|
|
u8 |
detect_mult, |
|
|
u8 |
is_authenticated, |
|
|
u32 |
conf_key_id, |
|
|
u8 |
bfd_key_id |
|
) |
| |
create a new bfd session
Definition at line 653 of file bfd_udp.c.
vnet_api_error_t bfd_udp_auth_activate |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
local_addr, |
|
|
const ip46_address_t * |
peer_addr, |
|
|
u32 |
conf_key_id, |
|
|
u8 |
bfd_key_id, |
|
|
u8 |
is_delayed |
|
) |
| |
activate authentication for existing session
Definition at line 750 of file bfd_udp.c.
vnet_api_error_t bfd_udp_auth_deactivate |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
local_addr, |
|
|
const ip46_address_t * |
peer_addr, |
|
|
u8 |
is_delayed |
|
) |
| |
deactivate authentication for existing session
Definition at line 772 of file bfd_udp.c.
unset echo-source interface
vnet_api_error_t bfd_udp_del_session |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
local_addr, |
|
|
const ip46_address_t * |
peer_addr |
|
) |
| |
delete existing session
Definition at line 716 of file bfd_udp.c.
vnet_api_error_t bfd_udp_mod_session |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
local_addr, |
|
|
const ip46_address_t * |
peer_addr, |
|
|
u32 |
desired_min_tx_usec, |
|
|
u32 |
required_min_rx_usec, |
|
|
u8 |
detect_mult |
|
) |
| |
modify existing session
Definition at line 695 of file bfd_udp.c.
vnet_api_error_t bfd_udp_session_set_flags |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
local_addr, |
|
|
const ip46_address_t * |
peer_addr, |
|
|
u8 |
admin_up_down |
|
) |
| |
set session admin down/up
Definition at line 733 of file bfd_udp.c.
set echo-source interface
Definition at line 72 of file bfd_udp.c.