EtherGuard-VPN/tun
Tobias Klauser 8ae09213a7 tun: use IoctlCtlInfo from golang.org/x/sys/unix on macOS
Direct syscalls using unix.Syscall(unix.SYS_*, ...) are discouraged on
macOS and might not be supported in future versions. Switch to use
unix.IoctlCtlInfo to get the kernel control info.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-10-27 16:20:09 +01:00
..
tuntest global: update header comments and modules 2020-05-02 02:08:26 -06:00
wintun tun/wintun/registry: fix Go 1.15 race/checkptr failure 2020-10-21 18:26:10 +02:00
operateonfd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_darwin.go tun: use IoctlCtlInfo from golang.org/x/sys/unix on macOS 2020-10-27 16:20:09 +01:00
tun_freebsd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_linux.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_openbsd.go global: update header comments and modules 2020-05-02 02:08:26 -06:00
tun_windows.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