class <SelectErrorModel> SelectErrorModel : public ErrorModel

For Selective packet drop

Inheritance:


Public Methods

virtual int corrupt(Packet*)
SelectErrorModel()

Protected Fields

int drop_cycle_
int drop_offset_
packet_t pkt_type_

Protected Methods

int command(int argc, const char*const* argv)

Inherited from ErrorModel:

Public Methods

inline double rate()
virtual void recv(Packet*, Handler*)
virtual void reset()
inline ErrorUnit unit()

Protected Fields

double bandwidth_
int enable_
int firstTime_
Event intr_
int markecn_
RandomVariable* ranvar_
double rate_
ErrorUnit unit_

Protected Methods

int CorruptByte(Packet*)
int CorruptPkt(Packet*)
int CorruptTime(Packet*)
double PktLength(Packet*)

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)
inline void send(Packet* p, Handler* h)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)

Inherited from Handler:


Documentation

For Selective packet drop
SelectErrorModel()

virtual int corrupt(Packet*)

int command(int argc, const char*const* argv)

packet_t pkt_type_

int drop_cycle_

int drop_offset_


Direct child classes:
SRMErrorModel

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