class <Agent/TCPSink/Asym> TcpAsymSink : public DelAckSink


Inheritance:


Public Methods

virtual void recv(Packet* pkt, Handler* h)
TcpAsymSink(Acker*)
virtual void timeout(int tno)

Protected Fields

int delackcount_
the number of consecutive packets that have not been acked yet
int delackfactor_
the dynamically varying limit on the extent to which acks can be delayed
int delacklim_
limit on the extent of del ack based on the sender's window
double highest_ts_echo_
the highest timestamp echoed by the peer
int maxdelack_
the maximum extent to which acks can be delayed
double ts_decrease_
the time when delackfactor_ was decreased last
double ts_ecn_
the time when an ECN was received last

Protected Methods

virtual void add_to_ack(Packet* pkt)

Inherited from DelAckSink:

Protected Fields

DelayTimer delay_timer_
double interval_

Inherited from TcpSink:

Public Methods

int command(int argc, const char*const* argv)
TracedInt& maxsackblocks()
void reset()

Protected Fields

Acker* acker_
int generate_dsacks_
TracedInt max_sack_blocks_
int RFC2581_immediate_ack_
Packet* save_
int ts_echo_bugfix_

Protected Methods

void ack(Packet*)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
friend void Sacker::configure(TcpSink*)

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)
virtual void send(int sz, AppData *data)
void send(Packet* p, Handler* h)
virtual void sendmsg(int nbytes, const char *flags = 0)
virtual void sendmsg(int sz, AppData*, const char* flags = 0)
virtual void sendto(int nbytes, const char* flags, nsaddr_t dst)
virtual void sendto(int sz, AppData*, const char* flags = 0)
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 seqno_
int size_
char* traceName_
packet_t type_
static int uidcnt_

Protected Methods

void addAgentTrace(const char *name)
Packet* allocpkt()
Packet* allocpkt(int)
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*)

Inherited from Handler:


Documentation

TcpAsymSink(Acker*)

virtual void recv(Packet* pkt, Handler* h)

virtual void timeout(int tno)

virtual void add_to_ack(Packet* pkt)

int delackcount_
the number of consecutive packets that have not been acked yet

int maxdelack_
the maximum extent to which acks can be delayed

int delackfactor_
the dynamically varying limit on the extent to which acks can be delayed

int delacklim_
limit on the extent of del ack based on the sender's window

double ts_ecn_
the time when an ECN was received last

double ts_decrease_
the time when delackfactor_ was decreased last

double highest_ts_echo_
the highest timestamp echoed by the peer


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