PcapPlusPlus  Next
pcpp::XdpDevice::XdpDeviceStats Struct Reference

#include <XdpDevice.h>

Public Attributes

timespec timestamp
 The timestamp when the stats were collected.
 
uint64_t rxPackets
 Number of packets received.
 
uint64_t rxPacketsPerSec
 Packets received per second. Measured from to the previous time stats were collected.
 
uint64_t rxBytes
 Number of bytes received.
 
uint64_t rxBytesPerSec
 Bytes per second received. Measured from to the previous time stats were collected.
 
uint64_t rxDroppedTotalPackets
 Total number of dropped RX packets.
 
uint64_t rxDroppedInvalidPackets
 RX packets dropped due to invalid descriptor.
 
uint64_t rxDroppedRxRingFullPackets
 RX packets dropped due to RX ring being full.
 
uint64_t rxDroppedFillRingPackets
 Failed RX packets to retrieve item from fill ring.
 
uint64_t rxPollTimeout
 Number of poll() timeouts.
 
uint64_t txSentPackets
 Number of packets sent from the application.
 
uint64_t txSentPacketsPerSec
 Packets sent from the app per second. Measured from to the previous time stats were collected.
 
uint64_t txSentBytes
 Number of bytes sent from the application.
 
uint64_t txSentBytesPerSec
 Bytes per second sent from the app. Measured from to the previous time stats were collected.
 
uint64_t txCompletedPackets
 Number of completed sent packets, meaning packets that were confirmed as sent by the kernel.
 
uint64_t txCompletedPacketsPerSec
 Completed sent packets per second. Measured from to the previous time stats were collected.
 
uint64_t txDroppedInvalidPackets
 TX packets dropped due to invalid descriptor.
 
uint64_t rxRingId
 Current RX ring ID.
 
uint64_t txRingId
 Current TX ring ID.
 
uint64_t fqRingId
 Current fill ring ID.
 
uint64_t cqRingId
 Current completion ring ID.
 
uint64_t umemAllocatedFrames
 Number of UMEM frames that are currently in-use (allocated)
 
uint64_t umemFreeFrames
 Number of UMEM frames that are currently free (not allocated)
 

Detailed Description

A container for XDP device statistics