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

tcp.h File Reference

#include "agent.h"
#include "packet.h"

Include dependency graph for tcp.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

class  BurstSndTimer
class  DelSndTimer
struct  hdr_tcp
class  NewRenoTcpAgent
class  RenoTcpAgent
class  RtxTimer
class  TcpAgent
class  VegasTcpAgent

Defines

#define NSA   3
#define TCP_REASON_TIMEOUT   0x01
#define TCP_REASON_DUPACK   0x02
#define TCP_REASON_RBP   0x03
#define TCP_REASON_PARTIALACK   0x04
#define CWND_ACTION_DUPACK   1
#define CWND_ACTION_TIMEOUT   2
#define CWND_ACTION_ECN   3
#define CLOSE_SSTHRESH_HALF   0x00000001
#define CLOSE_CWND_HALF   0x00000002
#define CLOSE_CWND_RESTART   0x00000004
#define CLOSE_CWND_INIT   0x00000008
#define CLOSE_CWND_ONE   0x00000010
#define CLOSE_SSTHRESH_HALVE   0x00000020
#define CLOSE_CWND_HALVE   0x00000040
#define THREE_QUARTER_SSTHRESH   0x00000080
#define CLOSE_CWND_HALF_WAY   0x00000100
#define CWND_HALF_WITH_MIN   0x00000200
#define NUMDUPACKS   3
#define TCP_MAXSEQ   1073741824
#define TCP_TIMER_RTX   0
#define TCP_TIMER_DELSND   1
#define TCP_TIMER_BURSTSND   2
#define TCP_TIMER_DELACK   3
#define TCP_TIMER_Q   4
#define TCP_TIMER_RESET   5
#define T_RTT_BITS   0


Define Documentation

#define CLOSE_CWND_HALF   0x00000002
 

Definition at line 95 of file tcp.h.

Referenced by Sack1TcpAgent::dupack_action(), RenoTcpAgent::dupack_action(), NewRenoTcpAgent::dupack_action(), SackFullTcpAgent::dupack_action(), FullTcpAgent::dupack_action(), TcpAgent::ecn(), BayFullTcpAgent::recv(), and TcpAgent::slowdown().

#define CLOSE_CWND_HALF_WAY   0x00000100
 

Definition at line 102 of file tcp.h.

Referenced by TcpAgent::process_qoption_after_send(), TcpAgent::rtt_counting(), and TcpAgent::slowdown().

#define CLOSE_CWND_HALVE   0x00000040
 

Definition at line 100 of file tcp.h.

#define CLOSE_CWND_INIT   0x00000008
 

Definition at line 97 of file tcp.h.

Referenced by FullTcpAgent::foutput(), TcpSessionAgent::send_much(), TcpAgent::slowdown(), TcpSessionAgent::timeout(), FackTcpAgent::timeout(), and TcpFsAgent::timeout_nonrtx().

#define CLOSE_CWND_ONE   0x00000010
 

Definition at line 98 of file tcp.h.

Referenced by TcpAgent::dupack_action(), TahoeFullTcpAgent::dupack_action(), TcpAgent::slowdown(), TcpAgent::timeout(), and FullTcpAgent::timeout_action().

#define CLOSE_CWND_RESTART   0x00000004
 

Definition at line 96 of file tcp.h.

Referenced by FackTcpAgent::recv(), TcpSessionAgent::send_much(), TcpAgent::slowdown(), TcpAgent::timeout(), VegasTcpAgent::timeout(), TcpSessionAgent::timeout(), SackRHTcpAgent::timeout(), BayFullTcpAgent::timeout(), FackTcpAgent::timeout(), and FullTcpAgent::timeout_action().

#define CLOSE_SSTHRESH_HALF   0x00000001
 

Definition at line 94 of file tcp.h.

Referenced by TcpAgent::dupack_action(), Sack1TcpAgent::dupack_action(), RenoTcpAgent::dupack_action(), NewRenoTcpAgent::dupack_action(), SackFullTcpAgent::dupack_action(), TahoeFullTcpAgent::dupack_action(), FullTcpAgent::dupack_action(), TcpAgent::ecn(), BayFullTcpAgent::recv(), FackTcpAgent::recv(), TcpSessionAgent::send_much(), TcpAgent::slowdown(), TcpAgent::timeout(), VegasTcpAgent::timeout(), TcpSessionAgent::timeout(), SackRHTcpAgent::timeout(), BayFullTcpAgent::timeout(), FackTcpAgent::timeout(), and FullTcpAgent::timeout_action().

#define CLOSE_SSTHRESH_HALVE   0x00000020
 

Definition at line 99 of file tcp.h.

#define CWND_ACTION_DUPACK   1
 

Definition at line 88 of file tcp.h.

Referenced by RenoTcpAgent::allow_fast_retransmit(), CorresHost::clean_segs(), TcpAgent::dupack_action(), Sack1TcpAgent::dupack_action(), RenoTcpAgent::dupack_action(), NewRenoTcpAgent::dupack_action(), SackFullTcpAgent::dupack_action(), TahoeFullTcpAgent::dupack_action(), FullTcpAgent::dupack_action(), FullTcpAgent::fast_retransmit(), VegasTcpAgent::recv(), TcpSessionAgent::recv(), NewRenoTcpAgent::recv(), FackTcpAgent::recv(), and CorresHost::rmv_old_segs().

#define CWND_ACTION_ECN   3
 

Definition at line 90 of file tcp.h.

Referenced by TcpAgent::dupack_action(), Sack1TcpAgent::dupack_action(), RenoTcpAgent::dupack_action(), NewRenoTcpAgent::dupack_action(), SackFullTcpAgent::dupack_action(), TahoeFullTcpAgent::dupack_action(), FullTcpAgent::dupack_action(), TcpAgent::ecn(), TcpAgent::quench(), TcpSessionAgent::quench(), TcpAgent::timeout(), and FullTcpAgent::timeout_action().

#define CWND_ACTION_TIMEOUT   2
 

Definition at line 89 of file tcp.h.

Referenced by CorresHost::clean_segs(), TcpAgent::ecn(), TcpAgent::opencwnd(), VegasTcpAgent::recv(), TcpAgent::slowdown(), TcpAgent::timeout(), VegasTcpAgent::timeout(), TcpSessionAgent::timeout(), SackRHTcpAgent::timeout(), FackTcpAgent::timeout(), FullTcpAgent::timeout_action(), and TcpFsAgent::timeout_nonrtx().

#define CWND_HALF_WITH_MIN   0x00000200
 

Definition at line 103 of file tcp.h.

Referenced by TcpAgent::process_qoption_after_send(), TcpAgent::rtt_counting(), and TcpAgent::slowdown().

#define NSA   3
 

Definition at line 45 of file tcp.h.

Referenced by Sacker::configure(), and Sacker::trace().

#define NUMDUPACKS   3
 

Definition at line 112 of file tcp.h.

#define T_RTT_BITS   0
 

Definition at line 179 of file tcp.h.

#define TCP_MAXSEQ   1073741824
 

Definition at line 114 of file tcp.h.

Referenced by FullTcpAgent::foutput(), and TcpAgent::sendmsg().

#define TCP_REASON_DUPACK   0x02
 

Definition at line 82 of file tcp.h.

Referenced by CorresHost::clean_segs(), Sack1TcpAgent::dupack_action(), RenoTcpAgent::dupack_action(), NewRenoTcpAgent::dupack_action(), VegasTcpAgent::recv(), FackTcpAgent::recv(), and TcpAgent::tcp_eln().

#define TCP_REASON_PARTIALACK   0x04
 

Definition at line 84 of file tcp.h.

Referenced by Sack1TcpAgent::partial_ack_action().

#define TCP_REASON_RBP   0x03
 

Definition at line 83 of file tcp.h.

Referenced by RBPRenoTcpAgent::paced_send_one(), RBPVegasTcpAgent::paced_send_one(), and QSNewRenoTcpAgent::paced_send_one().

#define TCP_REASON_TIMEOUT   0x01
 

Definition at line 81 of file tcp.h.

Referenced by TcpSessionAgent::send_much(), TcpAgent::timeout(), VegasTcpAgent::timeout(), TcpSessionAgent::timeout(), SackRHTcpAgent::timeout(), FackTcpAgent::timeout(), TcpAgent::timeout_nonrtx(), and TcpFsAgent::timeout_nonrtx_helper().

#define TCP_TIMER_BURSTSND   2
 

Definition at line 119 of file tcp.h.

Referenced by BurstSndTimer::expire(), SessionBurstSndTimer::expire(), and TcpSessionAgent::timeout().

#define TCP_TIMER_DELACK   3
 

Definition at line 120 of file tcp.h.

Referenced by DelAckTimer::expire(), BayDelAckTimer::expire(), FullTcpAgent::timeout(), and BayFullTcpAgent::timeout().

#define TCP_TIMER_DELSND   1
 

Definition at line 118 of file tcp.h.

Referenced by DelSndTimer::expire(), FullTcpAgent::timeout(), BayFullTcpAgent::timeout(), and TcpAgent::timeout_nonrtx().

#define TCP_TIMER_Q   4
 

Definition at line 121 of file tcp.h.

#define TCP_TIMER_RESET   5
 

Definition at line 122 of file tcp.h.

Referenced by SessionResetTimer::expire(), ResetTimer::expire(), NewRenoTcpFsAgent::partialnewack_helper(), CorresHost::rmv_old_segs(), TcpSessionAgent::timeout(), TcpFsAgent::timeout_nonrtx(), NewRenoTcpFsAgent::timeout_nonrtx_helper(), RenoTcpFsAgent::timeout_nonrtx_helper(), and TcpFsAgent::timeout_nonrtx_helper().

#define TCP_TIMER_RTX   0
 

Definition at line 117 of file tcp.h.

Referenced by RtxTimer::expire(), SessionRtxTimer::expire(), TcpAgent::timeout(), VegasTcpAgent::timeout(), TcpSessionAgent::timeout(), Sack1TcpAgent::timeout(), SackRHTcpAgent::timeout(), RenoTcpAgent::timeout(), RBPRenoTcpAgent::timeout(), RBPVegasTcpAgent::timeout(), QSNewRenoTcpAgent::timeout(), FullTcpAgent::timeout(), BayFullTcpAgent::timeout(), FackTcpAgent::timeout(), and TcpFsAgent::timeout_nonrtx().

#define THREE_QUARTER_SSTHRESH   0x00000080
 

Definition at line 101 of file tcp.h.

Referenced by TcpAgent::process_qoption_after_send(), TcpAgent::rtt_counting(), and TcpAgent::slowdown().


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