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  

TCPTapAgent Class Reference

#include <tcptap.h>

Inheritance diagram for TCPTapAgent:

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

Public Member Functions

 TCPTapAgent ()
int command (int, const char *const *)

Private Member Functions

unsigned short trans_check (unsigned char, char *, int, struct in_addr, struct in_addr)
unsigned short in_cksum (unsigned short *, int)
void ip_gen (char *, unsigned char, struct in_addr, struct in_addr, unsigned short, unsigned char)
void tcp_gen (char *, unsigned short, unsigned short, Packet *)
void recvpkt ()
int sendpkt (Packet *)
void processpkt (Packet *, const struct timeval &)

Static Private Member Functions

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

Private Attributes

sockaddr_in nsnode extnode
unsigned short adv_window
int dropp

Constructor & Destructor Documentation


Member Function Documentation

int TCPTapAgent::command int   ,
const char *const *   

Reimplemented from TapAgent.

unsigned short TCPTapAgent::in_cksum unsigned short *   ,

void TCPTapAgent::ip_gen char *   ,
unsigned    char,
struct    in_addr,
struct    in_addr,
unsigned    short,
unsigned    char

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

void TCPTapAgent::processpkt Packet  ,
const struct timeval &   

void TCPTapAgent::recvpkt   [private, virtual]

Reimplemented from TapAgent.

int TCPTapAgent::sendpkt Packet   [private, virtual]

Reimplemented from TapAgent.

void TCPTapAgent::tcp_gen char *   ,
unsigned    short,
unsigned    short,

unsigned short TCPTapAgent::trans_check unsigned    char,
char *   ,
int   ,
struct    in_addr,
struct    in_addr

Member Data Documentation

unsigned short TCPTapAgent::adv_window [private]

int TCPTapAgent::dropp [private]

struct sockaddr_in nsnode TCPTapAgent::extnode [private]

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