FD.io VPP  v21.01.1
Vector Packet Processing
bfd_main_t Struct Reference
+ Collaboration diagram for bfd_main_t:

Public Member Functions

 TWT (tw_timer_wheel) wheel
 timing wheel for scheduling timeouts More...
 

Data Fields

clib_spinlock_t lock
 lock to protect data structures More...
 
int lock_recursion_count
 
uword owner_thread_index
 
int bfd_process_wakeup_events_in_flight
 Number of event wakeup RPCs in flight. More...
 
u64 bfd_process_wakeup_event_start_nsec
 The timestamp of last wakeup event being sent. More...
 
u64 bfd_process_wakeup_event_delay_nsec
 The time it took the last wakeup event to make it to handling. More...
 
u64 bfd_process_next_wakeup_nsec
 When the bfd process is supposed to wake up next. More...
 
bfd_session_tsessions
 pool of bfd sessions context data More...
 
u32session_by_disc
 hashmap - bfd session by discriminator More...
 
u32 bfd_process_node_index
 background process node index More...
 
vlib_main_tvlib_main
 convenience variables More...
 
vnet_main_tvnet_main
 
u64 nsec_per_tw_tick
 how many nanoseconds is one timing wheel tick More...
 
u64 default_desired_min_tx_nsec
 default desired min tx in nsec More...
 
u64 min_required_min_rx_while_echo_nsec
 minimum required min rx while echo function is active - nsec More...
 
u32 random_seed
 for generating random numbers More...
 
bfd_auth_key_tauth_keys
 pool of authentication keys More...
 
u32auth_key_by_conf_key_id
 hashmap - index in pool auth_keys by conf_key_id More...
 
bfd_notify_fn_tlisteners
 vector of callback notification functions More...
 
vlib_log_class_t log_class
 log class More...
 

Detailed Description

Definition at line 265 of file bfd_main.h.

Member Function Documentation

◆ TWT()

bfd_main_t::TWT ( tw_timer_wheel  )

timing wheel for scheduling timeouts

Field Documentation

◆ auth_key_by_conf_key_id

u32* bfd_main_t::auth_key_by_conf_key_id

hashmap - index in pool auth_keys by conf_key_id

Definition at line 316 of file bfd_main.h.

◆ auth_keys

bfd_auth_key_t* bfd_main_t::auth_keys

pool of authentication keys

Definition at line 313 of file bfd_main.h.

◆ bfd_process_next_wakeup_nsec

u64 bfd_main_t::bfd_process_next_wakeup_nsec

When the bfd process is supposed to wake up next.

Definition at line 282 of file bfd_main.h.

◆ bfd_process_node_index

u32 bfd_main_t::bfd_process_node_index

background process node index

Definition at line 294 of file bfd_main.h.

◆ bfd_process_wakeup_event_delay_nsec

u64 bfd_main_t::bfd_process_wakeup_event_delay_nsec

The time it took the last wakeup event to make it to handling.

Definition at line 279 of file bfd_main.h.

◆ bfd_process_wakeup_event_start_nsec

u64 bfd_main_t::bfd_process_wakeup_event_start_nsec

The timestamp of last wakeup event being sent.

Definition at line 276 of file bfd_main.h.

◆ bfd_process_wakeup_events_in_flight

int bfd_main_t::bfd_process_wakeup_events_in_flight

Number of event wakeup RPCs in flight.

Should be 0 or 1

Definition at line 273 of file bfd_main.h.

◆ default_desired_min_tx_nsec

u64 bfd_main_t::default_desired_min_tx_nsec

default desired min tx in nsec

Definition at line 304 of file bfd_main.h.

◆ listeners

bfd_notify_fn_t* bfd_main_t::listeners

vector of callback notification functions

Definition at line 319 of file bfd_main.h.

◆ lock

clib_spinlock_t bfd_main_t::lock

lock to protect data structures

Definition at line 268 of file bfd_main.h.

◆ lock_recursion_count

int bfd_main_t::lock_recursion_count

Definition at line 269 of file bfd_main.h.

◆ log_class

vlib_log_class_t bfd_main_t::log_class

log class

Definition at line 322 of file bfd_main.h.

◆ min_required_min_rx_while_echo_nsec

u64 bfd_main_t::min_required_min_rx_while_echo_nsec

minimum required min rx while echo function is active - nsec

Definition at line 307 of file bfd_main.h.

◆ nsec_per_tw_tick

u64 bfd_main_t::nsec_per_tw_tick

how many nanoseconds is one timing wheel tick

Definition at line 301 of file bfd_main.h.

◆ owner_thread_index

uword bfd_main_t::owner_thread_index

Definition at line 270 of file bfd_main.h.

◆ random_seed

u32 bfd_main_t::random_seed

for generating random numbers

Definition at line 310 of file bfd_main.h.

◆ session_by_disc

u32* bfd_main_t::session_by_disc

hashmap - bfd session by discriminator

Definition at line 291 of file bfd_main.h.

◆ sessions

bfd_session_t* bfd_main_t::sessions

pool of bfd sessions context data

Definition at line 285 of file bfd_main.h.

◆ vlib_main

vlib_main_t* bfd_main_t::vlib_main

convenience variables

Definition at line 297 of file bfd_main.h.

◆ vnet_main

vnet_main_t* bfd_main_t::vnet_main

Definition at line 298 of file bfd_main.h.


The documentation for this struct was generated from the following file: