-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add utun for darwin #16
base: master
Are you sure you want to change the base?
Conversation
tuntap-unix-darwin.c
Outdated
if(fd == -1) | ||
return -1; | ||
|
||
struct ctl_info info; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.