ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EWPolicy Class Reference

#include <ew.h>

Inheritance diagram for EWPolicy:

Policy TclObject List of all members.

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

EWdetectorBewB
EWdetectorBcewB
EWdetectorPewP
EWdetectorPcewP
TBrateLimitorrlP
TBrateLimitorrlB

Private Attributes

double now
int ew_adj
int qsrc
int qdst
int max_p
int max_b
int alarm
int pre_alarm
int change

Constructor & Destructor Documentation

EWPolicy::EWPolicy  
 

EWPolicy::~EWPolicy  
 


Member Function Documentation

void EWPolicy::applyMeter policyTableEntry   policy,
Packet   pkt
[virtual]
 

Implements Policy.

int EWPolicy::applyPolicer policyTableEntry   policy,
policerTableEntry   policer,
Packet   pkt
[virtual]
 

Implements Policy.

void EWPolicy::coupleEW EWPolicy *   ,
double   
 

void EWPolicy::coupleEW EWPolicy *   
 

void EWPolicy::detect Packet   pkt
 

void EWPolicy::detectBr int   ,
int   
 

void EWPolicy::detectBr int   
 

void EWPolicy::detectBr  
 

void EWPolicy::detectPr int   ,
int   
 

void EWPolicy::detectPr int   
 

void EWPolicy::detectPr  
 

int EWPolicy::dropPacket Packet  
 

void EWPolicy::init int   ,
int   ,
int   
 

void EWPolicy::limitBr double   
 

void EWPolicy::limitBr  
 

void EWPolicy::limitPr double   
 

void EWPolicy::limitPr  
 


Member Data Documentation

int EWPolicy::alarm [private]
 

EWdetectorB * EWPolicy::cewB
 

EWdetectorP * EWPolicy::cewP
 

int EWPolicy::change [private]
 

int EWPolicy::ew_adj [private]
 

EWdetectorB* EWPolicy::ewB
 

EWdetectorP* EWPolicy::ewP
 

int EWPolicy::max_b [private]
 

int EWPolicy::max_p [private]
 

double EWPolicy::now [private]
 

int EWPolicy::pre_alarm [private]
 

int EWPolicy::qdst [private]
 

int EWPolicy::qsrc [private]
 

TBrateLimitor * EWPolicy::rlB
 

TBrateLimitor* EWPolicy::rlP
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.