16 #undef BIHASH_KVP_PER_PAGE 17 #undef BIHASH_32_64_SVM 18 #undef BIHASH_ENABLE_STATS 20 #define BIHASH_TYPE _8_8_stats 21 #define BIHASH_KVP_PER_PAGE 4 22 #define BIHASH_ENABLE_STATS 1 24 #ifndef __included_bihash_8_8_stats_h__ 25 #define __included_bihash_8_8__stats_h__ 46 if (v->
key == ~0ULL && v->
value == ~0ULL)
58 #ifdef clib_crc32c_uses_intrinsics 59 return clib_crc32c ((
u8 *) & v->
key, 8);
90 #undef __included_bihash_template_h__
Fixed length block allocator.
static u64 clib_xxhash(u64 key)
static u64 clib_bihash_hash_8_8_stats(clib_bihash_kv_8_8_stats_t *v)
Hash a clib_bihash_kv_8_8_t instance.
8 octet key, 8 octet key value pair
static u8 * format_bihash_kvp_8_8_stats(u8 *s, va_list *args)
Format a clib_bihash_kv_8_8_t instance.
static int clib_bihash_key_compare_8_8_stats(u64 a, u64 b)
Compare two clib_bihash_kv_8_8_t instances.
static int clib_bihash_is_free_8_8_stats(clib_bihash_kv_8_8_stats_t *v)
Decide if a clib_bihash_kv_8_8_t instance is free.