An interface for providing Pcap-based device statistics.
Definition: PcapDevice.h:25
virtual void getStatistics(PcapStats &stats) const =0
PcapStats getStatistics() const
Get statistics from the device.
The main namespace for the PcapPlusPlus lib.
Definition: AssertionUtils.h:19
Definition: PcapDevice.h:14
uint64_t packetsRecv
Number of packets received.
Definition: PcapDevice.h:16
uint64_t packetsDropByInterface
number of packets dropped by interface (not supported on all platforms)
Definition: PcapDevice.h:20
uint64_t packetsDrop
Number of packets dropped.
Definition: PcapDevice.h:18