BFD protocol implementation.
More...
Go to the source code of this file.
|
#define | F(t, l, n, s) |
|
#define | F(t, l, n, s) |
|
#define | F(n, t, s) |
|
#define | F(n, t, s) |
|
BFD protocol implementation.
Definition in file bfd_protocol.c.
◆ F [1/4]
Value:if (auth_type == t) \
{ \
return l; \
}
◆ F [2/4]
Value:if (auth_type == t) \
{ \
return s; \
}
◆ F [3/4]
Value: return s;
#define BFD_DIAG_CODE_NAME(t)
◆ F [4/4]
Value: return s;
#define BFD_STATE_NAME(t)
◆ bfd_auth_type_str()
◆ bfd_diag_code_string()
◆ bfd_max_key_len_for_auth_type()
get the maximum length of key data for given auth type
Definition at line 138 of file bfd_protocol.c.
◆ bfd_pkt_get_auth_present()
u8 bfd_pkt_get_auth_present |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_control_plane_independent()
u8 bfd_pkt_get_control_plane_independent |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_demand()
u8 bfd_pkt_get_demand |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_diag_code()
u8 bfd_pkt_get_diag_code |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_final()
u8 bfd_pkt_get_final |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_multipoint()
u8 bfd_pkt_get_multipoint |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_poll()
u8 bfd_pkt_get_poll |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_state()
u8 bfd_pkt_get_state |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_get_version()
u8 bfd_pkt_get_version |
( |
const bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_set_auth_present()
void bfd_pkt_set_auth_present |
( |
bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_set_diag_code()
void bfd_pkt_set_diag_code |
( |
bfd_pkt_t * |
pkt, |
|
|
int |
value |
|
) |
| |
◆ bfd_pkt_set_final()
void bfd_pkt_set_final |
( |
bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_set_poll()
void bfd_pkt_set_poll |
( |
bfd_pkt_t * |
pkt | ) |
|
◆ bfd_pkt_set_state()
void bfd_pkt_set_state |
( |
bfd_pkt_t * |
pkt, |
|
|
int |
value |
|
) |
| |
◆ bfd_pkt_set_version()
void bfd_pkt_set_version |
( |
bfd_pkt_t * |
pkt, |
|
|
int |
version |
|
) |
| |
◆ bfd_state_string()