wireguard-go/tun
snow flurry ff49dc80a3 tun_netbsd: support unpatched kernels for IFHEAD
This previously assumed a user's kernel was patched a la
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55463, making
it effectively useless for most people. Since we know IFHEAD will always
be one of 0 (false) or something that isn't 0 (true), we can generalize
things a bit more.

Suggestion provided by artemis
https://artemis.sh/2022/02/16/tailscale-on-netbsd-proof-of-concept.html
2022-02-18 19:14:23 -08:00
..
netstack tun/netstack: simplify read timeout on ping socket 2022-02-02 23:30:31 +01:00
tuntest global: use netip where possible now 2021-11-23 22:03:15 +01:00
alignment_windows_test.go tun: format 2021-05-07 12:21:27 +02:00
operateonfd.go global: remove old-style build tags 2021-10-12 12:02:10 -06:00
tun.go global: bump copyright 2021-01-28 17:52:15 +01:00
tun_darwin.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun_freebsd.go tun: format 2021-05-07 12:21:27 +02:00
tun_linux.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun_netbsd.go tun_netbsd: support unpatched kernels for IFHEAD 2022-02-18 19:14:23 -08:00
tun_openbsd.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun_windows.go global: apply gofumpt 2021-12-09 23:15:55 +01:00