#include <REDDropper.h>
Definition at line 31 of file REDDropper.h.
bool REDDropper::dropOrMark |
( |
RMTQueue * |
queue | ) |
|
|
private |
Either drops or marks the last PDU in given queue (depending on the NED setting).
- Parameters
-
- Returns
- true for PDU drop, false for PDU mark
Definition at line 42 of file REDDropper.cc.
Referenced by run().
void REDDropper::onPolicyInit |
( |
| ) |
|
|
privatevirtual |
A hook method invoked after the initial setup of policy module.
Reimplemented from RMTMaxQBase.
Definition at line 27 of file REDDropper.cc.
bool REDDropper::run |
( |
RMTQueue * |
queue | ) |
|
|
virtual |
Decides whether to mark/drop last incoming packet in a queue.
- Parameters
-
- Returns
- true for PDU drop, false for PDU mark
Reimplemented from RMTMaxQBase.
Definition at line 64 of file REDDropper.cc.
The documentation for this class was generated from the following files: