Commit graph

12 commits

Author SHA1 Message Date
Yifan Gu
aa5a321f82 osxtuntap support 2019-06-22 19:13:33 -07:00
Song Gao
3fe638a7bf use blocking mode pre-go1.11 2019-04-01 19:05:55 -07:00
Song Gao
ed5454b50a cleanup 2019-01-12 14:53:32 -08:00
Song Gao
686e3943e7 use non-blocking on darwin so file is pollable 2019-01-12 14:07:38 -08:00
Song Gao
bf1a5d0277
populate default PlatformSpecificParams when it's empty (#43) 2018-04-20 14:47:39 +08:00
Matthew Ellison
70591d2499
Simplifies Platform Specific Interface Creation
The interface `Config` object is now passed directly into each creation
function in order to more easily use additional options.

In addition, the linux and darwin parameters were split to better
capture different options for each platform.
2017-05-23 09:06:42 -04:00
Matthew Ellison
4112fb9cd7
darwin: Adds Check Empty Writes to TUN 2017-05-22 13:29:58 -04:00
Matthew Ellison
da7e7e0a3e
darwin: Detects IP Ver. for NULL Header on Write
Adds the ability for both IPv4 and IPv6 to be written to the TUN device.
2017-05-12 14:12:39 -04:00
Song Gao
66c5b2f72c fake IFF_NO_PI on macOS (thanks @eliezedeck ) (#21) 2017-03-20 22:40:07 -07:00
Song Gao
3bfb4db1dd Revert "fake IFF_NO_PI on macOS"
This reverts commit 3a225b3c2e.
2017-03-20 10:23:25 -07:00
Song Gao
3a225b3c2e fake IFF_NO_PI on macOS 2017-03-20 10:00:54 -07:00
Song Gao
a7802d4a18 add darwin support for point-to-point TUN and update doc 2016-10-23 20:34:17 -07:00