class ErrorModel/Uniform : ErrorModel <ErrorModel>


Inheritance:


Public Methods

ErrorModel/Uniform instproc init {rate {unit "pkt"}}

Inherited from ErrorModel:

Public Methods

virtual int corrupt(Packet*)
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

virtual int command(int argc, const char*const* argv)
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

ErrorModel/Uniform instproc init {rate {unit "pkt"}}


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