github.com/tailscale/wireguard-go@v0.0.20201119-0.20210522003738-46b531feb08a/device/queueconstants_windows.go (about)

     1  /* SPDX-License-Identifier: MIT
     2   *
     3   * Copyright (C) 2017-2021 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  )