FD.io VPP
v19.04-6-g6f05f72
Vector Packet Processing
|
BFD protocol implementation. More...
Go to the source code of this file.
Macros | |
#define | F(t, l, n, s) |
#define | F(t, l, n, s) |
#define | F(n, t, s) |
#define | F(n, t, s) |
Functions | |
u8 | bfd_pkt_get_version (const bfd_pkt_t *pkt) |
void | bfd_pkt_set_version (bfd_pkt_t *pkt, int version) |
u8 | bfd_pkt_get_diag_code (const bfd_pkt_t *pkt) |
void | bfd_pkt_set_diag_code (bfd_pkt_t *pkt, int value) |
u8 | bfd_pkt_get_state (const bfd_pkt_t *pkt) |
void | bfd_pkt_set_state (bfd_pkt_t *pkt, int value) |
u8 | bfd_pkt_get_poll (const bfd_pkt_t *pkt) |
void | bfd_pkt_set_poll (bfd_pkt_t *pkt) |
u8 | bfd_pkt_get_final (const bfd_pkt_t *pkt) |
void | bfd_pkt_set_final (bfd_pkt_t *pkt) |
u8 | bfd_pkt_get_control_plane_independent (const bfd_pkt_t *pkt) |
u8 | bfd_pkt_get_auth_present (const bfd_pkt_t *pkt) |
void | bfd_pkt_set_auth_present (bfd_pkt_t *pkt) |
u8 | bfd_pkt_get_demand (const bfd_pkt_t *pkt) |
u8 | bfd_pkt_get_multipoint (const bfd_pkt_t *pkt) |
u32 | bfd_max_key_len_for_auth_type (bfd_auth_type_e auth_type) |
get the maximum length of key data for given auth type More... | |
const char * | bfd_auth_type_str (bfd_auth_type_e auth_type) |
const char * | bfd_diag_code_string (bfd_diag_code_e diag) |
const char * | bfd_state_string (bfd_state_e state) |
BFD protocol implementation.
Definition in file bfd_protocol.c.
#define F | ( | t, | |
l, | |||
n, | |||
s | |||
) |
#define F | ( | t, | |
l, | |||
n, | |||
s | |||
) |
#define F | ( | n, | |
t, | |||
s | |||
) |
#define F | ( | n, | |
t, | |||
s | |||
) |
const char* bfd_auth_type_str | ( | bfd_auth_type_e | auth_type | ) |
const char* bfd_diag_code_string | ( | bfd_diag_code_e | diag | ) |
u32 bfd_max_key_len_for_auth_type | ( | bfd_auth_type_e | auth_type | ) |
get the maximum length of key data for given auth type
Definition at line 138 of file bfd_protocol.c.
u8 bfd_pkt_get_auth_present | ( | const bfd_pkt_t * | pkt | ) |
u8 bfd_pkt_get_control_plane_independent | ( | const bfd_pkt_t * | pkt | ) |
Definition at line 84 of file bfd_protocol.c.
u8 bfd_pkt_get_demand | ( | const bfd_pkt_t * | pkt | ) |
Definition at line 110 of file bfd_protocol.c.
u8 bfd_pkt_get_diag_code | ( | const bfd_pkt_t * | pkt | ) |
u8 bfd_pkt_get_final | ( | const bfd_pkt_t * | pkt | ) |
u8 bfd_pkt_get_multipoint | ( | const bfd_pkt_t * | pkt | ) |
Definition at line 124 of file bfd_protocol.c.
u8 bfd_pkt_get_poll | ( | const bfd_pkt_t * | pkt | ) |
u8 bfd_pkt_get_state | ( | const bfd_pkt_t * | pkt | ) |
u8 bfd_pkt_get_version | ( | const bfd_pkt_t * | pkt | ) |
void bfd_pkt_set_auth_present | ( | bfd_pkt_t * | pkt | ) |
void bfd_pkt_set_diag_code | ( | bfd_pkt_t * | pkt, |
int | value | ||
) |
void bfd_pkt_set_final | ( | bfd_pkt_t * | pkt | ) |
void bfd_pkt_set_poll | ( | bfd_pkt_t * | pkt | ) |
void bfd_pkt_set_state | ( | bfd_pkt_t * | pkt, |
int | value | ||
) |
void bfd_pkt_set_version | ( | bfd_pkt_t * | pkt, |
int | version | ||
) |
const char* bfd_state_string | ( | bfd_state_e | state | ) |