FD.io VPP  v16.06
Vector Packet Processing
bihash_template.h File Reference
+ Include dependency graph for bihash_template.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_bihash_bucket_t
 
struct  BVT
 

Macros

#define BV(a)   __bv(a,BIHASH_TYPE)
 
#define BVT(a)   __bvt(a,BIHASH_TYPE)
 

Functions

struct BV (clib_bihash_value)
 
 BVT (clib_bihash_value)
 
static void *BV() clib_bihash_get_value (BVT(clib_bihash)*h, uword offset)
 
static uword BV() clib_bihash_get_offset (BVT(clib_bihash)*h, void *v)
 
void BV() clib_bihash_init (BVT(clib_bihash)*h, char *name, u32 nbuckets, uword memory_size)
 
void BV() clib_bihash_free (BVT(clib_bihash)*h)
 
int BV() clib_bihash_add_del (BVT(clib_bihash)*h, BVT(clib_bihash_kv)*add_v, int is_add)
 
int BV() clib_bihash_search (BVT(clib_bihash)*h, BVT(clib_bihash_kv)*search_v, BVT(clib_bihash_kv)*return_v)
 
void BV() clib_bihash_foreach_key_value_pair (BVT(clib_bihash)*h, void *callback, void *arg)
 
format_function_t BV (format_bihash)
 
format_function_t BV (format_bihash_kvp)
 
static int BV() clib_bihash_search_inline (BVT(clib_bihash)*h, BVT(clib_bihash_kv)*kvp)
 
static int BV() clib_bihash_search_inline_2 (BVT(clib_bihash)*h, BVT(clib_bihash_kv)*search_key, BVT(clib_bihash_kv)*valuep)
 

Macro Definition Documentation

#define BV (   a)    __bv(a,BIHASH_TYPE)

Definition at line 34 of file bihash_template.h.

#define BVT (   a)    __bvt(a,BIHASH_TYPE)

Definition at line 38 of file bihash_template.h.

Function Documentation

format_function_t BV ( format_bihash_kvp  )
struct BV ( clib_bihash_value  )

Definition at line 40 of file bihash_template.h.

BVT ( clib_bihash_value  )
int BV() clib_bihash_add_del ( BVT(clib_bihash)*  h,
BVT(clib_bihash_kv)*  add_v,
int  is_add 
)

Definition at line 188 of file bihash_template.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void BV() clib_bihash_foreach_key_value_pair ( BVT(clib_bihash)*  h,
void callback,
void arg 
)

Definition at line 427 of file bihash_template.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void BV() clib_bihash_free ( BVT(clib_bihash)*  h)

Definition at line 38 of file bihash_template.c.

+ Here is the caller graph for this function:

static uword BV() clib_bihash_get_offset ( BVT(clib_bihash)*  h,
void v 
)
inlinestatic

Definition at line 92 of file bihash_template.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* BV() clib_bihash_get_value ( BVT(clib_bihash)*  h,
uword  offset 
)
inlinestatic

Definition at line 84 of file bihash_template.h.

+ Here is the caller graph for this function:

void BV() clib_bihash_init ( BVT(clib_bihash)*  h,
char *  name,
u32  nbuckets,
uword  memory_size 
)

Definition at line 17 of file bihash_template.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int BV() clib_bihash_search ( BVT(clib_bihash)*  h,
BVT(clib_bihash_kv)*  search_v,
BVT(clib_bihash_kv)*  return_v 
)

Definition at line 328 of file bihash_template.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int BV() clib_bihash_search_inline ( BVT(clib_bihash)*  h,
BVT(clib_bihash_kv)*  kvp 
)
inlinestatic

Definition at line 125 of file bihash_template.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int BV() clib_bihash_search_inline_2 ( BVT(clib_bihash)*  h,
BVT(clib_bihash_kv)*  search_key,
BVT(clib_bihash_kv)*  valuep 
)
inlinestatic

Definition at line 160 of file bihash_template.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: