#pcap #stream #interface #single #bridge #async #packet-capture

sys pcap-async-sys

Async interface for packet capture, with both single and bridge streams

1 unstable release

0.1.0 Dec 10, 2019

#59 in #pcap

MIT license

57 lines


Bindgen generated code from installed libpcap. If environment variable LIBPCAP_DIR is not set, will use pkg-config to locate libpcap. As a last resort, it will fall back to a path search.


  • Cannot find "pcap.h" on an OSX system
    • Add system include to your path

      export PATH="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include:$PATH"

No runtime deps

~37K SLoC