Initial import
[sliver-openvswitch.git] / 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 */