Registry / networking / pfring

pfring

JSON →
library8.8.0vcpkgunverified

Library to interface with the PF_RING™ kernel module for processing packets at high-rates while providing a consistent API.

vcpkg install pfring
INSTALL
IMPORT
SIG · PFRING
P
pfring
networkingcppv8.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pfring.h
#include <pfring.h>

Open a PF_RING socket on an interface

#include <pfring.h> #include <iostream> int main() { pfring *ring = pfring_open("eth0", 1500, 0); if (ring) { pfring_enable_ring(ring); // Capture packets with pfring_recv() pfring_close(ring); } return 0; }
Debug
Known issues
gotchaRequires PF_RING kernel module to be loaded
fix
Install and load the PF_RING kernel module (sudo modprobe pf_ring)
affects: *
Upgrade
Version history
8.8.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources

No resource links recorded.

pfring — pip install pfring · libregistry