pcappp::Stats Class Reference

#include <Stats.h>

List of all members.

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.


Constructor & Destructor Documentation

pcappp::Stats::~Stats (  ) 

Destroys a Stats object.


Member Function Documentation

struct pcap_stat const* pcappp::Stats::cobj (  )  const [inline, read]

Gets the underlying libpcap C structure.

Returns:
A pointer to the underlying struct pcap_stat

struct pcap_stat* pcappp::Stats::cobj (  )  [inline, read]

Gets the underlying libpcap C structure.

Returns:
A pointer to the underlying struct pcap_stat

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.


The documentation for this class was generated from the following files:

Generated on Tue Apr 15 17:36:29 2008 for libpcap++ by  doxygen 1.5.5