class <Network/Pcap/File> PcapFileNetwork : public PcapNetwork


Inheritance:


Public Methods

int open(int mode, const char *)
int skiphdr()

Protected Methods

void bindvars()
int command(int argc, const char*const* argv)
double gents(pcap_pkthdr* p)

Inherited from PcapNetwork:

Public Fields

double offset_
double t_firstpkt_

Public Methods

void close()
int filter(const char*)
int rchannel()
int recv(u_char *buf, int len, sockaddr&, double&)
void reset()
int schannel()
int send(u_char *buf, int len)
int stat_pdrops()
int stat_pkts()

Protected Fields

char errbuf_[PCAP_ERRBUF_SIZE]
unsigned int local_netmask_
int optimize_
pcap_t* pcap_
int pcnt_
int pfd_
char srcname_[PATH_MAX]
int state_

Protected Methods

static void phandler(u_char* u, pcap_pkthdr* h, u_char* p)

Inherited from Network:

Public Methods

int mode()
static char* modename(int)
static int nonblock(int fd)
static int parsemode(const char*)

Protected Fields

int mode_

Documentation

int open(int mode, const char *)

int skiphdr()

double gents(pcap_pkthdr* p)

void bindvars()

int command(int argc, const char*const* argv)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de