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  

DRR Class Reference

Inheritance diagram for DRR:

Queue< T > Connector NsObject TclObject Handler List of all members.

Public Member Functions

 DRR ()
virtual int command (int argc, const char *const *argv)
Packetdeque (void)
void enque (Packet *pkt)
int hash (Packet *pkt)
void clear ()
int length ()
int blength ()

Protected Member Functions

PacketDRRgetMaxflow (PacketDRR *curr)

Protected Attributes

int buckets_
int blimit_
int quantum_
int mask_
int bytecnt
int pktcnt
int flwcnt

Constructor & Destructor Documentation


Member Function Documentation

int DRR::blength   [inline]

void DRR::clear  

int DRR::command int    argc,
const char *const *    argv

Reimplemented from Connector.

Packet * DRR::deque void    [virtual]

Implements Queue< T >.

void DRR::enque Packet   pkt [virtual]

Implements Queue< T >.

PacketDRR* DRR::getMaxflow PacketDRR   curr [inline, protected]

int DRR::hash Packet   pkt

int DRR::length   [inline]

Reimplemented from Queue< T >.

Member Data Documentation

int DRR::blimit_ [protected]

int DRR::buckets_ [protected]

int DRR::bytecnt [protected]

PacketDRR* DRR::curr [protected]

PacketDRR* DRR::drr [protected]

int DRR::flwcnt [protected]

int DRR::mask_ [protected]

int DRR::pktcnt [protected]

int DRR::quantum_ [protected]

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