wireguard-go/tun
Jason A. Donenfeld 1d4eb2727a netstack: introduce new module for gvisor tcp tun adapter
The Go linker isn't smart enough to prevent gvisor from being pulled
into modules that use other parts of tun/, due to the types exposed. So,
we put this into its own standalone module.

We use this as an opportunity to introduce some example code as well.

I'm still not happy that this not only clutters this repo's go.sum, but
all the other projects that consume it, but it seems like making a new
module inside of this repo will lead to even greater confusion.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-01-21 00:16:59 +01:00
..
netstack netstack: introduce new module for gvisor tcp tun adapter 2021-01-21 00:16:59 +01:00
tuntest tun/tuntest: make genICMPv4 allocate less 2021-01-07 14:49:37 +01:00
wintun tun/wintun/memmod: gofmt 2021-01-20 19:57:04 +01:00
operateonfd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_darwin.go tun: use SockaddrCtl from golang.org/x/sys/unix on macOS 2020-10-27 16:20:09 +01:00
tun_freebsd.go global: switch to using %w instead of %v for Errorf 2020-11-07 21:56:32 +01:00
tun_linux.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_openbsd.go all: use ++ to increment 2021-01-07 14:49:44 +01:00
tun_windows.go tun: make customization of WintunPool and requested GUID more obvious 2021-01-07 14:49:44 +01:00