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/tcp/tcp-full.h File Reference

#include "tcp.h"
#include "rq.h"

Compounds

class  DelAckTimer
class  FullTcpAgent
class  NewRenoFullTcpAgent
class  SackFullTcpAgent
class  TahoeFullTcpAgent

Defines

#define TF_ACKNOW   0x0001
#define TF_DELACK   0x0002
#define TF_NODELAY   0x0004
#define TF_NOOPT   0x0008
#define TF_SENTFIN   0x0010
#define TF_RCVD_TSTMP   0x0100
#define TF_NEEDFIN   0x0800
#define TF_NEEDCLOSE   0x10000
#define TCPS_CLOSED   0
#define TCPS_LISTEN   1
#define TCPS_SYN_SENT   2
#define TCPS_SYN_RECEIVED   3
#define TCPS_ESTABLISHED   4
#define TCPS_CLOSE_WAIT   5
#define TCPS_FIN_WAIT_1   6
#define TCPS_CLOSING   7
#define TCPS_LAST_ACK   8
#define TCPS_FIN_WAIT_2   9
#define TCP_NSTATES   10
#define TCPS_HAVERCVDFIN(s)   ((s) == TCPS_CLOSING || (s) == TCPS_CLOSED || (s) == TCPS_CLOSE_WAIT)
#define TCPS_HAVERCVDSYN(s)   ((s) >= TCPS_SYN_RECEIVED)
#define TCPIP_BASE_PKTSIZE   40
#define REASON_NORMAL   0
#define REASON_TIMEOUT   1
#define REASON_DUPACK   2
#define REASON_RBP   3
#define REASON_SACK   4
#define TH_FIN   0x01
#define TH_SYN   0x02
#define TH_PUSH   0x08
#define TH_ACK   0x10
#define TH_ECE   0x40
#define TH_CWR   0x80
#define PF_TIMEOUT   0x04
#define TCP_PAWS_IDLE   (24 * 24 * 60 * 60)

Define Documentation

#define PF_TIMEOUT   0x04
 

#define REASON_DUPACK   2
 

#define REASON_NORMAL   0
 

#define REASON_RBP   3
 

#define REASON_SACK   4
 

#define REASON_TIMEOUT   1
 

#define TCP_NSTATES   10
 

#define TCP_PAWS_IDLE   (24 * 24 * 60 * 60)
 

#define TCPIP_BASE_PKTSIZE   40
 

#define TCPS_CLOSE_WAIT   5
 

#define TCPS_CLOSED   0
 

#define TCPS_CLOSING   7
 

#define TCPS_ESTABLISHED   4
 

#define TCPS_FIN_WAIT_1   6
 

#define TCPS_FIN_WAIT_2   9
 

#define TCPS_HAVERCVDFIN      ((s) == TCPS_CLOSING || (s) == TCPS_CLOSED || (s) == TCPS_CLOSE_WAIT)
 

#define TCPS_HAVERCVDSYN      ((s) >= TCPS_SYN_RECEIVED)
 

#define TCPS_LAST_ACK   8
 

#define TCPS_LISTEN   1
 

#define TCPS_SYN_RECEIVED   3
 

#define TCPS_SYN_SENT   2
 

#define TF_ACKNOW   0x0001
 

#define TF_DELACK   0x0002
 

#define TF_NEEDCLOSE   0x10000
 

#define TF_NEEDFIN   0x0800
 

#define TF_NODELAY   0x0004
 

#define TF_NOOPT   0x0008
 

#define TF_RCVD_TSTMP   0x0100
 

#define TF_SENTFIN   0x0010
 

#define TH_ACK   0x10
 

#define TH_CWR   0x80
 

#define TH_ECE   0x40
 

#define TH_FIN   0x01
 

#define TH_PUSH   0x08
 

#define TH_SYN   0x02
 


This document is generated by doxygen.