github.com/cawidtu/notwireguard-go/device@v0.0.0-20230523131112-68e8e5ce9cdf/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  )