mptcpd
Multipath TCP Daemon
|
Go to the source code of this file.
Functions | |
MPTCPD_API 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 void*
function "out" parameter. MPTCPD_API 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. |