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  

IPTapAgent Class Reference

#include <iptap.h>

Inheritance diagram for IPTapAgent:

TapAgent Agent IOHandler Connector NsObject TclObject Handler List of all members.

Public Member Functions

 IPTapAgent ()

Private Member Functions

unsigned short in_cksum (unsigned short *, int)
void recvpkt ()
int sendpkt (Packet *)
int isDuplicate (unsigned short, unsigned short)
void processpkt (Packet *, const struct timeval &)

Static Private Member Functions

void pkt_handler (void *, Packet *, const struct timeval &)

Private Attributes

int ident [MAX_PACKETS]
int offset [MAX_PACKETS]
int index

Constructor & Destructor Documentation


Member Function Documentation

unsigned short IPTapAgent::in_cksum unsigned short *   ,

int IPTapAgent::isDuplicate unsigned    short,
unsigned    short

void IPTapAgent::pkt_handler void *   ,
Packet  ,
const struct timeval &   
[static, private]

void IPTapAgent::processpkt Packet  ,
const struct timeval &   

void IPTapAgent::recvpkt   [private, virtual]

Reimplemented from TapAgent.

int IPTapAgent::sendpkt Packet   [private, virtual]

Reimplemented from TapAgent.

Member Data Documentation

int IPTapAgent::ident[MAX_PACKETS] [private]

int IPTapAgent::index [private]

int IPTapAgent::offset[MAX_PACKETS] [private]

The documentation for this class was generated from the following files:
This document is generated by doxygen.