FD.io VPP  v16.12-rc0-171-g5499b19
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 (void)
 
void aa_free (ip_adjacency_t *adj)
 
void aa_bootstrap (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

ip_adjacency_tadj_heap
 The global adjacnecy heap. More...
 
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 ( void  )

Definition at line 52 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void aa_bootstrap ( u32  n)

Definition at line 126 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 adj)

Definition at line 115 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 153 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 211 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 28 of file adj_alloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

ip_adjacency_t* adj_heap

The global adjacnecy heap.

Exposed for fast/inline data-plane access

Definition at line 22 of file adj_alloc.c.

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:211

(constructor) VLIB_CLI_COMMAND (show_adjacency_alloc_command)

Definition at line 232 of file adj_alloc.c.