#pcap #stream #interface #bridge #single #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

#60 in #pcap

MIT license

5KB
57 lines

pcap-sys

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.

FAQ

  • 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

~0–2.7MB
~41K SLoC