Basic object for error models
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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.
virtual void recv(Packet*, Handler*)
virtual void reset()
virtual int corrupt(Packet*)
inline double rate()
inline ErrorUnit unit()
virtual int command(int argc, const char*const* argv)
int CorruptPkt(Packet*)
int CorruptTime(Packet*)
int CorruptByte(Packet*)
double PktLength(Packet*)
int enable_
int markecn_
int firstTime_
ErrorUnit unit_
double rate_
double bandwidth_
RandomVariable* ranvar_
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