FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef u8 *(* | adj_delegate_format_t) (const adj_delegate_t *aed, u8 *s) |
typedef for printing a delegate More... | |
Functions | |
static adj_delegate_t * | adj_delegate_find_i (const ip_adjacency_t *adj, adj_delegate_type_t type, u32 *index) |
adj_delegate_t * | adj_delegate_get (const ip_adjacency_t *adj, adj_delegate_type_t type) |
void | adj_delegate_remove (ip_adjacency_t *adj, adj_delegate_type_t type) |
static int | adj_delegate_cmp_for_sort (void *v1, void *v2) |
static void | adj_delegate_init (ip_adjacency_t *adj, adj_delegate_type_t type) |
adj_delegate_t * | adj_delegate_find_or_add (ip_adjacency_t *adj, adj_delegate_type_t adt) |
static u8 * | adj_delegate_fmt_bfd (const adj_delegate_t *aed, u8 *s) |
Print a delegate that represents BFD tracking. More... | |
u8 * | format_adj_deletegate (u8 *s, va_list *args) |
Variables | |
static adj_delegate_format_t | aed_formatters [] |
A delegate type to formatter map. More... | |
typedef u8*(* adj_delegate_format_t) (const adj_delegate_t *aed, u8 *s) |
typedef for printing a delegate
Definition at line 111 of file adj_delegate.c.
|
static |
|
static |
adj_delegate_t* adj_delegate_find_or_add | ( | ip_adjacency_t * | adj, |
adj_delegate_type_t | adt | ||
) |
Definition at line 93 of file adj_delegate.c.
|
static |
Print a delegate that represents BFD tracking.
Definition at line 118 of file adj_delegate.c.
adj_delegate_t* adj_delegate_get | ( | const ip_adjacency_t * | adj, |
adj_delegate_type_t | type | ||
) |
Definition at line 48 of file adj_delegate.c.
|
static |
Definition at line 78 of file adj_delegate.c.
void adj_delegate_remove | ( | ip_adjacency_t * | adj, |
adj_delegate_type_t | type | ||
) |
Definition at line 55 of file adj_delegate.c.
|
static |
A delegate type to formatter map.
Definition at line 131 of file adj_delegate.c.