A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
ns3::QosBlockedDestinations Class Reference

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

#include "qos-blocked-destinations.h"

+ Inheritance 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)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (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 block ACK 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 block ACK response).

Parameters
dest
tid

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

References m_blockedQosPackets.

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

◆ 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 block ACK response).

Parameters
dest
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.

block ACK response received).

Parameters
dest
tid

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

References m_blockedQosPackets.

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

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: