Go to the source code of this file.
◆ foreach_vnet_hash_fn_types
#define foreach_vnet_hash_fn_types |
Value: _ (ETHERNET, 0, "hash-fn-ethernet") \
Definition at line 11 of file hash.h.
◆ VNET_REGISTER_HASH_FUNCTION
#define VNET_REGISTER_HASH_FUNCTION |
( |
|
x, |
|
|
|
... |
|
) |
| |
Value:
static void __clib_constructor __vnet_hash_function_registration_##x (void) \
{ \
hm->hash_registrations = &__vnet_hash_function_##x; \
} \
Definition at line 42 of file hash.h.
◆ vnet_hash_fn_t
typedef void(* vnet_hash_fn_t) (void **p, u32 *h, u32 n_packets) |
◆ vnet_hash_function_registration_t
◆ vnet_hash_fn_type_t
Enumerator |
---|
VNET_HASH_FN_TYPE_N | |
Definition at line 15 of file hash.h.
◆ vnet_hash_default_function()
select hash func with highest priority
Definition at line 29 of file hash.c.
◆ vnet_hash_function_from_func()
◆ vnet_hash_function_from_name()
◆ format_vnet_hash
◆ vnet_hash_main