mptcpd
Multipath TCP Daemon
murmur_hash.h
Go to the documentation of this file.
1 // Copyright (c) 2022, Intel Corporation
2 // SPDX-License-Identifier: BSD-3-Clause
25 #ifndef MPTCPD_MURMUR_HASH_3_H
26 #define MPTCPD_MURMUR_HASH_3_H
27 
28 #include <stdint.h>
29 
30 #include <mptcpd/export.h>
31 
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
51 MPTCPD_API unsigned int mptcpd_murmur_hash3(void const *key,
52  int len,
53  uint32_t seed);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif // MPTCPD_MURMUR_HASH_3_H
60 
61 
62 /*
63  Local Variables:
64  c-file-style: "linux"
65  End:
66 */
mptcpd shared library symbol export/import macros.
MPTCPD_API unsigned int mptcpd_murmur_hash3(void const *key, int len, uint32_t seed)
Generate hash of key using the MurmurHash3 algorithm.
Definition: murmur_hash.c:86