FD.io VPP  v16.09
Vector Packet Processing
adj_alloc.c File Reference
+ Include dependency graph for adj_alloc.c:

Go to the source code of this file.

Functions

static int will_reallocate (ip_adjacency_t *adjs, u32 n)
 
ip_adjacency_taa_alloc (ip_adjacency_t *adjs, ip_adjacency_t **blockp, u32 n)
 
void aa_free (ip_adjacency_t *adjs, ip_adjacency_t *adj)
 
ip_adjacency_taa_bootstrap (ip_adjacency_t *adjs, u32 n)
 
u8format_adjacency_alloc (u8 *s, va_list *args)
 
static clib_error_tshow_adjacency_alloc_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t show_adjacency_alloc_command
 (constructor) VLIB_CLI_COMMAND (show_adjacency_alloc_command) More...
 

Function Documentation

ip_adjacency_t* aa_alloc ( ip_adjacency_t adjs,
ip_adjacency_t **  blockp,
u32  n 
)

Definition at line 48 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ip_adjacency_t* aa_bootstrap ( ip_adjacency_t adjs,
u32  n 
)

Definition at line 116 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void aa_free ( ip_adjacency_t adjs,
ip_adjacency_t adj 
)

Definition at line 104 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_adjacency_alloc ( u8 s,
va_list *  args 
)

Definition at line 142 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* show_adjacency_alloc_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 202 of file adj_alloc.c.

+ Here is the call graph for this function:

static int will_reallocate ( ip_adjacency_t adjs,
u32  n 
)
inlinestatic

Definition at line 24 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t show_adjacency_alloc_command
static
Initial value:
= {
.path = "show adjacency alloc",
.short_help = "show adjacency alloc",
}
static clib_error_t * show_adjacency_alloc_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: adj_alloc.c:202

(constructor) VLIB_CLI_COMMAND (show_adjacency_alloc_command)

Definition at line 237 of file adj_alloc.c.