|
static u64 | bfd_us_to_clocks (bfd_main_t *bm, u64 us) |
|
static void | bfd_on_state_change (bfd_main_t *bm, bfd_session_t *bs, u64 now, int handling_wakeup) |
|
static void | bfd_set_defaults (bfd_main_t *bm, bfd_session_t *bs) |
|
static void | bfd_set_diag (bfd_session_t *bs, bfd_diag_code_e code) |
|
static void | bfd_set_state (bfd_main_t *bm, bfd_session_t *bs, bfd_state_e new_state, int handling_wakeup) |
|
static void | bfd_recalc_tx_interval (bfd_main_t *bm, bfd_session_t *bs) |
|
static void | bfd_calc_next_tx (bfd_main_t *bm, bfd_session_t *bs, u64 now) |
|
static void | bfd_recalc_detection_time (bfd_main_t *bm, bfd_session_t *bs) |
|
static void | bfd_set_timer (bfd_main_t *bm, bfd_session_t *bs, u64 now, int handling_wakeup) |
|
static void | bfd_set_desired_min_tx (bfd_main_t *bm, bfd_session_t *bs, u64 now, u32 desired_min_tx_us, int handling_wakeup) |
|
static void | bfd_set_remote_required_min_rx (bfd_main_t *bm, bfd_session_t *bs, u64 now, u32 remote_required_min_rx_us, int handling_wakeup) |
|
void | bfd_session_start (bfd_main_t *bm, bfd_session_t *bs) |
|
vnet_api_error_t | bfd_del_session (uword bs_idx) |
|
const char * | bfd_diag_code_string (bfd_diag_code_e diag) |
|
const char * | bfd_state_string (bfd_state_e state) |
|
vnet_api_error_t | bfd_session_set_flags (u32 bs_idx, u8 admin_up_down) |
|
u8 * | bfd_input_format_trace (u8 *s, va_list *args) |
|
static void | bfd_add_transport_layer (vlib_main_t *vm, vlib_buffer_t *b, bfd_session_t *bs) |
|
static vlib_buffer_t * | bfd_create_frame (vlib_main_t *vm, vlib_node_runtime_t *rt, bfd_session_t *bs) |
|
static void | bfd_init_control_frame (vlib_buffer_t *b, bfd_session_t *bs) |
|
static void | bfd_send_periodic (vlib_main_t *vm, vlib_node_runtime_t *rt, bfd_main_t *bm, bfd_session_t *bs, u64 now, int handling_wakeup) |
|
void | bfd_send_final (vlib_main_t *vm, vlib_buffer_t *b, bfd_session_t *bs) |
|
static void | bfd_check_rx_timeout (bfd_main_t *bm, bfd_session_t *bs, u64 now, int handling_wakeup) |
|
void | bfd_on_timeout (vlib_main_t *vm, vlib_node_runtime_t *rt, bfd_main_t *bm, bfd_session_t *bs, u64 now) |
|
static uword | bfd_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static clib_error_t * | bfd_sw_interface_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (bfd_sw_interface_up_down) |
|
static clib_error_t * | bfd_hw_interface_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (bfd_hw_interface_up_down) |
|
static clib_error_t * | bfd_main_init (vlib_main_t *vm) |
|
bfd_session_t * | bfd_get_session (bfd_main_t *bm, bfd_transport_t t) |
|
void | bfd_put_session (bfd_main_t *bm, bfd_session_t *bs) |
|
bfd_session_t * | bfd_find_session_by_idx (bfd_main_t *bm, uword bs_idx) |
|
bfd_session_t * | bfd_find_session_by_disc (bfd_main_t *bm, u32 disc) |
|
int | bfd_verify_pkt_common (const bfd_pkt_t *pkt) |
| verify bfd packet - common checks More...
|
|
int | bfd_verify_pkt_session (const bfd_pkt_t *pkt, u16 pkt_size, const bfd_session_t *bs) |
| verify bfd packet - authentication More...
|
|
void | bfd_consume_pkt (bfd_main_t *bm, const bfd_pkt_t *pkt, u32 bs_idx) |
|
u8 * | format_bfd_session (u8 *s, va_list *args) |
|
BFD nodes implementation.
Definition in file bfd_main.c.