#include <Stats.h>
Public Member Functions | |
struct pcap_stat const * | cobj () const |
Gets the underlying libpcap C structure. | |
struct pcap_stat * | cobj () |
Gets the underlying libpcap C structure. | |
long | get_dropped () const |
Gets the number of dropped packets. | |
long | get_received () const |
Gets the number of received packets. | |
~Stats () | |
Destroys a Stats object. |
pcappp::Stats::~Stats | ( | ) |
Destroys a Stats object.
struct pcap_stat const* pcappp::Stats::cobj | ( | ) | const [inline, read] |
Gets the underlying libpcap C structure.
struct pcap_stat* pcappp::Stats::cobj | ( | ) | [inline, read] |
Gets the underlying libpcap C structure.
long pcappp::Stats::get_dropped | ( | ) | const [inline] |
Gets the number of dropped packets.
long pcappp::Stats::get_received | ( | ) | const [inline] |
Gets the number of received packets.