path: root/tun_darwin.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-23Move tun to subpackageJason A. Donenfeld1-384/+0
2018-05-22Fix integer conversionsJason A. Donenfeld1-7/+1
2018-05-22Add OpenBSD tun driver supportJason A. Donenfeld1-1/+1
2018-05-22Just in case darwin changes, we also shutdownJason A. Donenfeld1-2/+1
2018-05-21Fix Sscanf use in tun_darwinFilippo Valsorda1-2/+2
License: MIT Signed-off-by: Filippo Valsorda <valsorda@google.com>
2018-05-21Rework freebsd supportJason A. Donenfeld1-5/+3
2018-05-21Close events channel when no status listenerJason A. Donenfeld1-0/+3
2018-05-20Fix race with closing event channelJason A. Donenfeld1-1/+2
There's still a tiny race on Linux, since the tun channel is written to from two places.
2018-05-20StyleJason A. Donenfeld1-1/+0
2018-05-20Remove unused mtu variableJason A. Donenfeld1-2/+0
2018-05-20Use proper status listener on DarwinJason A. Donenfeld1-53/+92
2018-05-19Revert "Temporary work around. Please revert me"0.0.20180519Jason A. Donenfeld1-2/+0
This reverts commit 4312a7c70a58656891ff1398f2d0d36f4ed74c8a.
2018-05-19Add copyright headersMathias Hall-Andersen1-0/+1
2018-05-15Temporary work around. Please revert meJason A. Donenfeld1-0/+2
2018-05-14Print utun name on darwinJason A. Donenfeld1-1/+5
2018-05-14Netlink sockets can't be shutdownJason A. Donenfeld1-0/+2
2018-05-14Clean moreJason A. Donenfeld1-6/+7
2018-05-14Shorthand for empty channelsJason A. Donenfeld1-1/+1
2018-05-14Allow go routine to shutdown in darwin tunJason A. Donenfeld1-12/+20
2018-05-14Add rwcancelation to darwinJason A. Donenfeld1-15/+46
2018-05-13Odds and endsJason A. Donenfeld1-1/+3
2018-05-05StyleJason A. Donenfeld1-1/+1
2018-05-04tun: print automatically assigned interface name to stdoutJason A. Donenfeld1-1/+7
This way scripts know what process they just started.
2018-05-04tun: allow darwin to auto assign namesJason A. Donenfeld1-3/+5
2018-05-03global: Add SPDX tags and copyright headerJason A. Donenfeld1-0/+5
Mathias should probably add his copyright headers to each file too.
2018-05-03Start to dust off DarwinJason A. Donenfeld1-109/+77
2018-02-04Align with go library layoutMathias Hall-Andersen1-0/+0
2017-09-03Fixed TUN interface implementation os OS XMathias Hall-Andersen1-23/+68
2017-07-19Reviewed and added OSX patchMathias Hall-Andersen1-0/+278
The patch was provided by: Naveen Nathan <naveen@lastninja.net> The following modifications to the patch was made: - Added copyright notice - Fixed file descriptor leak in .MTU() method - Migrated to the new(er) golang.org/x/sys/unix package - Removed non-functioning Daemonize method