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