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  

PolicyClassifier Class Reference

#include <dsPolicy.h>

Inheritance diagram for PolicyClassifier:

TclObject List of all members.

Public Member Functions

 PolicyClassifier ()
void addPolicyEntry (int argc, const char *const *argv)
void addPolicerEntry (int argc, const char *const *argv)
void updatePolicyRTT (int argc, const char *const *argv)
double getCBucket (const char *const *argv)
int mark (Packet *pkt)
void printPolicyTable ()
void printPolicerTable ()

Public Attributes

Policypolicy_pool [MAX_POLICIES]

Protected Member Functions

policyTableEntrygetPolicyTableEntry (nsaddr_t source, nsaddr_t dest)
policerTableEntrygetPolicerTableEntry (int policy_index, int oldCodePt)

Protected Attributes

policyTableEntry policyTable [MAX_POLICIES]
int policyTableSize
policerTableEntry policerTable [MAX_CP]
int policerTableSize

Constructor & Destructor Documentation


Member Function Documentation

void PolicyClassifier::addPolicerEntry int    argc,
const char *const *    argv

void PolicyClassifier::addPolicyEntry int    argc,
const char *const *    argv

double PolicyClassifier::getCBucket const char *const *    argv

policerTableEntry * PolicyClassifier::getPolicerTableEntry int    policy_index,
int    oldCodePt

policyTableEntry * PolicyClassifier::getPolicyTableEntry nsaddr_t    source,
nsaddr_t    dest

int PolicyClassifier::mark Packet   pkt

void PolicyClassifier::printPolicerTable  

void PolicyClassifier::printPolicyTable  

void PolicyClassifier::updatePolicyRTT int    argc,
const char *const *    argv

Member Data Documentation

policerTableEntry PolicyClassifier::policerTable[MAX_CP] [protected]

int PolicyClassifier::policerTableSize [protected]

Policy* PolicyClassifier::policy_pool[MAX_POLICIES]

policyTableEntry PolicyClassifier::policyTable[MAX_POLICIES] [protected]

int PolicyClassifier::policyTableSize [protected]

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