2a17c0e11d47a5593f3732bcec7bac9ad117fb4c
[openvswitch] / include / hash.h
1 #ifndef HASH_H
2 #define HASH_H 1
3
4 #include <stddef.h>
5 #include <stdint.h>
6
7 #define HASH_FNV_BASIS UINT32_C(2166136261)
8 #define HASH_FNV_PRIME UINT32_C(16777619)
9
10 uint32_t hash_fnv(const void *, size_t, uint32_t basis);
11
12 #endif /* hash.h */