PcapPlusPlus  21.05
pcpp::IPcapDevice::PcapStats Struct Reference

#include <PcapDevice.h>

Public Attributes

uint64_t packetsRecv
 
uint64_t packetsDrop
 
uint64_t packetsDropByInterface
 

Detailed Description

A container for pcap device statistics

Member Data Documentation

◆ packetsDrop

uint64_t pcpp::IPcapDevice::PcapStats::packetsDrop

Number of packets dropped

◆ packetsDropByInterface

uint64_t pcpp::IPcapDevice::PcapStats::packetsDropByInterface

number of packets dropped by interface (not supported on all platforms)

◆ packetsRecv

uint64_t pcpp::IPcapDevice::PcapStats::packetsRecv

Number of packets received