summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-04-14 03:11:05 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-04-14 03:11:05 -0600
commit606f4f96eb20a6401a9a9d225f4b9bd4008d343a (patch)
tree41af100ee5fc19cc91764b96333f15703d5af66a
parentfcf7f20e2fc039bafc5e78104e1d9fae2852b50d (diff)
compat: backport hsiphash_1u32 for tests
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/compat/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 60baa21..75bd3b7 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -1040,6 +1040,7 @@ static inline void skb_reset_redirect(struct sk_buff *skb)
#if defined(ISUBUNTU1604) || defined(ISRHEL7)
#include <linux/siphash.h>
#ifndef _WG_LINUX_SIPHASH_H
+#define hsiphash_1u32 siphash_1u32
#define hsiphash_2u32 siphash_2u32
#define hsiphash_3u32 siphash_3u32
#define hsiphash_key_t siphash_key_t