cfnts
cfnts copied to clipboard
BSD portability
in_pktinfo doesn't exist on BSD, instead one can get a sockaddr_dl out of recvmsg instead via IP_RECVIF, and likewise for the the other information we need from the packet.