|
int64_t | AssignStreams (int64_t stream) |
|
RedQueue::QueueMode | GetMode (void) |
|
uint32_t | GetQueueSize (void) |
|
Stats | GetStats () |
|
void | SetMode (RedQueue::QueueMode mode) |
|
void | SetQueueLimit (uint32_t lim) |
|
void | SetTh (double minTh, double maxTh) |
|
Ptr< Packet > | Dequeue (void) |
|
void | DequeueAll (void) |
|
bool | Enqueue (Ptr< Packet > p) |
|
uint32_t | GetNBytes (void) const |
|
uint32_t | GetNPackets (void) const |
|
uint32_t | GetTotalDroppedBytes (void) const |
|
uint32_t | GetTotalDroppedPackets (void) const |
|
uint32_t | GetTotalReceivedBytes (void) const |
|
uint32_t | GetTotalReceivedPackets (void) const |
|
bool | IsEmpty (void) const |
|
Ptr< const Packet > | Peek (void) const |
|
void | ResetStatistics (void) |
|
void | AggregateObject (Ptr< Object > other) |
|
void | Dispose (void) |
|
AggregateIterator | GetAggregateIterator (void) const |
|
virtual TypeId | GetInstanceTypeId (void) const |
|
template<typename T > |
Ptr< T > | GetObject (void) const |
|
template<typename T > |
Ptr< T > | GetObject (TypeId tid) const |
|
void | Initialize (void) |
|
| SimpleRefCount (const SimpleRefCount &o) |
|
uint32_t | GetReferenceCount (void) const |
|
SimpleRefCount & | operator= (const SimpleRefCount &o) |
|
void | Ref (void) const |
|
void | Unref (void) const |
|
void | GetAttribute (std::string name, AttributeValue &value) const |
|
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
|
void | SetAttribute (std::string name, const AttributeValue &value) |
|
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
|
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
|
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
|
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
|
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
|
|
double | CalculatePNew (double qAvg, double maxTh, bool gentle, double vA, double vB, double vC, double vD, double maxP) |
|
virtual Ptr< Packet > | DoDequeue (void) |
|
virtual bool | DoEnqueue (Ptr< Packet > p) |
|
virtual Ptr< const Packet > | DoPeek (void) const |
|
uint32_t | DropEarly (Ptr< Packet > p, uint32_t qSize) |
|
double | Estimator (uint32_t nQueued, uint32_t m, double qAvg, double qW) |
|
void | InitializeParams (void) |
|
double | ModifyP (double p, uint32_t count, uint32_t countBytes, uint32_t meanPktSize, bool wait, uint32_t size) |
|
ns3::RedQueue is accessible through the following paths with Config::Set and Config::Connect:
-
/NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Queue/$ns3::RedQueue
-
/NodeList/[i]/DeviceList/[i]/$ns3::CsmaNetDevice/TxQueue/$ns3::RedQueue
-
/NodeList/[i]/DeviceList/[i]/$ns3::EmuNetDevice/TxQueue/$ns3::RedQueue
-
/NodeList/[i]/DeviceList/[i]/$ns3::PointToPointNetDevice/TxQueue/$ns3::RedQueue
Attributes
-
Mode: Determines unit for QueueLimit
-
Set with class: ns3::EnumValue
-
Underlying type: QUEUE_MODE_BYTES|QUEUE_MODE_PACKETS
-
Initial value: QUEUE_MODE_PACKETS
-
Flags: construct write
-
MeanPktSize: Average of packet size
-
IdlePktSize: Average packet size used during idle times. Used when m_cautions = 3
-
Wait: True for waiting between dropped packets
-
Set with class: BooleanValue
-
Underlying type: bool
-
Initial value: true
-
Flags: construct write read
-
Gentle: True to increases dropping probability slowly when average queue exceeds maxthresh
-
Set with class: BooleanValue
-
Underlying type: bool
-
Initial value: true
-
Flags: construct write read
-
MinTh: Minimum average length threshold in packets/bytes
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 5
-
Flags: construct write read
-
MaxTh: Maximum average length threshold in packets/bytes
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 15
-
Flags: construct write read
-
QueueLimit: Queue limit in bytes/packets
-
QW: Queue weight related to the exponential weighted moving average (EWMA)
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 0.002
-
Flags: construct write read
-
LInterm: The maximum probability of dropping a packet
-
Set with class: ns3::DoubleValue
-
Underlying type: double -1.79769e+308:1.79769e+308
-
Initial value: 50
-
Flags: construct write read
-
Ns1Compat: NS-1 compatibility
-
Set with class: BooleanValue
-
Underlying type: bool
-
Initial value: false
-
Flags: construct write read
-
LinkBandwidth: The RED link bandwidth
-
Set with class: DataRateValue
-
Underlying type: DataRate
-
Initial value: 1500000bps
-
Flags: construct write read
-
LinkDelay: The RED link delay
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +20000000.0ns
-
Flags: construct write read
No TraceSources are defined for this type.
TraceSources defined in parent class ns3::Queue
-
Enqueue: Enqueue a packet in the queue.
-
Dequeue: Dequeue a packet from the queue.
-
Drop: Drop a packet stored in the queue.
Definition at line 82 of file red-queue.h.