class <Queue/RED> REDQueue : public Queue


Inheritance:


Public Methods

Queue/RED instproc enable-vartrace file
REDQueue()
Queue/RED instproc set args

Protected Fields

int bcount_
byte count
TracedInt curq_
current qlen seen by arrivals
NsObject* de_drop_
drop_early target
int doubleq_
for experiments with priority for small packets
int dqthresh_
for experiments with priority for small packets
int drop_front_
drop-from-front
int drop_rand_
drop-tail, or drop random?
int drop_tail_
Static state
edp edp_
early-drop params
edv edv_
early-drop variables
int fifo_
fifo queue?
int idle_
Dynamic state
double idletime_
if so, since this time
LinkDelay* link_
outgoing link
int ns1_compat_
for ns-1 compatibility, bypass a
PacketQueue* q_
underlying (usually) FIFO queue
int qib_
bool: queue measured in bytes?
Tcl_Channel tchan_
place to write trace records

Protected Methods

int command(int argc, const char*const* argv)
Packet* deque()
int drop_early(Packet* pkt)
void enque(Packet* pkt)
virtual Packet* pickPacketForECN(Packet* pkt)
virtual Packet* pickPacketToDrop()
void print_edp()
for debugging
void print_edv()
for debugging
void reset()
void run_estimator(int nqueued, int m)
void trace(TracedVar*)
routine to write trace records

Inherited from Queue:

Public Methods

QueueElem <T> * dequeue()
virtual void destroy()
void detach(QueueElem<T>* e)
void enqueue(QueueElem<T> *e)
QueueElem <T> * getHead()
int is_empty()
int size()

Protected Fields

QueueElem <T> * head_
int size_

Documentation

REDQueue()

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

void enque(Packet* pkt)

virtual Packet* pickPacketForECN(Packet* pkt)

virtual Packet* pickPacketToDrop()

Packet* deque()

void reset()

void run_estimator(int nqueued, int m)

int drop_early(Packet* pkt)

LinkDelay* link_
outgoing link

int fifo_
fifo queue?

PacketQueue* q_
underlying (usually) FIFO queue

int bcount_
byte count

int qib_
bool: queue measured in bytes?

NsObject* de_drop_
drop_early target

Tcl_Channel tchan_
place to write trace records

TracedInt curq_
current qlen seen by arrivals

void trace(TracedVar*)
routine to write trace records

int drop_tail_
Static state. drop-tail

int drop_front_
drop-from-front

int drop_rand_
drop-tail, or drop random?

int ns1_compat_
for ns-1 compatibility, bypass a

edp edp_
early-drop params

int doubleq_
for experiments with priority for small packets

int dqthresh_
for experiments with priority for small packets

int idle_
Dynamic state. queue is idle?

double idletime_
if so, since this time

edv edv_
early-drop variables

void print_edp()
for debugging

void print_edv()
for debugging

Queue/RED instproc set args

Queue/RED instproc enable-vartrace file


Direct child classes:
SemanticREDQueue

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