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
James Tucker 445c04c938
wgengine: inject packetbuffers rather than bytes (#4220)
Plumb the outbound injection path to allow passing netstack
PacketBuffers down to the tun Read, where they are decref'd to enable
buffer re-use. This removes one packet alloc & copy, and reduces GC
pressure by pooling outbound injected packets.

Fixes #2741
Signed-off-by: James Tucker <james@tailscale.com>
3 years ago
..
dns all: use strings.Cut even more 3 years ago
dnscache all: use any instead of interface{} 3 years ago
dnsfallback .github/workflows: work around golang/go#51629 3 years ago
flowtrack all: use any instead of interface{} 3 years ago
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 3 years ago
netcheck all: use any instead of interface{} 3 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns net/netns: remove a useless probe of the "ip" command 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: deflake TestPipeTimeout 3 years ago
netutil net/netutil: fix regression where peerapi would get closed after 1st req 3 years ago
packet wgengine/netstack: clear TCP ECN bits before giving to gvisor 3 years ago
portmapper all: use any instead of interface{} 3 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
socks5 all: use any instead of interface{} 3 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 3 years ago
tsaddr net/tsaddr: add func ContainsExitRoutes 3 years ago
tsdial net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 3 years ago
tshttpproxy net/tshttpproxy: ensure we pass the correct flags to WinHttpOpen on Win7 and Win8.0 3 years ago
tstun wgengine: inject packetbuffers rather than bytes (#4220) 3 years ago