github.com/amnezia-vpn/amneziawg-go@v0.2.8/device/queueconstants_windows.go (about) 1 /* SPDX-License-Identifier: MIT 2 * 3 * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved. 4 */ 5 6 package device 7 8 const ( 9 QueueStagedSize = 128 10 QueueOutboundSize = 1024 11 QueueInboundSize = 1024 12 QueueHandshakeSize = 1024 13 MaxSegmentSize = 2048 - 32 // largest possible UDP datagram 14 PreallocatedBuffersPerPool = 0 // Disable and allow for infinite memory growth 15 )