2021-02-22 18:47:41 +01:00
|
|
|
/* SPDX-License-Identifier: MIT
|
|
|
|
*
|
2022-09-20 17:21:32 +02:00
|
|
|
* Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
|
2021-02-22 18:47:41 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
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
|
|
|
|
)
|