pcap-thread — updated to Release 2.1.2
This is a helper library that will initialize the
pcap_t for you and, if you have support, launch a thread per
pcap_t for the collection which is then feeded back to the main thread using a queue before being passed on to the callback.
Additional callbacks exists for simplifying the handling of various transport layers, based on pcap_layers by Duane Wessels (The Measurement Factory, Inc.), such as ether, VLAN, IP, IPv4, IPv6, GRE tunnels, UDP and TCP.