summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2021-02-24 12:33:22 +0000
committerdlg <dlg@openbsd.org>2021-02-24 12:33:22 +0000
commit760e138601f98c9049c7febe20da53c1a56d7936 (patch)
tree077e0269bf9e50161f4418cbc951c3a4f71a22a3 /sys/net
parentEnumerate GCI core, which seems to contain the OTP on the Apple M1. (diff)
downloadwireguard-openbsd-760e138601f98c9049c7febe20da53c1a56d7936.tar.xz
wireguard-openbsd-760e138601f98c9049c7febe20da53c1a56d7936.zip
fix stoeplitz_n16 and stoeplitz_h16
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/toeplitz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/toeplitz.h b/sys/net/toeplitz.h
index 9f21fd35389..ca5a50941c1 100644
--- a/sys/net/toeplitz.h
+++ b/sys/net/toeplitz.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: toeplitz.h,v 1.5 2021/02/21 15:56:25 deraadt Exp $ */
+/* $OpenBSD: toeplitz.h,v 1.6 2021/02/24 12:33:22 dlg Exp $ */
/*
* Copyright (c) 2019 David Gwynne <dlg@openbsd.org>
@@ -105,9 +105,9 @@ void stoeplitz_to_key(void *, size_t)
extern const struct stoeplitz_cache *const stoeplitz_cache;
#define stoeplitz_n16(_n16) \
- stoeplitz_cache_n16(stoeplitz_cache, (_n16))
+ stoeplitz_hash_n16(stoeplitz_cache, (_n16))
#define stoeplitz_h16(_h16) \
- stoeplitz_cache_h16(stoeplitz_cache, (_h16))
+ stoeplitz_hash_h16(stoeplitz_cache, (_h16))
#define stoeplitz_port(_p) stoeplitz_n16((_p))
#define stoeplitz_ip4(_sa4, _da4) \
stoeplitz_hash_ip4(stoeplitz_cache, (_sa4), (_da4))