mirage/charrua

Write a mini library for receiving a packet with the incoming interface. Makes mirage life easier.

haesbaert opened this issue · 2 comments

So I'm rewriting extunix recvmsg to accept variant ancillary data. It currently works but it needs some finishing touches.

This will be a temporary solution as Anil pointed out it would be easier to have a solo implementation with ctypes.

But since I had begun this already, and talked to ygrek in extunix, I'm finishing it. When this is done I'll rewrite it in ctypes and drop the extunix dependency as suggested in issue #1

commit b2f0baf
Adds a stub for a recvmsg that returns the receiving interface. I did not write it in ctypes as it was not clear to me how to do it properly. At least this keeps me going and I won't rely on extunix as soon as I move the getifaddrs to ocaml-tuntap.

Done, extunix has been replaced with ocaml-tuntap.