FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | adj_midchain_delegate_t_ |
Midchain stacker delegate. More... | |
Typedefs | |
typedef struct adj_midchain_delegate_t_ | adj_midchain_delegate_t |
Midchain stacker delegate. More... | |
Functions | |
static const adj_midchain_delegate_t * | adj_midchain_from_const_base (const adj_delegate_t *ad) |
static void | adj_midchain_delegate_restack_i (adj_index_t ai, adj_midchain_delegate_t *amd) |
void | adj_midchain_delegate_restack (adj_index_t ai) |
restack a midchain delegate More... | |
void | adj_midchain_delegate_stack (adj_index_t ai, u32 fib_index, const fib_prefix_t *pfx) |
create/attach a midchain delegate and stack it on the prefix passed More... | |
void | adj_midchain_delegate_unstack (adj_index_t ai) |
unstack a midchain delegate (this stacks it on a drop) More... | |
static void | adj_midchain_delegate_adj_deleted (adj_delegate_t *ad) |
static u8 * | adj_midchain_delegate_fmt (const adj_delegate_t *aed, u8 *s) |
Print a delegate that represents MIDCHAIN tracking. More... | |
static clib_error_t * | adj_midchain_delegate_module_init (vlib_main_t *vm) |
Variables | |
static adj_midchain_delegate_t * | amd_pool |
Pool of delegates. More... | |
static const adj_delegate_vft_t | adj_delegate_vft |
typedef struct adj_midchain_delegate_t_ adj_midchain_delegate_t |
Midchain stacker delegate.
|
static |
|
static |
Print a delegate that represents MIDCHAIN tracking.
Definition at line 156 of file adj_midchain_delegate.c.
|
static |
void adj_midchain_delegate_restack | ( | adj_index_t | ai | ) |
restack a midchain delegate
Definition at line 76 of file adj_midchain_delegate.c.
|
static |
Definition at line 53 of file adj_midchain_delegate.c.
void adj_midchain_delegate_stack | ( | adj_index_t | ai, |
u32 | fib_index, | ||
const fib_prefix_t * | pfx | ||
) |
create/attach a midchain delegate and stack it on the prefix passed
ai | - the index of the adjacency to stack |
fib_index | - The FIB index of the prefix on which to stack |
pfx | - The prefix on which to stack |
Definition at line 101 of file adj_midchain_delegate.c.
void adj_midchain_delegate_unstack | ( | adj_index_t | ai | ) |
unstack a midchain delegate (this stacks it on a drop)
Definition at line 135 of file adj_midchain_delegate.c.
|
inlinestatic |
|
static |
Definition at line 165 of file adj_midchain_delegate.c.
|
static |
Pool of delegates.
Definition at line 40 of file adj_midchain_delegate.c.