You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Jordan Whited f475e5550c
net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791)
This commit implements UDP offloading for Linux. GSO size is passed to
and from the kernel via socket control messages. Support is probed at
runtime.

UDP GSO is dependent on checksum offload support on the egress netdev.
UDP GSO will be disabled in the event sendmmsg() returns EIO, which is
a strong signal that the egress netdev does not support checksum
offload.

Updates tailscale/corp#8734

Signed-off-by: Jordan Whited <jordan@tailscale.com>
2 years ago
..
art net/art: implement the stride table building block of ART 2 years ago
connstats net/connstats: fix ticker in NewStatistics (#7225) 2 years ago
dns net/dns: don't send on closed channel in resolvedManager 2 years ago
dnscache tstest: add method to Replace values for tests 2 years ago
dnsfallback various: pass logger.Logf through to more places 2 years ago
flowtrack all: update copyright and license headers 2 years ago
interfaces net/interfaces: also allow link-local for AzureAppServices. 2 years ago
memnet net/memnet: rename from net/nettest 2 years ago
netaddr all: update copyright and license headers 2 years ago
netcheck net/netcheck: improve determinism in hairpinning test 2 years ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
netknob all: update copyright and license headers 2 years ago
netns net/interfaces, net/netns: add node attributes to control default interface getting and binding 2 years ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2 years ago
netutil all: replace /kb/ links with /s/ equivalents 2 years ago
packet net/packet: add checksum update tests 2 years ago
ping all: update copyright and license headers 2 years ago
portmapper sockstats: switch label to enum 2 years ago
proxymux all: update copyright and license headers 2 years ago
routetable net/routetable: include unknown flags in the routetable doctor output 2 years ago
socks5 net/socks5: add password auth support 2 years ago
sockstats sockstats: add labels for netlog and sockstatlog packages 2 years ago
speedtest all: update copyright and license headers 2 years ago
stun all: use Go 1.20's bytes.Clone 2 years ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 2 years ago
tsaddr all: replace /kb/ links with /s/ equivalents 2 years ago
tsdial all: update copyright and license headers 2 years ago
tshttpproxy net/tshttpproxy: don't proxy through ourselves 2 years ago
tstun envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2 years ago
wsconn all: update copyright and license headers 2 years ago