QueueElement structure. More...
#include "wimax-mac-queue.h"
Collaboration diagram for ns3::WimaxMacQueue::QueueElement:Public Member Functions | |
| QueueElement () | |
| QueueElement (Ptr< Packet > packet, const MacHeaderType &hdrType, const GenericMacHeader &hdr, Time timeStamp) | |
| Constructor. | |
| uint32_t | GetSize () const |
| Get size function. | |
| void | SetFragmentation () |
| Set fragmentation. | |
| void | SetFragmentNumber () |
| Set fragment number. | |
| void | SetFragmentOffset (uint32_t offset) |
| Set fragment offset. | |
Public Attributes | |
| bool | m_fragmentation |
| To manage fragmentation feature, each QueueElement have 3 new fields: m_fragmentation that becomes true when the fragmentation starts; m_fragmentNumber that is incremented when a new fragment is sent m_fragmentOffset that tracks the start of the next fragment into the packet. | |
| uint32_t | m_fragmentNumber |
| incremented when a new fragment is sent | |
| uint32_t | m_fragmentOffset |
| tracks the start of the next fragment into the packet | |
| GenericMacHeader | m_hdr |
| header | |
| MacHeaderType | m_hdrType |
| header type | |
| Ptr< Packet > | m_packet |
| packet | |
| Time | m_timeStamp |
| timestamp | |
QueueElement structure.
Definition at line 183 of file wimax-mac-queue.h.
| ns3::WimaxMacQueue::QueueElement::QueueElement | ( | ) |
Definition at line 26 of file wimax-mac-queue.cc.
| ns3::WimaxMacQueue::QueueElement::QueueElement | ( | Ptr< Packet > | packet, |
| const MacHeaderType & | hdrType, | ||
| const GenericMacHeader & | hdr, | ||
| Time | timeStamp | ||
| ) |
Constructor.
| packet | the packet |
| hdrType | MAC header type |
| hdr | MAC header |
| timeStamp | time stamp |
Definition at line 37 of file wimax-mac-queue.cc.
| uint32_t ns3::WimaxMacQueue::QueueElement::GetSize | ( | ) | const |
Get size function.
Definition at line 52 of file wimax-mac-queue.cc.
References ns3::MacHeaderType::HEADER_TYPE_GENERIC.
| void ns3::WimaxMacQueue::QueueElement::SetFragmentation | ( | ) |
| void ns3::WimaxMacQueue::QueueElement::SetFragmentNumber | ( | ) |
Set fragment number.
Definition at line 632 of file wimax-mac-queue.cc.
| bool ns3::WimaxMacQueue::QueueElement::m_fragmentation |
To manage fragmentation feature, each QueueElement have 3 new fields: m_fragmentation that becomes true when the fragmentation starts; m_fragmentNumber that is incremented when a new fragment is sent m_fragmentOffset that tracks the start of the next fragment into the packet.
becomes true when the fragmentation starts
Definition at line 214 of file wimax-mac-queue.h.
Referenced by SetFragmentation().
| uint32_t ns3::WimaxMacQueue::QueueElement::m_fragmentNumber |
incremented when a new fragment is sent
Definition at line 215 of file wimax-mac-queue.h.
| uint32_t ns3::WimaxMacQueue::QueueElement::m_fragmentOffset |
tracks the start of the next fragment into the packet
Definition at line 216 of file wimax-mac-queue.h.
| GenericMacHeader ns3::WimaxMacQueue::QueueElement::m_hdr |
header
Definition at line 205 of file wimax-mac-queue.h.
Referenced by ns3::WimaxMacQueue::Peek(), and ns3::WimaxMacQueue::Peek().
| MacHeaderType ns3::WimaxMacQueue::QueueElement::m_hdrType |
header type
Definition at line 204 of file wimax-mac-queue.h.
packet
Definition at line 203 of file wimax-mac-queue.h.
| Time ns3::WimaxMacQueue::QueueElement::m_timeStamp |
timestamp
Definition at line 206 of file wimax-mac-queue.h.