tailscale/net/tstun
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
..
table net/tstun/table: add initial RoutingTable implementation 2023-03-29 12:30:18 -07:00
fake.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ifstatus_noop.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ifstatus_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
linkattrs_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
linkattrs_notlinux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mtu_test.go envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
mtu.go envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
tap_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tap_unsupported.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_macos.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_notwindows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun.go envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
wrap_test.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
wrap.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00