24 #ifndef WIFI_MAC_QUEUE_H 25 #define WIFI_MAC_QUEUE_H 28 #include "ns3/queue.h" 32 class QosBlockedDestinations;
39 extern template class Queue<WifiMacQueueItem>;
64 static TypeId GetTypeId (
void);
86 void SetMaxDelay (
Time delay);
92 Time GetMaxDelay (
void)
const;
196 ConstIterator PeekByAddress (
Mac48Address dest, ConstIterator pos = EMPTY)
const;
208 ConstIterator PeekByTid (uint8_t tid, ConstIterator pos = EMPTY)
const;
223 ConstIterator PeekByTidAndAddress (uint8_t tid,
Mac48Address dest, ConstIterator pos = EMPTY)
const;
233 ConstIterator pos = EMPTY)
const;
260 ConstIterator Remove (ConstIterator pos,
bool removeExpired =
false);
279 uint32_t GetNPacketsByTidAndAddress (uint8_t tid,
Mac48Address dest);
293 uint32_t GetNPackets (
void);
300 uint32_t GetNBytes (
void);
314 bool TtlExceeded (ConstIterator &it);
Time m_maxDelay
Time to live for packets in the queue.
Simulation virtual time values and global simulation resolution.
Smart pointer class similar to boost::intrusive_ptr.
Forward calls to a chain of Callback.
Introspection did not find any typical Config paths.
Template class for packet Queues.
bool m_expiredPacketsPresent
True if expired packets are in the queue.
static const ConstIterator EMPTY
Invalid iterator to signal an empty queue.
DropPolicy m_dropPolicy
Drop behavior of queue.
std::list< Ptr< Item > >::iterator Iterator
Iterator.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
TracedCallback< Ptr< const WifiMacQueueItem > > m_traceExpired
Traced callback: fired when a packet is dropped due to lifetime expiration.
This queue implements the timeout procedure described in (Section 9.19.2.6 "Retransmit procedures" pa...
NS_LOG_TEMPLATE_DECLARE
redefinition of the log component
a unique identifier for an interface.
std::list< Ptr< Item > >::const_iterator ConstIterator
Const iterator.