16 #ifndef __adj_alloc_h__ 17 #define __adj_alloc_h__ 37 #define aa_aligned_header_bytes \ 38 vec_aligned_header_bytes (sizeof (aa_header_t), sizeof (void *))
format_function_t format_adj_allocation
Definitions for all things IP (v4|v6) unicast and multicast lookup related.
ip_adjacency_t * aa_bootstrap(ip_adjacency_t *adjs, u32 n)
static void * vec_aligned_header(void *v, uword header_bytes, uword align)
void aa_free(ip_adjacency_t *adjs, ip_adjacency_t *adj)
ip_adjacency_t * aa_alloc(ip_adjacency_t *adjs, ip_adjacency_t **blockp, u32 n)
static aa_header_t * aa_header(void *v)
CLIB vectors are ubiquitous dynamically resized arrays with by user defined "headers".