seladb/PcapPlusPlus
PcapPlusPlus is a multiplatform C++ library for capturing, parsing and crafting of network packets. It is designed to be efficient, powerful and easy to use. It provides C++ wrappers for the most popular packet processing engines such as libpcap, Npcap, WinPcap, DPDK, AF_XDP and PF_RING. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 62
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 335.5
- age_days: 4348
- days_rel: 41
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
3131 stars · 753 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PcapPlusPlus is a multiplatform C++ library for capturing, parsing, and crafting network packets. It wraps popular packet processing engines like libpcap, Npcap, WinPcap, DPDK, eBPF AF_XDP, WinDivert, and PF_RING, and supports reading/writing PCAP and PCAPNG files.
Use cases
- parse network packets from a pcap file in C++
- capture live network traffic on Linux or Windows
- craft and send custom network packets
- analyze network protocols for forensics
- reassemble TCP streams from captured packets
- build a high-performance packet processing tool with DPDK
- read and write pcapng files programmatically
When to choose
- you need a fast, cross-platform C++ library for packet capture, parsing, or crafting
- you want wrappers over libpcap, Npcap, DPDK, AF_XDP, or PF_RING with a unified API
- you need to read/write PCAP and PCAPNG files in C++
- you're building network forensics, monitoring, or security tooling
When to avoid
- you need a high-level scripting solution (Python's Scapy may fit better)
- your project is not in C++ and you don't want bindings or a C++ toolchain
- you need GUI-based packet analysis like Wireshark provides
Facets
library · maturity stable
parser networking developer-tools networking security developer-tools windows bsd cpp cross-platform packet-capture packet-parsing packet-crafting pcap pcapng dpdk pf-ring af-xdp npcap libpcap tcp-reassembly network-forensics c-plus-plus linux macos android
2 sources
- readme: https://github.com/seladb/PcapPlusPlus · fetched 2026-08-28 · 96a16b3f3234
- homepage: https://pcapplusplus.github.io/ · fetched 2026-08-29 · 230520f2d8c2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| seladb/PcapPlusPlus | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="seladb/PcapPlusPlus")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem