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  

TfrcAgent Class Reference

#include <tfrc.h>

Inheritance diagram for TfrcAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 TfrcAgent ()
void recv (Packet *, Handler *)
void sendpkt ()
void nextpkt ()
int command (int argc, const char *const *argv)
void start ()
void stop ()
void update_rtt (double tao, double now)
void increase_rate (double p)
void decrease_rate ()
void slowstart ()
void reduce_rate_on_no_feedback ()
void advanceby (int delta)
void sendmsg (int nbytes, const char *flags=0)

Protected Attributes

TfrcSendTimer send_timer_
TfrcNoFeedbackTimer NoFeedbacktimer_
int SndrType_
int maxseq_
int seqno_
int psize_
double rate_
double oldrate_
double delta_
int rate_change_
double rcvrate
double maxrate_
double ss_maxrate_
int printStatus_
int datalimited_
int oldCode_
double last_pkt_time_
double rtt_
double rttcur_
double rttvar_
double tzero_
double sqrtrtt_
int ca_
int t_srtt_
int t_rtt_
int t_rttvar_
int rttvar_exp_
double t_rtxcur_
double tcp_tick_
int srtt_init_
int rttvar_init_
double rtxcur_init_
int InitRate_
double df_
double last_change_
double ssmult_
int bval_
double overhead_
TracedInt ndatapack_
int UrgentFlag
int active_
int round_id
int first_pkt_rcvd
int ecn_
int conservative_
double scmult_
int heavyrounds_
int maxHeavyRounds_


class TfrcSendTimer
class TfrcNoFeedbackTimer

Constructor & Destructor Documentation


Member Function Documentation

void TfrcAgent::advanceby int    delta

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

Reimplemented from Agent.

void TfrcAgent::decrease_rate  

void TfrcAgent::increase_rate double    p

void TfrcAgent::nextpkt  

void TfrcAgent::recv Packet  ,

Reimplemented from Agent.

void TfrcAgent::reduce_rate_on_no_feedback  

void TfrcAgent::sendmsg int    nbytes,
const char *    flags = 0

Reimplemented from Agent.

void TfrcAgent::sendpkt  

void TfrcAgent::slowstart  

void TfrcAgent::start  

void TfrcAgent::stop  

void TfrcAgent::update_rtt double    tao,
double    now

Friends And Related Function Documentation

friend class TfrcNoFeedbackTimer [friend]

friend class TfrcSendTimer [friend]

Member Data Documentation

int TfrcAgent::active_ [protected]

int TfrcAgent::bval_ [protected]

int TfrcAgent::ca_ [protected]

int TfrcAgent::conservative_ [protected]

int TfrcAgent::datalimited_ [protected]

double TfrcAgent::delta_ [protected]

double TfrcAgent::df_ [protected]

int TfrcAgent::ecn_ [protected]

int TfrcAgent::first_pkt_rcvd [protected]

int TfrcAgent::heavyrounds_ [protected]

int TfrcAgent::InitRate_ [protected]

double TfrcAgent::last_change_ [protected]

double TfrcAgent::last_pkt_time_ [protected]

int TfrcAgent::maxHeavyRounds_ [protected]

double TfrcAgent::maxrate_ [protected]

int TfrcAgent::maxseq_ [protected]

TracedInt TfrcAgent::ndatapack_ [protected]

TfrcNoFeedbackTimer TfrcAgent::NoFeedbacktimer_ [protected]

int TfrcAgent::oldCode_ [protected]

double TfrcAgent::oldrate_ [protected]

double TfrcAgent::overhead_ [protected]

int TfrcAgent::printStatus_ [protected]

int TfrcAgent::psize_ [protected]

double TfrcAgent::rate_ [protected]

int TfrcAgent::rate_change_ [protected]

double TfrcAgent::rcvrate [protected]

int TfrcAgent::round_id [protected]

double TfrcAgent::rtt_ [protected]

double TfrcAgent::rttcur_ [protected]

double TfrcAgent::rttvar_ [protected]

int TfrcAgent::rttvar_exp_ [protected]

int TfrcAgent::rttvar_init_ [protected]

double TfrcAgent::rtxcur_init_ [protected]

double TfrcAgent::scmult_ [protected]

TfrcSendTimer TfrcAgent::send_timer_ [protected]

int TfrcAgent::seqno_ [protected]

int TfrcAgent::SndrType_ [protected]

double TfrcAgent::sqrtrtt_ [protected]

int TfrcAgent::srtt_init_ [protected]

double TfrcAgent::ss_maxrate_ [protected]

double TfrcAgent::ssmult_ [protected]

int TfrcAgent::t_rtt_ [protected]

int TfrcAgent::t_rttvar_ [protected]

int TfrcAgent::T_RTTVAR_BITS [protected]

double TfrcAgent::t_rtxcur_ [protected]

int TfrcAgent::t_srtt_ [protected]

int TfrcAgent::T_SRTT_BITS [protected]

double TfrcAgent::tcp_tick_ [protected]

double TfrcAgent::tzero_ [protected]

int TfrcAgent::UrgentFlag [protected]

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