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);
98 void SetMaxDelay (
Time delay);
104 Time GetMaxDelay (
void)
const;
208 ConstIterator PeekByAddress (
Mac48Address dest, ConstIterator pos = EMPTY)
const;
220 ConstIterator PeekByTid (uint8_t tid, ConstIterator pos = EMPTY)
const;
235 ConstIterator PeekByTidAndAddress (uint8_t tid,
Mac48Address dest, ConstIterator pos = EMPTY)
const;
245 ConstIterator pos = EMPTY)
const;
272 ConstIterator Remove (ConstIterator pos,
bool removeExpired =
false);
291 uint32_t GetNPacketsByTidAndAddress (uint8_t tid,
Mac48Address dest);
305 uint32_t GetNPackets (
void);
312 uint32_t GetNBytes (
void);
325 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.
Class for representing queue sizes.
Forward calls to a chain of Callback.
Introspection did not find any typical Config paths.
Template class for packet Queues.
bool m_expiredPacketsPresent
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
True if expired packets are in the queue
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
QueueSize m_maxSize
max queue size
a unique identifier for an interface.
std::list< Ptr< Item > >::const_iterator ConstIterator
Const iterator.