A Discrete-Event Network Simulator
API
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"

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

Private Types

typedef std::list< std::pair< Mac48Address, uint8_t > > BlockedPackets
 typedef for a list of <Mac48Address, TID> pair. More...
 
typedef std::list< std::pair< Mac48Address, uint8_t > >::const_iterator BlockedPacketsCI
 typedef for a constan iterator of BlockedPackets More...
 
typedef std::list< std::pair< Mac48Address, uint8_t > >::iterator BlockedPacketsI
 typedef for an iterator of BlockedPackets More...
 

Private Attributes

BlockedPackets m_blockedQosPackets
 

Detailed Description

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

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

Member Typedef Documentation

typedef for a list of <Mac48Address, TID> pair.

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

typedef std::list<std::pair<Mac48Address, uint8_t> >::const_iterator ns3::QosBlockedDestinations::BlockedPacketsCI
private

typedef for a constan iterator of BlockedPackets

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

typedef std::list<std::pair<Mac48Address, uint8_t> >::iterator ns3::QosBlockedDestinations::BlockedPacketsI
private

typedef for an iterator of BlockedPackets

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

Constructor & Destructor Documentation

ns3::QosBlockedDestinations::QosBlockedDestinations ( )

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

ns3::QosBlockedDestinations::~QosBlockedDestinations ( )

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

Member Function Documentation

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 48 of file qos-blocked-destinations.cc.

References IsBlocked(), and m_blockedQosPackets.

Referenced by ns3::EdcaTxopN::EdcaTxopN().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 35 of file qos-blocked-destinations.cc.

References m_blockedQosPackets.

Referenced by Block(), ns3::WifiMacQueue::DequeueFirstAvailable(), and ns3::WifiMacQueue::PeekFirstAvailable().

+ Here is the caller graph for this function:

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 57 of file qos-blocked-destinations.cc.

References m_blockedQosPackets.

Referenced by ns3::EdcaTxopN::EdcaTxopN().

+ Here is the caller graph for this function:

Member Data Documentation

BlockedPackets ns3::QosBlockedDestinations::m_blockedQosPackets
private

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

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


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