FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
slist.c File Reference
+ Include dependency graph for slist.c:

Go to the source code of this file.

Functions

clib_error_tclib_slist_init (clib_slist_t *sp, f64 branching_factor, clib_slist_key_compare_function_t compare, format_function_t format_user_element)
 
static clib_slist_search_result_t slist_search_internal (clib_slist_t *sp, void *key, int need_full_path)
 
u32 clib_slist_search (clib_slist_t *sp, void *key, u32 *ncompares)
 
void clib_slist_add (clib_slist_t *sp, void *key, u32 user_pool_index)
 
clib_slist_search_result_t clib_slist_del (clib_slist_t *sp, void *key)
 
u8format_slist (u8 *s, va_list *args)
 

Function Documentation

◆ clib_slist_add()

void clib_slist_add ( clib_slist_t sp,
void *  key,
u32  user_pool_index 
)

Definition at line 191 of file slist.c.

+ Here is the call graph for this function:

◆ clib_slist_del()

clib_slist_search_result_t clib_slist_del ( clib_slist_t sp,
void *  key 
)

Definition at line 250 of file slist.c.

+ Here is the call graph for this function:

◆ clib_slist_init()

clib_error_t* clib_slist_init ( clib_slist_t sp,
f64  branching_factor,
clib_slist_key_compare_function_t  compare,
format_function_t  format_user_element 
)

Definition at line 52 of file slist.c.

+ Here is the call graph for this function:

◆ clib_slist_search()

u32 clib_slist_search ( clib_slist_t sp,
void *  key,
u32 ncompares 
)

Definition at line 174 of file slist.c.

+ Here is the call graph for this function:

◆ format_slist()

u8* format_slist ( u8 s,
va_list *  args 
)

Definition at line 289 of file slist.c.

+ Here is the call graph for this function:

◆ slist_search_internal()

static clib_slist_search_result_t slist_search_internal ( clib_slist_t sp,
void *  key,
int  need_full_path 
)
inlinestatic

Definition at line 75 of file slist.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: