-
Notifications
You must be signed in to change notification settings - Fork 18
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
extunix dependency can be replaced by tuntap #1
Comments
Yep, we could do that, but I've started rewriting extunix's recvmsg to be able to have multiple ancillary control options, basically I need IP_RECVIF in bsds and PKTINFO in linux. Extunix doesn't use ctypes which makes it kinda painful. |
Yeah binding to them directly in a minilibrary with ctypes makes life much easier from a mirage perspective. |
I can reconsider this, it seemed more logical at first to add to an existing library. |
The dependency can now go away as I've written my own recvmsg wrapper, so won't rely on my future work on extunix. |
Replaced extunix with ocaml-tuntap, that pull-request I made is necessary though. |
The https://github.com/mirage/ocaml-tuntap exposes
getifaddrs
that is parsed into anIpaddr.t
already. That would remove Extunix with a smaller library in the form oftuntap
inconfig_parser.ml
The text was updated successfully, but these errors were encountered: