PcapPlusPlus
Next
|
An interface for providing Pcap-based device statistics. More...
#include <PcapDevice.h>
Public Member Functions | |
PcapStats | getStatistics () const |
Get statistics from the device. More... | |
virtual void | getStatistics (PcapStats &stats) const =0 |
An interface for providing Pcap-based device statistics.
PcapStats pcpp::IPcapStatisticsProvider::getStatistics | ( | ) | const |
Get statistics from the device.
|
pure virtual |
Get statistics from the device
[out] | stats | An object containing the stats |
Implemented in pcpp::PcapNgFileWriterDevice, pcpp::PcapFileWriterDevice, pcpp::PcapNgFileReaderDevice, pcpp::SnoopFileReaderDevice, pcpp::PcapFileReaderDevice, pcpp::PcapRemoteDevice, and pcpp::PcapLiveDevice.