| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <ew.h>
Inheritance diagram for EWPolicy:

Public Member Functions | |
| EWPolicy () | |
| ~EWPolicy () | |
| void | init (int, int, int) |
| void | applyMeter (policyTableEntry *policy, Packet *pkt) |
| int | applyPolicer (policyTableEntry *policy, policerTableEntry *policer, Packet *pkt) |
| int | dropPacket (Packet *) |
| void | detect (Packet *pkt) |
| void | detectPr () |
| void | detectPr (int) |
| void | detectPr (int, int) |
| void | detectBr () |
| void | detectBr (int) |
| void | detectBr (int, int) |
| void | limitPr () |
| void | limitPr (double) |
| void | limitBr () |
| void | limitBr (double) |
| void | coupleEW (EWPolicy *) |
| void | coupleEW (EWPolicy *, double) |
Public Attributes | |
| EWdetectorB * | ewB |
| EWdetectorB * | cewB |
| EWdetectorP * | ewP |
| EWdetectorP * | cewP |
| TBrateLimitor * | rlP |
| TBrateLimitor * | rlB |
Private Attributes | |
| double | now |
| int | ew_adj |
| int | qsrc |
| int | qdst |
| int | max_p |
| int | max_b |
| int | alarm |
| int | pre_alarm |
| int | change |
|
|
|
|
|
|
|
||||||||||||
|
Implements Policy. |
|
||||||||||||||||
|
Implements Policy. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|