|
mptcpd
Multipath TCP Daemon
|
#include <mptcpd/private/murmur_hash.h>
Macros | |
| #define | FORCE_INLINE inline |
| #define | FALLTHROUGH |
Functions | |
| unsigned int | mptcpd_murmur_hash3 (void const *key, int len, uint32_t seed) |
| Generate hash of key using the MurmurHash3 algorithm. | |
This file incorporates work covered by the following notice: MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author hereby disclaims copyright to this source code.
Changes relative to the original:
unsigned int. MurmurHash3_x86_32() function was renamed to mptcpd_murmur_hash3(). unsigned int return value instead of a function "out" parameter of type void*. inline functions as static inline. | unsigned int mptcpd_murmur_hash3 | ( | void const * | key, |
| int | len, | ||
| uint32_t | seed | ||
| ) |
Generate hash of key using the MurmurHash3 algorithm.
| [in] | key | Key value to be hashed. |
| [in] | len | Length of key in bytes. |
| [in] | seed | Initial value of hash prior to hashing key. |