class <CBQClass> CBQClass : public Connector


Inheritance:


Public Fields

CBQClass instvar automaxidle_gain_
friend class CBQueue
CBQClass instvar maxidle_
CBQClass instvar priority_
friend class WRR_CBQueue

Public Methods

CBQClass instproc automaxidle { linkbw maxpkt }
CBQClass()
int command(int argc, const char*const* argv)
CBQClass instproc init {}
CBQClass instproc install-queue q
void recv(Packet*, Handler*)
from upstream classifier
CBQClass instproc setparams { parent okborrow allot maxidle prio level xdelay }

Protected Fields

double allotment_
frac of link bw
double avgidle_
EWMA of idle
int bytes_alloc_
for wrr only
CBQueue* cbq_
the CBQueue I'm part of
int delayed_
boolean-was I delayed
double extradelay_
adjustment to delay
double last_time_
last xmit time this class
CBQClass* lender_
parent I can borrow from
int level_
depth in link-sharing tree
CBQClass* level_peer_
peer at same LS level
double maxidle_
bound on idle time
double maxrate_
bound on bytes/sec rate
CBQClass* peer_
peer at same sched prio level
int permit_borrowing_
ok to borrow?
int pri_
priority for scheduler
Queue* q_
underlying queue
QueueMonitor* qmon_
monitor for the queue
double undertime_
will become unsat/eligible

Protected Methods

int ancestor(CBQClass*p)
are we an ancestor of p?
void delayed(double)
when overlim/can't borrow
int demand()
do I have demand?
int desc_with_demand()
any desc has demand?
int leaf()
am I a leaf class?
void newallot(double)
change an allotment
int satisfied(double)
satisfied?
void update(Packet*, double)
update when sending pkt

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

virtual void drop(Packet* p, const char *s)
inline void send(Packet* p, Handler* h)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

friend class CBQueue

friend class WRR_CBQueue

CBQClass()

int command(int argc, const char*const* argv)

void recv(Packet*, Handler*)
from upstream classifier

void newallot(double)
change an allotment

void update(Packet*, double)
update when sending pkt

void delayed(double)
when overlim/can't borrow

int satisfied(double)
satisfied?

int demand()
do I have demand?

int leaf()
am I a leaf class?

int ancestor(CBQClass*p)
are we an ancestor of p?

int desc_with_demand()
any desc has demand?

CBQueue* cbq_
the CBQueue I'm part of

CBQClass* peer_
peer at same sched prio level

CBQClass* level_peer_
peer at same LS level

CBQClass* lender_
parent I can borrow from

Queue* q_
underlying queue

QueueMonitor* qmon_
monitor for the queue

double allotment_
frac of link bw

double maxidle_
bound on idle time

double maxrate_
bound on bytes/sec rate

double extradelay_
adjustment to delay

double last_time_
last xmit time this class

double undertime_
will become unsat/eligible

double avgidle_
EWMA of idle

int pri_
priority for scheduler

int level_
depth in link-sharing tree

int delayed_
boolean-was I delayed

int bytes_alloc_
for wrr only

int permit_borrowing_
ok to borrow?

CBQClass instproc init {}

CBQClass instvar automaxidle_gain_

CBQClass instproc automaxidle { linkbw maxpkt }

CBQClass instvar maxidle_

CBQClass instvar priority_

CBQClass instproc setparams { parent okborrow allot maxidle prio level xdelay }

CBQClass instproc install-queue q


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de