diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2021-02-24 12:33:23 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2021-02-24 12:33:23 +0000 |
commit | 2dfa8753c41e2bab7c910cd2e3c25ba45d6005a5 (patch) | |
tree | c13e0e65d300295633bde3213e95f68c9dd815f2 | |
parent | 3164145cd925de2cef1e65d696fe5dc1e17a68e1 (diff) |
fix stoeplitz_n16 and stoeplitz_h16
-rw-r--r-- | sys/net/toeplitz.h | 6 |
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)) |