EtherGuard-VPN/tun
Jason A. Donenfeld 2e772194cf tun: only call .Fd() once
Doing so tends to make the tunnel blocking, so we only retrieve it once
before we call SetNonblock, and then cache the result.
2018-10-17 21:31:42 +02:00
..
tun_darwin.go tun: only call .Fd() once 2018-10-17 21:31:42 +02:00
tun_freebsd.go tun: only call .Fd() once 2018-10-17 21:31:42 +02:00
tun_linux.go tun: only call .Fd() once 2018-10-17 21:31:42 +02:00
tun_openbsd.go tun: only call .Fd() once 2018-10-17 21:31:42 +02:00
tun.go global: fix up copyright headers 2018-09-16 18:49:19 +02:00