class <ErrorModel/Trace/Mroute> MrouteErrorModel : public TraceErrorModel

error model for multicast routing,

Inheritance:


Public Methods

virtual int match(Packet* p)
inline int maxtype()
MrouteErrorModel()

Protected Fields

char msg_type[15]
to which to copy the message code (e
int off_mcast_ctrl_
don't forget to bind this to tcl

Protected Methods

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

Inherited from TraceErrorModel:

Public Fields

ErrorModel/Trace instvar file_
ErrorModel/Trace instvar good_
ErrorModel/Trace instvar loss_

Public Methods

virtual int corrupt(Packet* p)
ErrorModel/Trace instproc init {{filename ""}}
ErrorModel/Trace instproc open {filename}
ErrorModel/Trace instproc read {}

Protected Fields

double good_
double loss_

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

error model for multicast routing,... now inherits from trace.. later may make them separate and use pointer/containment.. etc
MrouteErrorModel()

virtual int match(Packet* p)

inline int maxtype()

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

int off_mcast_ctrl_
don't forget to bind this to tcl

char msg_type[15]
to which to copy the message code (e.g. "prune","join"). It's size is the same as type_ in prune.h [also returned by maxtype.]


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