Go to the source code of this file.
|
static u32 | load_partial_u32 (void *d, uword n) |
|
static u32 | mhash_key_sum_inline (void *data, uword n_data_bytes, u32 seed) |
|
static foreach_mhash_key_size uword | mhash_key_sum_c_string (hash_t *h, uword key) |
|
static uword | mhash_key_equal_c_string (hash_t *h, uword key1, uword key2) |
|
static uword | mhash_key_sum_vec_string (hash_t *h, uword key) |
|
static uword | mhash_key_equal_vec_string (hash_t *h, uword key1, uword key2) |
|
static void | mhash_sanitize_hash_user (mhash_t *mh) |
|
void | mhash_init (mhash_t *h, uword n_value_bytes, uword n_key_bytes) |
|
static uword | mhash_set_tmp_key (mhash_t *h, const void *key) |
|
hash_pair_t * | mhash_get_pair (mhash_t *h, const void *key) |
|
uword | mhash_set_mem (mhash_t *h, void *key, uword *new_value, uword *old_value) |
|
uword | mhash_unset (mhash_t *h, void *key, uword *old_value) |
|
u8 * | format_mhash_key (u8 *s, va_list *va) |
|
#define foreach_mhash_key_size |
Value:_ (2) _ (3) _ (4) _ (5) _ (6) _ (7) \
_ (8) _ (12) _ (16) _ (20) \
_ (24) _ (28) _ (32) _ (36) \
_ (40) _ (44) _ (48) _ (52) \
_ (56) _ (60) _ (64)
Definition at line 93 of file mhash.c.
u8* format_mhash_key |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
static u32 load_partial_u32 |
( |
void * |
d, |
|
|
uword |
n |
|
) |
| |
|
inlinestatic |
static u32 mhash_key_sum_inline |
( |
void * |
data, |
|
|
uword |
n_data_bytes, |
|
|
u32 |
seed |
|
) |
| |
|
inlinestatic |
static void mhash_sanitize_hash_user |
( |
mhash_t * |
mh | ) |
|
|
inlinestatic |
static uword mhash_set_tmp_key |
( |
mhash_t * |
h, |
|
|
const void * |
key |
|
) |
| |
|
static |