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  

VegasTcpAgent Class Reference

#include <tcp.h>

Inheritance diagram for VegasTcpAgent:

TcpAgent Agent Connector NsObject TclObject Handler RBPVegasTcpAgent List of all members.

Public Member Functions

 VegasTcpAgent ()
 ~VegasTcpAgent ()
virtual void recv (Packet *pkt, Handler *)
virtual void timeout (int tno)

Protected Member Functions

double vegastime ()
virtual void output (int seqno, int reason=0)
virtual void recv_newack_helper (Packet *)
int vegas_expire (Packet *)
void reset ()
void vegas_inflate_cwnd (int win, double current_time)
virtual void delay_bind_init_all ()
virtual int delay_bind_dispatch (const char *varName, const char *localName, TclObject *tracer)

Protected Attributes

double t_cwnd_changed_
double firstrecv_
int v_alpha_
int v_beta_
int v_gamma_
int v_slowstart_
int v_worried_
double v_timeout_
double v_rtt_
double v_sa_
double v_sd_
int v_cntRTT_
double v_sumRTT_
double v_begtime_
int v_begseq_
int * v_transmits_
int v_maxwnd_
double v_newcwnd_
double v_baseRTT_
double v_incr_
int v_inc_flag_
double v_actual_
int ns_vegas_fix_level_

Constructor & Destructor Documentation



Member Function Documentation

int VegasTcpAgent::delay_bind_dispatch const char *    varName,
const char *    localName,
TclObject   tracer
[protected, virtual]

Reimplemented from TcpAgent.

void VegasTcpAgent::delay_bind_init_all   [protected, virtual]

Reimplemented from TcpAgent.

void VegasTcpAgent::output int    seqno,
int    reason = 0
[protected, virtual]

Reimplemented from TcpAgent.

void VegasTcpAgent::recv Packet   pkt,

Reimplemented from TcpAgent.

Reimplemented in RBPVegasTcpAgent.

void VegasTcpAgent::recv_newack_helper Packet   [protected, virtual]

Reimplemented from TcpAgent.

void VegasTcpAgent::reset   [protected, virtual]

Reimplemented from TcpAgent.

void VegasTcpAgent::timeout int    tno [virtual]

Reimplemented from TcpAgent.

Reimplemented in RBPVegasTcpAgent.

int VegasTcpAgent::vegas_expire Packet   [protected]

void VegasTcpAgent::vegas_inflate_cwnd int    win,
double    current_time

double VegasTcpAgent::vegastime   [inline, protected]

Member Data Documentation

double VegasTcpAgent::firstrecv_ [protected]

int VegasTcpAgent::ns_vegas_fix_level_ [protected]

double VegasTcpAgent::t_cwnd_changed_ [protected]

double VegasTcpAgent::v_actual_ [protected]

int VegasTcpAgent::v_alpha_ [protected]

double VegasTcpAgent::v_baseRTT_ [protected]

int VegasTcpAgent::v_begseq_ [protected]

double VegasTcpAgent::v_begtime_ [protected]

int VegasTcpAgent::v_beta_ [protected]

int VegasTcpAgent::v_cntRTT_ [protected]

int VegasTcpAgent::v_gamma_ [protected]

int VegasTcpAgent::v_inc_flag_ [protected]

double VegasTcpAgent::v_incr_ [protected]

int VegasTcpAgent::v_maxwnd_ [protected]

double VegasTcpAgent::v_newcwnd_ [protected]

double VegasTcpAgent::v_rtt_ [protected]

double VegasTcpAgent::v_sa_ [protected]

double VegasTcpAgent::v_sd_ [protected]

double* VegasTcpAgent::v_sendtime_ [protected]

int VegasTcpAgent::v_slowstart_ [protected]

double VegasTcpAgent::v_sumRTT_ [protected]

double VegasTcpAgent::v_timeout_ [protected]

int* VegasTcpAgent::v_transmits_ [protected]

int VegasTcpAgent::v_worried_ [protected]

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