List of all members.
Public Member Functions |
void | SetMode (RedQueue::QueueMode mode) |
RedQueue::QueueMode | GetMode (void) |
uint32_t | GetQueueSize (void) |
void | SetQueueLimit (uint32_t lim) |
void | SetTh (double minTh, double maxTh) |
Stats | GetStats () |
bool | IsEmpty (void) const |
bool | Enqueue (Ptr< Packet > p) |
Ptr< Packet > | Dequeue (void) |
Ptr< const Packet > | Peek (void) const |
void | DequeueAll (void) |
uint32_t | GetNPackets (void) const |
uint32_t | GetNBytes (void) const |
uint32_t | GetTotalReceivedBytes (void) const |
uint32_t | GetTotalReceivedPackets (void) const |
uint32_t | GetTotalDroppedBytes (void) const |
uint32_t | GetTotalDroppedPackets (void) const |
void | ResetStatistics (void) |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > |
Ptr< T > | GetObject (void) const |
template<typename T > |
Ptr< T > | GetObject (TypeId tid) const |
void | Dispose (void) |
void | AggregateObject (Ptr< Object > other) |
AggregateIterator | GetAggregateIterator (void) const |
void | Start (void) |
| SimpleRefCount (const SimpleRefCount &o) |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
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) |
Member Function Documentation
TypeId ns3::RedQueue::GetTypeId |
( |
void |
| ) |
|
|
static |
This method returns the TypeId associated to ns3::RedQueue.
This object 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 defined for this type:
-
Mode: Determines unit for QueueLimit
-
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 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.
Reimplemented from ns3::Queue.
References ns3::MilliSeconds(), ns3::Queue::QUEUE_MODE_BYTES, ns3::Queue::QUEUE_MODE_PACKETS, and ns3::TypeId::SetParent().
The documentation for this class was generated from the following files:
- src/network/utils/red-queue.h
- doc/introspected-doxygen.h
- src/network/utils/red-queue.cc