FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Data Fields | |
u32 | bs_idx |
index in bfd_main.sessions pool More... | |
bfd_state_e | local_state |
session state More... | |
bfd_state_e | remote_state |
remote session state More... | |
bfd_hop_type_e | hop_type |
BFD hop type. More... | |
bfd_diag_code_e | local_diag |
local diagnostics More... | |
bfd_diag_code_e | remote_diag |
remote diagnostics More... | |
u32 | local_discr |
local discriminator More... | |
u32 | remote_discr |
remote discriminator More... | |
u32 | config_desired_min_tx_usec |
configured desired min tx interval (microseconds) More... | |
u64 | config_desired_min_tx_clocks |
configured desired min tx interval (clocks) More... | |
u64 | effective_desired_min_tx_clocks |
effective desired min tx interval (clocks) More... | |
u32 | config_required_min_rx_usec |
configured required min rx interval (microseconds) More... | |
u64 | config_required_min_rx_clocks |
configured required min rx interval (clocks) More... | |
u64 | effective_required_min_rx_clocks |
effective required min rx interval (clocks) More... | |
u64 | remote_min_rx_usec |
remote min rx interval (microseconds) More... | |
u64 | remote_min_rx_clocks |
remote min rx interval (clocks) More... | |
u64 | remote_min_echo_rx_usec |
remote min echo rx interval (microseconds) More... | |
u64 | remote_min_echo_rx_clocks |
remote min echo rx interval (clocks) More... | |
u64 | remote_desired_min_tx_clocks |
remote desired min tx interval (clocks) More... | |
u8 | local_detect_mult |
configured detect multiplier More... | |
u8 | remote_demand |
1 if remote system sets demand mode, 0 otherwise More... | |
u8 | remote_detect_mult |
remote detect multiplier More... | |
u8 | echo |
1 is echo function is active, 0 otherwise More... | |
u64 | wheel_time_clocks |
set to value of timer in timing wheel, 0 if never set More... | |
u64 | transmit_interval_clocks |
transmit interval More... | |
u64 | tx_timeout_clocks |
next time at which to transmit a packet More... | |
u64 | last_tx_clocks |
timestamp of last packet transmitted More... | |
u64 | last_rx_clocks |
timestamp of last packet received More... | |
u64 | echo_transmit_interval_clocks |
transmit interval for echo packets More... | |
u64 | echo_tx_timeout_clocks |
next time at which to transmit echo packet More... | |
u64 | echo_last_tx_clocks |
timestamp of last echo packet transmitted More... | |
u64 | echo_last_rx_clocks |
timestamp of last echo packet received More... | |
u32 | echo_secret |
secret used for calculating/checking checksum of echo packets More... | |
u64 | detection_time_clocks |
detection time More... | |
bfd_poll_state_e | poll_state |
state info regarding poll sequence More... | |
u64 | poll_state_start_or_timeout_clocks |
helper for delayed poll sequence - marks either start of running poll sequence or timeout, after which we can start the next poll sequnce More... | |
struct { | |
bfd_auth_key_t * curr_key | |
current key in use More... | |
bfd_auth_key_t * next_key | |
set to next key to use if delayed switch is enabled - in that case the key is switched when first incoming packet is signed with next_key More... | |
u32 local_seq_number | |
sequence number incremented occasionally or always (if meticulous) More... | |
u32 remote_seq_number | |
remote sequence number More... | |
u8 remote_seq_number_known | |
set to 1 if remote sequence number is known More... | |
u8 curr_bfd_key_id | |
current key ID sent out in bfd packet More... | |
u8 next_bfd_key_id | |
key ID to use when switched to next_key More... | |
u8 is_delayed | |
set to 1 if delayed action is pending, which might be activation of authentication, change of key or deactivation More... | |
} | auth |
authentication information More... | |
bfd_transport_e | transport |
transport type for this session More... | |
union { | |
bfd_udp_session_t udp | |
}; | |
union of transport-specific data More... | |
Definition at line 85 of file bfd_main.h.
union { ... } |
union of transport-specific data
struct { ... } bfd_session_s::auth |
authentication information
u32 bfd_session_s::bs_idx |
index in bfd_main.sessions pool
Definition at line 88 of file bfd_main.h.
u64 bfd_session_s::config_desired_min_tx_clocks |
configured desired min tx interval (clocks)
Definition at line 115 of file bfd_main.h.
u32 bfd_session_s::config_desired_min_tx_usec |
configured desired min tx interval (microseconds)
Definition at line 112 of file bfd_main.h.
u64 bfd_session_s::config_required_min_rx_clocks |
configured required min rx interval (clocks)
Definition at line 124 of file bfd_main.h.
u32 bfd_session_s::config_required_min_rx_usec |
configured required min rx interval (microseconds)
Definition at line 121 of file bfd_main.h.
u8 bfd_session_s::curr_bfd_key_id |
current key ID sent out in bfd packet
Definition at line 220 of file bfd_main.h.
bfd_auth_key_t* bfd_session_s::curr_key |
current key in use
Definition at line 202 of file bfd_main.h.
u64 bfd_session_s::detection_time_clocks |
detection time
Definition at line 187 of file bfd_main.h.
u8 bfd_session_s::echo |
1 is echo function is active, 0 otherwise
Definition at line 154 of file bfd_main.h.
u64 bfd_session_s::echo_last_rx_clocks |
timestamp of last echo packet received
Definition at line 181 of file bfd_main.h.
u64 bfd_session_s::echo_last_tx_clocks |
timestamp of last echo packet transmitted
Definition at line 178 of file bfd_main.h.
u32 bfd_session_s::echo_secret |
secret used for calculating/checking checksum of echo packets
Definition at line 184 of file bfd_main.h.
u64 bfd_session_s::echo_transmit_interval_clocks |
transmit interval for echo packets
Definition at line 172 of file bfd_main.h.
u64 bfd_session_s::echo_tx_timeout_clocks |
next time at which to transmit echo packet
Definition at line 175 of file bfd_main.h.
u64 bfd_session_s::effective_desired_min_tx_clocks |
effective desired min tx interval (clocks)
Definition at line 118 of file bfd_main.h.
u64 bfd_session_s::effective_required_min_rx_clocks |
effective required min rx interval (clocks)
Definition at line 127 of file bfd_main.h.
bfd_hop_type_e bfd_session_s::hop_type |
BFD hop type.
Definition at line 97 of file bfd_main.h.
u8 bfd_session_s::is_delayed |
set to 1 if delayed action is pending, which might be activation of authentication, change of key or deactivation
Definition at line 229 of file bfd_main.h.
u64 bfd_session_s::last_rx_clocks |
timestamp of last packet received
Definition at line 169 of file bfd_main.h.
u64 bfd_session_s::last_tx_clocks |
timestamp of last packet transmitted
Definition at line 166 of file bfd_main.h.
u8 bfd_session_s::local_detect_mult |
configured detect multiplier
Definition at line 145 of file bfd_main.h.
bfd_diag_code_e bfd_session_s::local_diag |
local diagnostics
Definition at line 100 of file bfd_main.h.
u32 bfd_session_s::local_discr |
local discriminator
Definition at line 106 of file bfd_main.h.
u32 bfd_session_s::local_seq_number |
sequence number incremented occasionally or always (if meticulous)
Definition at line 211 of file bfd_main.h.
bfd_state_e bfd_session_s::local_state |
session state
Definition at line 91 of file bfd_main.h.
u8 bfd_session_s::next_bfd_key_id |
key ID to use when switched to next_key
Definition at line 223 of file bfd_main.h.
bfd_auth_key_t* bfd_session_s::next_key |
set to next key to use if delayed switch is enabled - in that case the key is switched when first incoming packet is signed with next_key
Definition at line 208 of file bfd_main.h.
bfd_poll_state_e bfd_session_s::poll_state |
state info regarding poll sequence
Definition at line 190 of file bfd_main.h.
u64 bfd_session_s::poll_state_start_or_timeout_clocks |
helper for delayed poll sequence - marks either start of running poll sequence or timeout, after which we can start the next poll sequnce
Definition at line 196 of file bfd_main.h.
u8 bfd_session_s::remote_demand |
1 if remote system sets demand mode, 0 otherwise
Definition at line 148 of file bfd_main.h.
u64 bfd_session_s::remote_desired_min_tx_clocks |
remote desired min tx interval (clocks)
Definition at line 142 of file bfd_main.h.
u8 bfd_session_s::remote_detect_mult |
remote detect multiplier
Definition at line 151 of file bfd_main.h.
bfd_diag_code_e bfd_session_s::remote_diag |
remote diagnostics
Definition at line 103 of file bfd_main.h.
u32 bfd_session_s::remote_discr |
remote discriminator
Definition at line 109 of file bfd_main.h.
u64 bfd_session_s::remote_min_echo_rx_clocks |
remote min echo rx interval (clocks)
Definition at line 139 of file bfd_main.h.
u64 bfd_session_s::remote_min_echo_rx_usec |
remote min echo rx interval (microseconds)
Definition at line 136 of file bfd_main.h.
u64 bfd_session_s::remote_min_rx_clocks |
remote min rx interval (clocks)
Definition at line 133 of file bfd_main.h.
u64 bfd_session_s::remote_min_rx_usec |
remote min rx interval (microseconds)
Definition at line 130 of file bfd_main.h.
u32 bfd_session_s::remote_seq_number |
remote sequence number
Definition at line 214 of file bfd_main.h.
u8 bfd_session_s::remote_seq_number_known |
set to 1 if remote sequence number is known
Definition at line 217 of file bfd_main.h.
bfd_state_e bfd_session_s::remote_state |
remote session state
Definition at line 94 of file bfd_main.h.
u64 bfd_session_s::transmit_interval_clocks |
transmit interval
Definition at line 160 of file bfd_main.h.
bfd_transport_e bfd_session_s::transport |
transport type for this session
Definition at line 233 of file bfd_main.h.
u64 bfd_session_s::tx_timeout_clocks |
next time at which to transmit a packet
Definition at line 163 of file bfd_main.h.
bfd_udp_session_t bfd_session_s::udp |
Definition at line 238 of file bfd_main.h.
u64 bfd_session_s::wheel_time_clocks |
set to value of timer in timing wheel, 0 if never set
Definition at line 157 of file bfd_main.h.