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  

redQueue Class Reference

#include <dsredq.h>

List of all members.

Public Member Functions

 redQueue ()
void config (int prec, int argc, const char *const *argv)
void initREDStateVar (void)
void updateVREDLen (int)
void updateIdleFlag (int)
void updateREDStateVar (int prec)
int enque (Packet *pkt, int prec, int ecn)
Packetdeque (void)
double getWeightedLength ()
int getRealLength (void)
double getWeightedLength_v (int prec)
int getRealLength_v (int prec)
void setPTC (double outLinkBW)
void setMPS (int mps)

Public Attributes

int numPrec
int qlim
mredModeType mredMode

Private Member Functions

void calcAvg (int prec, int m)

Private Attributes

qParam qParam_ [MAX_PREC]

Constructor & Destructor Documentation


Member Function Documentation

void redQueue::calcAvg int    prec,
int    m

void redQueue::config int    prec,
int    argc,
const char *const *    argv

Packet * redQueue::deque void   

int redQueue::enque Packet   pkt,
int    prec,
int    ecn

int redQueue::getRealLength void   

int redQueue::getRealLength_v int    prec

double redQueue::getWeightedLength  

double redQueue::getWeightedLength_v int    prec

void redQueue::initREDStateVar void   

void redQueue::setMPS int    mps

void redQueue::setPTC double    outLinkBW

void redQueue::updateIdleFlag int   

void redQueue::updateREDStateVar int    prec

void redQueue::updateVREDLen int   

Member Data Documentation

mredModeType redQueue::mredMode

int redQueue::numPrec

PacketQueue* redQueue::q_ [private]

int redQueue::qlim

qParam redQueue::qParam_[MAX_PREC] [private]

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