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  

TcpSessionAgent Class Reference

#include <tcp-session.h>

Inheritance diagram for TcpSessionAgent:

CorresHost slink TcpFsAgent TcpAgent Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 TcpSessionAgent ()
int command (int argc, const char *const *argv)
void reset_rtx_timer (int mild, int backoff=1)
void set_rtx_timer ()
void cancel_rtx_timer ()
void cancel_timers ()
void newack (Packet *pkt)
int fs_pkt ()
void rtt_update_exact (double tao)
void timeout (int tno)
virtual Segmentadd_pkts (int size, int seqno, int sessionSeqno, int daddr, int dport, int sport, double ts, IntTcpAgent *sender)
virtual void add_agent (IntTcpAgent *agent, int size, double winMult, int winInc, int ssthresh)
int window ()
void set_weight (IntTcpAgent *tcp, int wt)
void reset_dyn_weights ()
IntTcpAgentwho_to_snd (int how)
void send_much (IntTcpAgent *agent, int force, int reason)
void recv (IntTcpAgent *agent, Packet *pkt, int amt_data_acked)
void setflags (Packet *pkt)
int findSessionSeqno (IntTcpAgent *sender, int seqno)
void removeSessionSeqno (int sessionSeqno)
void quench (int how, IntTcpAgent *sender, int seqno)
virtual void traceVar (TracedVar *v)

Static Public Attributes

Islist< TcpSessionAgent > sessionList_

Protected Attributes

SessionRtxTimer rtx_timer_
SessionBurstSndTimer burstsnd_timer_
int sessionSeqno_
double last_send_time_
int numConsecSegs_
int schedDisp_
int wtSum_
int dynWtSum_

Constructor & Destructor Documentation


Member Function Documentation

void TcpSessionAgent::add_agent IntTcpAgent   agent,
int    size,
double    winMult,
int    winInc,
int    ssthresh

Reimplemented from CorresHost.

Segment * TcpSessionAgent::add_pkts int    size,
int    seqno,
int    sessionSeqno,
int    daddr,
int    dport,
int    sport,
double    ts,
IntTcpAgent   sender

Reimplemented from CorresHost.

void TcpSessionAgent::cancel_rtx_timer   [virtual]

Reimplemented from TcpFsAgent.

void TcpSessionAgent::cancel_timers   [virtual]

Reimplemented from TcpFsAgent.

int TcpSessionAgent::command int    argc,
const char *const *    argv

Reimplemented from TcpAgent.

int TcpSessionAgent::findSessionSeqno IntTcpAgent   sender,
int    seqno

int TcpSessionAgent::fs_pkt  

void TcpSessionAgent::newack Packet   pkt

Reimplemented from TcpAgent.

void TcpSessionAgent::quench int    how,
IntTcpAgent   sender,
int    seqno

void TcpSessionAgent::recv IntTcpAgent   agent,
Packet   pkt,
int    amt_data_acked

void TcpSessionAgent::removeSessionSeqno int    sessionSeqno

void TcpSessionAgent::reset_dyn_weights  

void TcpSessionAgent::reset_rtx_timer int    mild,
int    backoff = 1

Reimplemented from TcpAgent.

void TcpSessionAgent::rtt_update_exact double    tao

void TcpSessionAgent::send_much IntTcpAgent   agent,
int    force,
int    reason

void TcpSessionAgent::set_rtx_timer   [virtual]

Reimplemented from TcpFsAgent.

void TcpSessionAgent::set_weight IntTcpAgent   tcp,
int    wt

void TcpSessionAgent::setflags Packet   pkt

void TcpSessionAgent::timeout int    tno [virtual]

Reimplemented from TcpAgent.

void TcpSessionAgent::traceVar TracedVar   v [virtual]

Reimplemented from TcpAgent.

IntTcpAgent * TcpSessionAgent::who_to_snd int    how

int TcpSessionAgent::window   [virtual]

Reimplemented from TcpAgent.

Member Data Documentation

SessionBurstSndTimer TcpSessionAgent::burstsnd_timer_ [protected]

Reimplemented from TcpAgent.

IntTcpAgent* TcpSessionAgent::curConn_ [protected]

int TcpSessionAgent::dynWtSum_ [protected]

Segment* TcpSessionAgent::last_seg_sent_ [protected]

double TcpSessionAgent::last_send_time_ [protected]

int TcpSessionAgent::numConsecSegs_ [protected]

SessionRtxTimer TcpSessionAgent::rtx_timer_ [protected]

Reimplemented from TcpAgent.

int TcpSessionAgent::schedDisp_ [protected]

Islist< TcpSessionAgent > TcpSessionAgent::sessionList_ [static]

int TcpSessionAgent::sessionSeqno_ [protected]

int TcpSessionAgent::wtSum_ [protected]

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