aboutsummaryrefslogtreecommitdiffstats
path: root/device/queueconstants_android.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/queueconstants_android.go')
-rw-r--r--device/queueconstants_android.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/queueconstants_android.go b/device/queueconstants_android.go
index 3d80ead..236dea1 100644
--- a/device/queueconstants_android.go
+++ b/device/queueconstants_android.go
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: MIT
*
- * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
+ * Copyright (C) 2017-2025 WireGuard LLC. All Rights Reserved.
*/
package device
@@ -14,6 +14,6 @@ const (
QueueOutboundSize = 1024
QueueInboundSize = 1024
QueueHandshakeSize = 1024
- MaxSegmentSize = 2200
+ MaxSegmentSize = (1 << 16) - 1 // largest possible UDP datagram
PreallocatedBuffersPerPool = 4096
)