Basic object for error models
virtual int corrupt(Packet*) |
ErrorModel() |
inline double rate() |
virtual void recv(Packet*, Handler*) |
virtual void reset() |
inline ErrorUnit unit() |
double bandwidth_ |
int enable_ |
int firstTime_ |
Event intr_ |
int markecn_ |
RandomVariable* ranvar_ |
double rate_ |
ErrorUnit unit_ |
virtual int command(int argc, const char*const* argv) |
int CorruptByte(Packet*) |
int CorruptPkt(Packet*) |
int CorruptTime(Packet*) |
double PktLength(Packet*) |
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() |
int debug_ |
int off_cmn_ |
int off_flags_ |
Basic object for error models. This can be used unchanged by error models that are characterized by a single parameter, the rate of errors (or equivalently, the mean duration/spacing between errors). Currently, this includes the uniform and exponentially-distributed models.
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