A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::WimaxMacQueue::QueueElement Struct Reference

#include <wimax-mac-queue.h>

+ Collaboration diagram for ns3::WimaxMacQueue::QueueElement:

Public Member Functions

 QueueElement (void)
 
 QueueElement (Ptr< Packet > packet, const MacHeaderType &hdrType, const GenericMacHeader &hdr, Time timeStamp)
 
uint32_t GetSize (void) const
 
void SetFragmentation (void)
 
void SetFragmentNumber (void)
 
void SetFragmentOffset (uint32_t offset)
 

Public Attributes

bool m_fragmentation
 
uint32_t m_fragmentNumber
 
uint32_t m_fragmentOffset
 
GenericMacHeader m_hdr
 
MacHeaderType m_hdrType
 
Ptr< Packetm_packet
 
Time m_timeStamp
 

Detailed Description

Definition at line 121 of file wimax-mac-queue.h.

Constructor & Destructor Documentation

ns3::WimaxMacQueue::QueueElement::QueueElement ( void  )

Definition at line 36 of file wimax-mac-queue.cc.

ns3::WimaxMacQueue::QueueElement::QueueElement ( Ptr< Packet packet,
const MacHeaderType hdrType,
const GenericMacHeader hdr,
Time  timeStamp 
)

Definition at line 48 of file wimax-mac-queue.cc.

Member Function Documentation

uint32_t ns3::WimaxMacQueue::QueueElement::GetSize ( void  ) const

Definition at line 62 of file wimax-mac-queue.cc.

References ns3::MacHeaderType::HEADER_TYPE_GENERIC.

Referenced by ns3::WimaxMacQueue::Dequeue(), and ns3::WimaxMacQueue::Enqueue().

+ Here is the caller graph for this function:

void ns3::WimaxMacQueue::QueueElement::SetFragmentation ( void  )

Definition at line 640 of file wimax-mac-queue.cc.

References m_fragmentation.

void ns3::WimaxMacQueue::QueueElement::SetFragmentNumber ( void  )

Definition at line 646 of file wimax-mac-queue.cc.

void ns3::WimaxMacQueue::QueueElement::SetFragmentOffset ( uint32_t  offset)

Definition at line 652 of file wimax-mac-queue.cc.

Member Data Documentation

bool ns3::WimaxMacQueue::QueueElement::m_fragmentation
uint32_t ns3::WimaxMacQueue::QueueElement::m_fragmentNumber

Definition at line 141 of file wimax-mac-queue.h.

Referenced by ns3::WimaxMacQueue::Dequeue().

uint32_t ns3::WimaxMacQueue::QueueElement::m_fragmentOffset
GenericMacHeader ns3::WimaxMacQueue::QueueElement::m_hdr
Ptr<Packet> ns3::WimaxMacQueue::QueueElement::m_packet
Time ns3::WimaxMacQueue::QueueElement::m_timeStamp

Definition at line 132 of file wimax-mac-queue.h.

Referenced by ns3::WimaxMacQueue::Peek().


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