16 #ifndef __included_lb_hash_hash_h__ 17 #define __included_lb_hash_hash_h__ 22 #if defined(clib_crc32c_uses_intrinsics) && !defined (__i386__) 27 val = crc32_u64 (val, k0);
28 val = crc32_u64 (val, k1);
29 val = crc32_u64 (val, k2);
30 val = crc32_u64 (val, k3);
31 val = crc32_u64 (val, k4);
40 val = crc32_u64 (val, k0);
41 val = crc32_u32 (val, k1);
48 u64 tmp = k0 ^ k1 ^ k2 ^ k3 ^ k4;
static u64 clib_xxhash(u64 key)
static_always_inline u32 lb_hash_hash_2_tuples(u64 k0, u32 k1)
#define static_always_inline
static_always_inline u32 lb_hash_hash(u64 k0, u64 k1, u64 k2, u64 k3, u64 k4)