Keep track of destination address - TID pairs that are waiting for a BlockAck response. More...
#include "qos-blocked-destinations.h"
Public Member Functions | |
QosBlockedDestinations () | |
~QosBlockedDestinations () | |
void | Block (Mac48Address dest, uint8_t tid) |
Block the given destination address and TID from sending (e.g. More... | |
bool | IsBlocked (Mac48Address dest, uint8_t tid) const |
Check if the given destination address and TID are blocked from sending (e.g. More... | |
void | Unblock (Mac48Address dest, uint8_t tid) |
Un-block the given destination address and TID (e.g. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< QosBlockedDestinations > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= ([[maybe_unused]] const SimpleRefCount &o) |
Assignment operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Private Attributes | |
std::set< std::pair< Mac48Address, uint8_t > > | m_blockedQosPackets |
blocked QoS packets More... | |
Keep track of destination address - TID pairs that are waiting for a BlockAck response.
Definition at line 36 of file qos-blocked-destinations.h.
ns3::QosBlockedDestinations::QosBlockedDestinations | ( | ) |
Definition at line 27 of file qos-blocked-destinations.cc.
ns3::QosBlockedDestinations::~QosBlockedDestinations | ( | ) |
Definition at line 31 of file qos-blocked-destinations.cc.
void ns3::QosBlockedDestinations::Block | ( | Mac48Address | dest, |
uint8_t | tid | ||
) |
Block the given destination address and TID from sending (e.g.
pending BlockAck response).
dest | the destination MAC address |
tid | the TID |
Definition at line 42 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
Referenced by ns3::QosTxop::QosTxop().
bool ns3::QosBlockedDestinations::IsBlocked | ( | Mac48Address | dest, |
uint8_t | tid | ||
) | const |
Check if the given destination address and TID are blocked from sending (e.g.
pending BlockAck response).
dest | the destination MAC address |
tid | the TID |
Definition at line 36 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
void ns3::QosBlockedDestinations::Unblock | ( | Mac48Address | dest, |
uint8_t | tid | ||
) |
Un-block the given destination address and TID (e.g.
BlockAck response received).
dest | the destination MAC address |
tid | the TID |
Definition at line 48 of file qos-blocked-destinations.cc.
References m_blockedQosPackets.
Referenced by ns3::QosTxop::QosTxop().
|
private |
blocked QoS packets
Definition at line 72 of file qos-blocked-destinations.h.
Referenced by Block(), IsBlocked(), and Unblock().