class <Agent/RTP/TFCC/ETFCC> ETFCCAgent : public TFCCAgent


Inheritance:


Public Methods

ETFCCAgent()

Protected Fields

int cseq_save_
saved copy of cseq
double efactor_
multiplier of eqn
double kfactor_
slop multiplier on eqn

Protected Methods

int echkint()
double eqn_droprate(double interv)
double eqn_interval(double)
void loss_event(int nlost)
void nopeer()

Inherited from TFCCAgent:

Protected Classes

class TFCCAckTimer: public TimerHandler
TFCCAckTimer(TFCCAgent *a)
void expire(Event *)
TFCCAgent* a_
class TFCCRttTimer: public TimerHandler
TFCCRttTimer(TFCCAgent *a)
void expire(Event *)
TFCCAgent* a_

Protected Fields

double ack_interval_
TFCCAckTimer ack_timer_
double alpha_
double beta_
int cseq_
int expected_
int highest_cseq_seen_
int last_cseq_checked_
int last_ecn_
int last_expected_
double last_loss_time_
double last_rtime_
double last_ts_
double maxrtt_
double minrtt_
int needresponse_
int nlost_
int nrcv_
double peer_interval_
double peer_rtt_est_
int plost_
TFCCRttTimer rtt_timer_
double rttvar_
int silence_
int silence_thresh_
double srtt_
double srtt_chg_
friend TFCCAckTimer
friend TFCCRttTimer

Protected Methods

void ack_rate_change()
virtual void ack_timeout(TimerHandler*)
virtual void ecn_event()
virtual void makepkt(Packet*)
double now()
virtual void peer_rttest_known(double)
virtual void recv(Packet*, Handler*)
virtual void rtt_known(double)
double rtt_sample(double samp)
virtual void rtt_timeout(TimerHandler*)
virtual void slowdown(int)
virtual void speedup()
virtual void stop()
virtual double winchg()

Inherited from RTPAgent:

Public Methods

void advanceby(int delta)
virtual int command(int argc, const char*const* argv)
Agent/RTP instproc done {}
virtual void sendmsg(int nbytes, const char *flags = 0)
virtual void timeout(int)

Protected Fields

double interval_
double lastpkttime_
int maxpkts_
int off_rtp_
int random_
RTPTimer rtp_timer_
int running_
int seqno_
RTPSession* session_

Protected Methods

virtual void finish()
void rate_change()
virtual void sendpkt()
virtual void start()

Inherited from Agent:

Public Fields

Agent instvar agent_port_
Agent instvar dst_addr_
Agent instvar dst_port_
Agent instvar namTrace_
Agent instvar tg_

Public Methods

inline nsaddr_t& addr()
Agent instproc attach-app {s_type}
Agent instproc attach-source {s_type}
Agent instproc attach-tbf { tbf }
Agent instproc attach-trace { file }
virtual void attachApp(Application* app)
virtual void close()
Agent instproc connect d
virtual void connect(nsaddr_t dst)
inline nsaddr_t& daddr()
inline nsaddr_t& dport()
Agent instproc dst-port {}
Agent instproc init args
virtual void listen()
inline nsaddr_t& port()
Agent instproc port {}
virtual void send(int nbytes)
void send(Packet* p, Handler* h)
virtual void send(int sz, AppData *data)
virtual void sendto(int sz, AppData*, const char* flags = 0)
virtual void sendto(int nbytes, const char* flags, nsaddr_t dst)
Agent instproc set args
void set_pkttype(packet_t pkttype)
virtual int& size()
Agent instproc traffic-source agent

Protected Fields

Application* app_
Tcl_Channel channel_
int class_
int defttl_
ns_addr_t dst_
int fid_
int flags_
ns_addr_t here_
int off_ip_
OldValue* oldValueList_
int prio_
int size_
char* traceName_
packet_t type_
static int uidcnt_

Protected Methods

void addAgentTrace(const char *name)
Packet* allocpkt(int)
Packet* allocpkt()
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
void deleteAgentTrace()
void dumpTracedVars()
virtual void idle()
void initpkt(Packet*)
void insertOldValue(TracedVar *v, const char *value)
OldValue* lookupOldValue(TracedVar *v)
void monitorAgentTrace()
virtual void recvBytes(int bytes)
virtual void trace(TracedVar *v)

Private Methods

void flushAVar(TracedVar *v)

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

virtual void drop(Packet* p, const char *s)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

ETFCCAgent()

int cseq_save_
saved copy of cseq

double efactor_
multiplier of eqn

double kfactor_
slop multiplier on eqn

void loss_event(int nlost)

double eqn_interval(double)

double eqn_droprate(double interv)

int echkint()

void nopeer()


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de