FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | clib_bihash_kv_8_8_t |
8 octet key, 8 octet key value pair More... | |
Macros | |
#define | BIHASH_TYPE _8_8 |
#define | BIHASH_KVP_PER_PAGE 4 |
#define | BIHASH_KVP_CACHE_SIZE 0 |
Functions | |
static int | clib_bihash_is_free_8_8 (clib_bihash_kv_8_8_t *v) |
Decide if a clib_bihash_kv_8_8_t instance is free. More... | |
static u64 | clib_bihash_hash_8_8 (clib_bihash_kv_8_8_t *v) |
Hash a clib_bihash_kv_8_8_t instance. More... | |
static u8 * | format_bihash_kvp_8_8 (u8 *s, va_list *args) |
Format a clib_bihash_kv_8_8_t instance. More... | |
static int | clib_bihash_key_compare_8_8 (u64 a, u64 b) |
Compare two clib_bihash_kv_8_8_t instances. More... | |
#define BIHASH_KVP_CACHE_SIZE 0 |
Definition at line 21 of file bihash_8_8.h.
#define BIHASH_KVP_PER_PAGE 4 |
Definition at line 20 of file bihash_8_8.h.
#define BIHASH_TYPE _8_8 |
Definition at line 19 of file bihash_8_8.h.
|
inlinestatic |
Hash a clib_bihash_kv_8_8_t instance.
v | - pointer to the (key,value) pair, hash the key (only) |
Definition at line 54 of file bihash_8_8.h.
|
inlinestatic |
Decide if a clib_bihash_kv_8_8_t instance is free.
v- | pointer to the (key,value) pair |
Definition at line 43 of file bihash_8_8.h.
Compare two clib_bihash_kv_8_8_t instances.
a | - first key |
b | - second key |
Definition at line 83 of file bihash_8_8.h.
Format a clib_bihash_kv_8_8_t instance.
s | - u8 * vector under construction |
args | (vararg) - the (key,value) pair to format |
Definition at line 70 of file bihash_8_8.h.