FD.io VPP  v16.12-rc0-171-g5499b19
Vector Packet Processing
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
adj_alloc.h File Reference
+ Include dependency graph for adj_alloc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  aa_header_t
 Adjacency allocator: heap-like in that the code will dole out contiguous chunks of n items. More...
 

Macros

#define aa_aligned_header_bytes   vec_aligned_header_bytes (sizeof (aa_header_t), sizeof (void *))
 

Functions

static aa_header_taa_header (void *v)
 
ip_adjacency_taa_alloc (void)
 
void aa_free (ip_adjacency_t *adj)
 
void aa_bootstrap (u32 n)
 

Variables

format_function_t format_adj_allocation
 

Macro Definition Documentation

#define aa_aligned_header_bytes   vec_aligned_header_bytes (sizeof (aa_header_t), sizeof (void *))

Definition at line 38 of file adj_alloc.h.

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:

static aa_header_t* aa_header ( void *  v)
inlinestatic

Definition at line 42 of file adj_alloc.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

format_function_t format_adj_allocation

Definition at line 51 of file adj_alloc.h.