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/tstun
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
..
fake.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
ifstatus_noop.go all: gofmt with Go 1.17 3 years ago
ifstatus_windows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
linkattrs_linux.go net/tstun: set link speed to SPEED_UNKNOWN 3 years ago
linkattrs_notlinux.go net/tstun: set link speed to SPEED_UNKNOWN 3 years ago
tap_linux.go go.mod: bump netstack, switch to upstream netstack 3 years ago
tap_unsupported.go all: gofmt with Go 1.17 3 years ago
tun.go net/tstun: set link speed to SPEED_UNKNOWN 3 years ago
tun_linux.go net/tstun: fix build on arm 3 years ago
tun_macos.go net/tstun: move TUN failure diagnostics to OS-specific files 3 years ago
tun_notwindows.go all: gofmt with Go 1.17 3 years ago
tun_windows.go net/tstun: update tun_windows for wintun 0.14 API revisions, update wireguard-go dependency to 82d2aa87aa623cb5143a41c3345da4fb875ad85d 3 years ago
wrap.go wgengine: inject packetbuffers rather than bytes (#4220) 3 years ago
wrap_test.go net/tstun: rate limit "self disco out packet" logging 3 years ago