tailscale/wgengine/router
James Tucker 40fa2a420c envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently
Noted on #5915 TS_DEBUG_MTU was not used consistently everywhere.
Extract the default into a function that can apply this centrally and
use it everywhere.

Added envknob.Lookup{Int,Uint}Sized to make it easier to keep CodeQL
happy when using converted values.

Updates #5915

Signed-off-by: James Tucker <james@tailscale.com>
2023-03-30 14:26:10 -07:00
..
callback.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ifconfig_windows.go envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
ifconfig_windows_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_darwin.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_default.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_fake.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_freebsd.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_linux.go version/distro,wgengine/router: raise WSL eth0 MTU when too low 2023-03-02 21:33:02 -08:00
router_linux_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_openbsd.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_userspace_bsd.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
router_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
runner.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00