summaryrefslogtreecommitdiffstats
path: root/device/queueconstants_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/queueconstants_windows.go')
-rw-r--r--device/queueconstants_windows.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/device/queueconstants_windows.go b/device/queueconstants_windows.go
new file mode 100644
index 0000000..e330a6b
--- /dev/null
+++ b/device/queueconstants_windows.go
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
+ */
+
+package device
+
+const (
+ QueueStagedSize = 128
+ QueueOutboundSize = 1024
+ QueueInboundSize = 1024
+ QueueHandshakeSize = 1024
+ MaxSegmentSize = 2048 - 32 // largest possible UDP datagram
+ PreallocatedBuffersPerPool = 0 // Disable and allow for infinite memory growth
+)