A struct that holds information about a packet for putting in a packet queue. More...
#include <wifi-mac-queue.h>
Public Member Functions | |
Item (Ptr< const Packet > packet, const WifiMacHeader &hdr, Time tstamp) | |
Create a struct with the given parameters. More... | |
Public Attributes | |
WifiMacHeader | hdr |
Wifi MAC header associated with the packet. More... | |
Ptr< const Packet > | packet |
Actual packet. More... | |
Time | tstamp |
timestamp when the packet arrived at the queue More... | |
A struct that holds information about a packet for putting in a packet queue.
Definition at line 221 of file wifi-mac-queue.h.
ns3::WifiMacQueue::Item::Item | ( | Ptr< const Packet > | packet, |
const WifiMacHeader & | hdr, | ||
Time | tstamp | ||
) |
Create a struct with the given parameters.
packet | |
hdr | |
tstamp |
Definition at line 34 of file wifi-mac-queue.cc.
WifiMacHeader ns3::WifiMacQueue::Item::hdr |
Wifi MAC header associated with the packet.
Definition at line 234 of file wifi-mac-queue.h.
Referenced by ns3::WifiMacQueue::Dequeue(), and ns3::WifiMacQueue::Peek().
Actual packet.
Definition at line 233 of file wifi-mac-queue.h.
Referenced by ns3::WifiMacQueue::Dequeue(), and ns3::WifiMacQueue::Peek().
Time ns3::WifiMacQueue::Item::tstamp |
timestamp when the packet arrived at the queue
Definition at line 235 of file wifi-mac-queue.h.