trema/trema-edge — pull request #123 by iHiroakiKawai (2014-06-27 01:15:16+00:00)
Title: call pcap_setnonblock() after pcap_activate()

libpcap looks expecting the function call order, that pcap_setnonblock() is called after pcap_activate().

This makes TPACKET_V3, TPACKET_V2(USE_PCAP_IMMEDIATE_MODE) both work fine.