INET Framework for OMNeT++/OMNEST
|
Implementation of Random Early Detection (RED). More...
#include <REDDropper.h>
Public Member Functions | |
REDDropper () | |
Public Member Functions inherited from inet::AlgorithmicDropperBase | |
AlgorithmicDropperBase () | |
virtual | ~AlgorithmicDropperBase () |
Public Member Functions inherited from inet::IQueueAccess | |
virtual | ~IQueueAccess () |
Protected Member Functions | |
virtual | ~REDDropper () |
virtual void | initialize () override |
virtual bool | shouldDrop (cPacket *packet) override |
virtual void | sendOut (cPacket *packet) override |
Protected Member Functions inherited from inet::AlgorithmicDropperBase | |
virtual void | handleMessage (cMessage *msg) override |
virtual void | dropPacket (cPacket *packet) |
virtual int | getLength () const override |
Returns the number of frames in the queue. More... | |
virtual int | getByteLength () const override |
Returns the number of bytes in the queue. More... | |
Protected Attributes | |
double | wq = 0.0 |
double * | minths = nullptr |
double * | maxths = nullptr |
double * | maxps = nullptr |
double * | pkrates = nullptr |
double * | count = nullptr |
double | avg = 0.0 |
simtime_t | q_time |
Protected Attributes inherited from inet::AlgorithmicDropperBase | |
int | numGates |
std::vector< IQueueAccess * > | outQueues |
std::set< IQueueAccess * > | outQueueSet |
Implementation of Random Early Detection (RED).
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::AlgorithmicDropperBase.
|
overrideprotectedvirtual |
Reimplemented from inet::AlgorithmicDropperBase.
|
overrideprotectedvirtual |
Implements inet::AlgorithmicDropperBase.
|
protected |
Referenced by shouldDrop().
|
protected |
Referenced by initialize(), shouldDrop(), and ~REDDropper().
|
protected |
Referenced by initialize(), shouldDrop(), and ~REDDropper().
|
protected |
Referenced by initialize(), shouldDrop(), and ~REDDropper().
|
protected |
Referenced by initialize(), shouldDrop(), and ~REDDropper().
|
protected |
Referenced by initialize(), shouldDrop(), and ~REDDropper().
|
protected |
Referenced by sendOut(), shouldDrop(), and ~REDDropper().
|
protected |
Referenced by initialize(), and shouldDrop().