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, |
◆ foreach_bfd_transport
#define foreach_bfd_transport |
( |
|
F | ) |
|
Value:F (UDP4,
"ip4-rewrite") \
F (UDP6, "ip6-rewrite")
Definition at line 26 of file bfd_api.h.
◆ bfd_transport_e
Enumerator |
---|
foreach_bfd_transport | |
Definition at line 30 of file bfd_api.h.
◆ bfd_auth_del_key()
delete existing authentication key
Definition at line 2232 of file bfd_main.c.
◆ bfd_auth_set_key()
create or modify bfd authentication key
Definition at line 2176 of file bfd_main.c.
◆ bfd_udp_add_session()
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 742 of file bfd_udp.c.
◆ bfd_udp_auth_activate()
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 858 of file bfd_udp.c.
◆ bfd_udp_auth_deactivate()
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 889 of file bfd_udp.c.
◆ bfd_udp_del_echo_source()
unset echo-source interface
◆ bfd_udp_del_session()
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 816 of file bfd_udp.c.
◆ bfd_udp_mod_session()
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 789 of file bfd_udp.c.
◆ bfd_udp_session_set_flags()
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 837 of file bfd_udp.c.
◆ bfd_udp_set_echo_source()
set echo-source interface
Definition at line 83 of file bfd_udp.c.