ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ns-2/emulate/net-pcap.cc File Reference

#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include <errno.h>
#include <string.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <pcap.h>
#include "config.h"
#include "scheduler.h"
#include "net.h"
#include "tclcl.h"
#include "packet.h"
#include "ether.h"
#include <fcntl.h>
#include <net/if.h>
#include <netinet/in.h>

Compounds

struct  NetworkAddress
struct  pcap
struct  pcap_md
struct  pcap_sf
struct  pcap_singleton
struct  pcap_singleton_callback
class  PcapFileNetwork
class  PcapFileNetworkClass
class  PcapLiveNetwork
class  PcapLiveNetworkClass
class  PcapNetwork

Defines

#define PNET_PSTATE_INACTIVE   0
#define PNET_PSTATE_ACTIVE   1
#define MIN(x, y)   ((x)<(y) ? (x) : (y))

Variables

const char rcsid []
PcapLiveNetworkClass net_pcaplive
PcapFileNetworkClass net_pcapfile

Define Documentation

#define MIN x,
     ((x)<(y) ? (x) : (y))
 

#define PNET_PSTATE_ACTIVE   1
 

#define PNET_PSTATE_INACTIVE   0
 


Variable Documentation

PcapFileNetworkClass net_pcapfile [static]
 

PcapLiveNetworkClass net_pcaplive [static]
 

const char rcsid[] [static]
 

Initial value:

    "@(#) $Header: /nfs/jade/vint/CVSROOT/ns-2/emulate/net-pcap.cc,v 1.22 2002/10/09 23:57:15 difa Exp $ (LBL)"


This document is generated by doxygen.