]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: allow reducing queue constants on iOS
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 21 May 2021 22:57:42 +0000 (00:57 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 21 May 2021 23:00:51 +0000 (01:00 +0200)
commitc27ff9b9f6f7849614e774be8a15c1266c415750
tree9a8a5bf41885dc84ca15a41192cf0fda7fd712e4
parent99e8b4ba605538b64c693c4056904f34810c3938
device: allow reducing queue constants on iOS

Heavier network extensions might require the wireguard-go component to
use less ram, so let users of this reduce these as needed.

At some point we'll put this behind a configuration method of sorts, but
for now, just expose the consts as vars.

Requested-by: Josh Bleecher Snyder <josh@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
device/constants.go
device/device.go
device/queueconstants_ios.go