Public Member Functions | Protected Member Functions | Protected Attributes

REDQueue Class Reference

Inheritance diagram for REDQueue:
Queue< T > Connector NsObject Handler PushbackQueue RedPDQueue RIOQueue SemanticREDQueue SemanticRIOQueue

List of all members.

Public Member Functions

 REDQueue (const char *="Drop")

Protected Member Functions

void initParams ()
int command (int argc, const char *const *argv)
void enque (Packet *pkt)
virtual PacketpickPacketForECN (Packet *pkt)
virtual PacketpickPacketToDrop ()
Packetdeque ()
void initialize_params ()
void reset ()
void run_estimator (int nqueued, int m)
double estimator (int nqueued, int m, double ave, double q_w)
void updateMaxP (double new_ave, double now)
void updateMaxPFeng (double new_ave)
int drop_early (Packet *pkt)
double modify_p (double p, int count, int count_bytes, int bytes, int mean_pktsize, int wait, int size)
double calculate_p_new (double v_ave, double th_max, int gentle, double v_a, double v_b, double v_c, double v_d, double max_p)
double calculate_p (double v_ave, double th_max, int gentle, double v_a, double v_b, double v_c, double v_d, double max_p_inv)
virtual void reportDrop (Packet *pkt)
void print_summarystats ()
int bcount_ ()
void trace (TracedVar *)
void print_edp ()
void print_edv ()

Protected Attributes

int summarystats_
LinkDelaylink_
int fifo_
PacketQueueq_
int qib_
NsObjectde_drop_
NsObjectEDTrace
char traceType [20]
Tcl_Channel tchan_
TracedInt curq_
int drop_tail_
int drop_front_
int drop_rand_
int ns1_compat_
edp edp_
int doubleq_
int dqthresh_
int idle_
double idletime_
edv edv_
int first_reset_

The documentation for this class was generated from the following files: