diff options
Diffstat (limited to 'device/queueconstants_android.go')
-rw-r--r-- | device/queueconstants_android.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/device/queueconstants_android.go b/device/queueconstants_android.go new file mode 100644 index 0000000..8d051ad --- /dev/null +++ b/device/queueconstants_android.go @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: MIT + * + * Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved. + */ + +package device + +/* Reduce memory consumption for Android */ + +const ( + QueueOutboundSize = 1024 + QueueInboundSize = 1024 + QueueHandshakeSize = 1024 + MaxSegmentSize = 2200 + PreallocatedBuffersPerPool = 4096 +)
\ No newline at end of file |