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  

SRR Class Reference

Inheritance diagram for SRR:

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

Public Member Functions

 SRR ()
virtual int command (int argc, const char *const *argv)
Packetdeque (void)
void enque (Packet *pkt)
void clear ()
PacketSRRgetMaxflow ()
int length ()
int blength ()
int add_to_WM (int queueid, int weight)
int del_from_WM (int queueid, int weight)
wm_nodegetNextNode ()

Public Attributes

int maxqueuenumber_
int blimit_
int bytecnt
int pktcnt
int flwcnt
int last_queueid
int last_size
PacketSRR srr [MAXFLOW]
int f2q [MAXFLOW]
int private_rate [MAXFLOW]
int mtu_
int granularity_
int maxRate
int minRate
WSS wss
wm_node wmHead [MAXWSSORDER]
wm_node wmTail [MAXWSSORDER]
wm_nodepRowHead [MAXFLOW]
wm_nodepRowTail [MAXFLOW]
int wmEmptyFlag
int maxColumn
int currMaxColumn
int min_quantum

Constructor & Destructor Documentation


Member Function Documentation

int SRR::add_to_WM int    queueid,
int    weight

int SRR::blength   [inline]

void SRR::clear  

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

Reimplemented from Connector.

int SRR::del_from_WM int    queueid,
int    weight

Packet * SRR::deque void    [virtual]

Implements Queue< T >.

void SRR::enque Packet   pkt [virtual]

Implements Queue< T >.

PacketSRR* SRR::getMaxflow   [inline]

struct wm_node * SRR::getNextNode  

int SRR::length   [inline]

Reimplemented from Queue< T >.

Member Data Documentation

int SRR::blimit_

int SRR::bytecnt

int SRR::currMaxColumn

int SRR::f2q[MAXFLOW]

int SRR::flwcnt

int SRR::granularity_

int SRR::last_queueid

int SRR::last_size

int SRR::maxColumn

int SRR::maxqueuenumber_

int SRR::maxRate

int SRR::min_quantum

int SRR::minRate

int SRR::mtu_

int SRR::pktcnt

int SRR::private_rate[MAXFLOW]

struct wm_node* SRR::pRowHead[MAXFLOW]

struct wm_node* SRR::pRowTail[MAXFLOW]

struct wm_node* SRR::pwmCurr


int SRR::wmEmptyFlag

struct wm_node SRR::wmHead[MAXWSSORDER]

struct wm_node SRR::wmTail[MAXWSSORDER]

class WSS SRR::wss

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