Files
tsnet-proxy/vendor/github.com/tailscale/wireguard-go/device/queueconstants_android.go
T
2026-10-22 12:27:19 +01:00

20 lines
490 B
Go

/* SPDX-License-Identifier: MIT
*
* Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
*/
package device
import "github.com/tailscale/wireguard-go/conn"
/* Reduce memory consumption for Android */
const (
DefaultQueueStagedSize = conn.IdealBatchSize
DefaultQueueOutboundSize = 1024
DefaultQueueInboundSize = 1024
DefaultQueueHandshakeSize = 1024
MaxSegmentSize = 2200
DefaultPreallocatedBuffersPerPool = 4096
)