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) |
|
__clib_export 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) |
|
__clib_export hash_pair_t * | mhash_get_pair (mhash_t *h, const void *key) |
|
__clib_export uword | mhash_set_mem (mhash_t *h, void *key, uword *new_value, uword *old_value) |
|
__clib_export uword | mhash_unset (mhash_t *h, void *key, uword *old_value) |
|
u8 * | format_mhash_key (u8 *s, va_list *va) |
|
◆ foreach_mhash_key_size
#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.
◆ format_mhash_key()
u8* format_mhash_key |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ load_partial_u32()
static u32 load_partial_u32 |
( |
void * |
d, |
|
|
uword |
n |
|
) |
| |
|
inlinestatic |
◆ mhash_get_pair()
◆ mhash_init()
__clib_export void mhash_init |
( |
mhash_t * |
h, |
|
|
uword |
n_value_bytes, |
|
|
uword |
n_key_bytes |
|
) |
| |
◆ mhash_key_equal_c_string()
◆ mhash_key_equal_vec_string()
◆ mhash_key_sum_c_string()
◆ mhash_key_sum_inline()
static u32 mhash_key_sum_inline |
( |
void * |
data, |
|
|
uword |
n_data_bytes, |
|
|
u32 |
seed |
|
) |
| |
|
inlinestatic |
◆ mhash_key_sum_vec_string()
◆ mhash_sanitize_hash_user()
static void mhash_sanitize_hash_user |
( |
mhash_t * |
mh | ) |
|
|
inlinestatic |
◆ mhash_set_mem()
◆ mhash_set_tmp_key()
static uword mhash_set_tmp_key |
( |
mhash_t * |
h, |
|
|
const void * |
key |
|
) |
| |
|
static |
◆ mhash_unset()