37#ifndef SURICATA_UTIL_HASH_LOOKUP3_H
38#define SURICATA_UTIL_HASH_LOOKUP3_H
40#define hashsize(n) ((uint32_t)1<<(n))
41#define hashmask(n) (hashsize(n)-1)
53uint32_t
hashlittle(
const void *key,
size_t length, uint32_t initval);
58uint32_t
hashlittle_safe(
const void *key,
size_t length, uint32_t initval);
68void hashlittle2_safe(
const void *key,
size_t length, uint32_t *pc, uint32_t *pb);
70uint32_t
hashbig(
const void *key,
size_t length, uint32_t initval);
uint32_t hashbig(const void *key, size_t length, uint32_t initval)
uint32_t hashlittle_safe(const void *key, size_t length, uint32_t initval)
void hashlittle2(const void *key, size_t length, uint32_t *pc, uint32_t *pb)
uint32_t hashword(const uint32_t *k, size_t length, uint32_t initval)
uint32_t hashlittle(const void *key, size_t length, uint32_t initval)
void hashlittle2_safe(const void *key, size_t length, uint32_t *pc, uint32_t *pb)
void hashword2(const uint32_t *k, size_t length, uint32_t *pc, uint32_t *pb)