the-tcpdump-group/libpcap — pull request #377 by hkwi (2014-08-06 07:11:11+00:00)
Title: Set nonblock for fd with mmap'ed read

With libpcap mmap'ed read on LInux, which would be the very common case, even if we set pcap_setnonblock for that handle, pcap_sendpacket will block. pcap_setnonblock_fd makes pcap_sendpacket nonblock.