FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | phash_key_t |
struct | phash_tabb_t |
struct | phash_tabq_t |
struct | phash_main_t |
Macros | |
#define | PHASH_FLAG_MIX64 (1 << 0) |
#define | PHASH_FLAG_MIX32 (0 << 0) |
#define | PHASH_FLAG_USE_SCRAMBLE (1 << 1) |
#define | PHASH_FLAG_SLOW_MODE (0 << 2) |
#define | PHASH_FLAG_FAST_MODE (1 << 2) |
#define | PHASH_FLAG_NON_MINIMAL (0 << 3) |
#define | PHASH_FLAG_MINIMAL (1 << 3) |
Functions | |
static void | phash_tabb_free (phash_tabb_t *b) |
static void | phash_main_free_working_memory (phash_main_t *pm) |
static void | phash_main_free (phash_main_t *pm) |
uword | phash_hash_slow (phash_main_t *pm, uword key) |
clib_error_t * | phash_find_perfect_hash (phash_main_t *pm) |
clib_error_t * | phash_validate (phash_main_t *pm) |
int | phash_test_main (unformat_input_t *input) |
clib_error_t* phash_find_perfect_hash | ( | phash_main_t * | pm | ) |
uword phash_hash_slow | ( | phash_main_t * | pm, |
uword | key | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
int phash_test_main | ( | unformat_input_t * | input | ) |
clib_error_t* phash_validate | ( | phash_main_t * | pm | ) |