Public Member Functions | Protected Member Functions | Protected Attributes

PcapLiveNetwork Class Reference

Inheritance diagram for PcapLiveNetwork:
PcapNetwork Network

List of all members.

Public Member Functions

NetworkAddressladdr ()
NetworkAddressnaddr ()

Protected Member Functions

double gents (pcap_pkthdr *)
int devtonaddr (const char *name, NetworkAddress &)
int open (int mode)
int open (int mode, const char *)
int command (int argc, const char *const *argv)
int skiphdr ()
const char * autodevname ()
void bindvars ()

Protected Attributes

int snaplen_
int promisc_
double timeout_
NetworkAddress linkaddr_
NetworkAddress netaddr_
unsigned int local_net_
int dlink_type_

Member Function Documentation

int PcapLiveNetwork::command ( int  argc,
const char *const *  argv 
) [protected, virtual]

XXX: only for ethernet now

Reimplemented from PcapNetwork.

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