A Discrete-Event Network Simulator
API
ns3::QosBlockedDestinations Class Reference

Keep track of destination address - TID pairs that are waiting for a BlockAck response. More...

#include "qos-blocked-destinations.h"

+ Inheritance diagram for ns3::QosBlockedDestinations:
+ Collaboration diagram for ns3::QosBlockedDestinations:

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...
 
SimpleRefCountoperator= ([[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...
 

Detailed Description

Keep track of destination address - TID pairs that are waiting for a BlockAck response.

Definition at line 36 of file qos-blocked-destinations.h.

Constructor & Destructor Documentation

◆ QosBlockedDestinations()

ns3::QosBlockedDestinations::QosBlockedDestinations ( )

Definition at line 27 of file qos-blocked-destinations.cc.

◆ ~QosBlockedDestinations()

ns3::QosBlockedDestinations::~QosBlockedDestinations ( )

Definition at line 31 of file qos-blocked-destinations.cc.

Member Function Documentation

◆ Block()

void ns3::QosBlockedDestinations::Block ( Mac48Address  dest,
uint8_t  tid 
)

Block the given destination address and TID from sending (e.g.

pending BlockAck response).

Parameters
destthe destination MAC address
tidthe TID

Definition at line 42 of file qos-blocked-destinations.cc.

References m_blockedQosPackets.

Referenced by ns3::QosTxop::QosTxop().

+ Here is the caller graph for this function:

◆ IsBlocked()

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).

Parameters
destthe destination MAC address
tidthe TID
Returns
true if the given destination address and TID are blocked from sending, false otherwise

Definition at line 36 of file qos-blocked-destinations.cc.

References m_blockedQosPackets.

◆ Unblock()

void ns3::QosBlockedDestinations::Unblock ( Mac48Address  dest,
uint8_t  tid 
)

Un-block the given destination address and TID (e.g.

BlockAck response received).

Parameters
destthe destination MAC address
tidthe TID

Definition at line 48 of file qos-blocked-destinations.cc.

References m_blockedQosPackets.

Referenced by ns3::QosTxop::QosTxop().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_blockedQosPackets

std::set<std::pair<Mac48Address, uint8_t> > ns3::QosBlockedDestinations::m_blockedQosPackets
private

blocked QoS packets

Definition at line 72 of file qos-blocked-destinations.h.

Referenced by Block(), IsBlocked(), and Unblock().


The documentation for this class was generated from the following files: