aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-05-19 19:55:35 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-05-19 19:55:44 -0600
commit8c1e63c1180263a07e4fafad31f92061a5c02e25 (patch)
treed3d4bb3ea559fd0816e0fa0ce3728f1b6d9c6632
parentMark as IFT_WIREGUARD rather than normal tunnel (diff)
downloadwireguard-openbsd-8c1e63c1180263a07e4fafad31f92061a5c02e25.tar.xz
wireguard-openbsd-8c1e63c1180263a07e4fafad31f92061a5c02e25.zip
Use codel limits for ooo counter
-rw-r--r--src/wg_noise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wg_noise.h b/src/wg_noise.h
index ebc74fd..3b85f93 100644
--- a/src/wg_noise.h
+++ b/src/wg_noise.h
@@ -119,7 +119,7 @@
/* Constants for the counter */
#define COUNTER_TYPE size_t
-#define COUNTER_BITS_TOTAL 512
+#define COUNTER_BITS_TOTAL 8192
#define COUNTER_TYPE_BITS (sizeof(COUNTER_TYPE) * 8)
#define COUNTER_TYPE_NUM (COUNTER_BITS_TOTAL / COUNTER_TYPE_BITS)
#define COUNTER_WINDOW_SIZE (COUNTER_BITS_TOTAL - COUNTER_TYPE_BITS)