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

tcptap.h File Reference

#include "tap.h"
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include "tcp.h"
#include "ip.h"

Include dependency graph for tcptap.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  pseudohdr
class  TCPTapAgent

Defines

#define TCP_HEADER_LEN   (sizeof(struct tcphdr))
#define IP_HEADER_LEN   (sizeof(struct ip))
#define DEFAULT_ADV_WINDOW   65535
#define DEFAULT_EXT_PORT   8192
#define DEFAULT_EXT_ADDR   "192.168.123.116"
#define DEFAULT_NS_PORT   16384
#define DEFAULT_NS_ADDR   "192.168.123.253"
#define TCPIP_BASE_PKTSIZE   40
#define REASON_UNKNOWN   10

Variables

pseudohdr pseudohdr


Define Documentation

#define DEFAULT_ADV_WINDOW   65535
 

Definition at line 51 of file tcptap.h.

Referenced by TCPTapAgent::TCPTapAgent().

#define DEFAULT_EXT_ADDR   "192.168.123.116"
 

Definition at line 54 of file tcptap.h.

Referenced by TCPTapAgent::TCPTapAgent().

#define DEFAULT_EXT_PORT   8192
 

Definition at line 53 of file tcptap.h.

Referenced by TCPTapAgent::TCPTapAgent().

#define DEFAULT_NS_ADDR   "192.168.123.253"
 

Definition at line 57 of file tcptap.h.

Referenced by TCPTapAgent::TCPTapAgent().

#define DEFAULT_NS_PORT   16384
 

Definition at line 56 of file tcptap.h.

Referenced by TCPTapAgent::TCPTapAgent().

#define IP_HEADER_LEN   (sizeof(struct ip))
 

Definition at line 50 of file tcptap.h.

Referenced by TCPTapAgent::ip_gen(), and TCPTapAgent::sendpkt().

#define REASON_UNKNOWN   10
 

Definition at line 68 of file tcptap.h.

Referenced by TCPTapAgent::processpkt().

#define TCP_HEADER_LEN   (sizeof(struct tcphdr))
 

Definition at line 49 of file tcptap.h.

Referenced by TCPTapAgent::sendpkt(), and TCPTapAgent::tcp_gen().

#define TCPIP_BASE_PKTSIZE   40
 

Definition at line 60 of file tcptap.h.


Variable Documentation

struct pseudohdr pseudohdr
 

Referenced by TCPTapAgent::trans_check().


Generated on Tue Apr 20 12:29:43 2004 for NS2.26SourcesOriginal by doxygen 1.3.3