class <ErrorModel/List> ListErrorModel : public ErrorModel
List error model: specify which packets to drop in tcl
Inheritance:
Public Methods
int command(int argc, const char*const* argv) |
-
-
-
-
-
-
-
Protected Fields
int cnt_ |
- cnt of pkts/bytes we've seen
int cur_ |
- current index into droplist_
int dropcnt_ |
- entries in droplist_ total
int* droplist_ |
- array of pkt/byte s to affect
Protected Methods
static int intcomp(const void*, const void*) |
- for qsort
-
-
-
-
Public Methods
inline double rate() |
-
-
-
Protected Fields
double bandwidth_ |
int enable_ |
int firstTime_ |
-
int markecn_ |
-
double rate_ |
-
Protected Methods
-
-
-
-
Public Methods
-
-
Protected Fields
-
-
Protected Methods
-
-
Public Methods
virtual void debug(const char *fmt, ...) |
-
-
-
Protected Fields
int debug_ |
int off_cmn_ |
int off_flags_ |
Protected Methods
-
Documentation
List error model: specify which packets to drop in tcl
ListErrorModel()
~ListErrorModel()
virtual int corrupt(Packet*)
int command(int argc, const char*const* argv)
int parse_droplist(int argc, const char *const*)
static int nextval(const char*&p)
static int intcomp(const void*, const void*)
- for qsort
int cnt_
- cnt of pkts/bytes we've seen
int* droplist_
- array of pkt/byte s to affect
int dropcnt_
entries in droplist_ total
int cur_
current index into droplist_
- 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