add utun for darwin#16
Conversation
| if(fd == -1) | ||
| return -1; | ||
|
|
||
| struct ctl_info info; |
There was a problem hiding this comment.
Variable declarations should respect ANSI C and thus be at the top of the current block.
|
Hi, sorry for the delay, I'm starting to review the PR. It doesn't compile on my computer:
Adding the include
to
|
|
@ntnmrndn: It is clear every tun operations are failing. Can you run the failing regress tests individually and share the output please ? |
|
"Can't get interface values" |
|
I think the code needs to be split a bit further than this as the traditional ioctl calls are not going to work on utun interfaces. The code is currently able to create an utun device of unspecified number but can't manipulate it yet. |
add support for apple's non standard utun network interace creation mechanism.