Rust Rewrite Index

libpcap

system interface for user-level packet capture

Rust efforts

Research record · 2026-11-29

Searched libpcap Rust rewrites, capture backends, filter compilers and bindings. pktbaffle compiles libpcap-style filters and its pkttap companion provides capture and file I/O on several platforms. pcap and some pcapture backends still use libpcap or Npcap. These are partial independent implementations, not a full libpcap ABI port; no complete direct port surfaced in the reviewed sources.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

pktbaffle and pkttap

Rust libpcap-style filter compiler and packet-capture library; Windows capture uses Npcap and full libpcap ABI compatibility is not claimed.

Evidence checked 2026-11-29

Project structure

libpcap (Packet CAPture) provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc.

Inside the source tree

Source files by extension in this snapshot · C (82), Assembly (1), Python (1)

Selected components packaged from this source in Debian 13.

  • libpcap0.8t64 · system interface for user-level packet capture
  • libpcap-dev · development library for libpcap (transitional package)
  • libpcap0.8-dev · development library and header files for libpcap0.8t64