SatFlowIdTag implements a tag which carries the flow identifier of a packet. More...
#include "satellite-mac-tag.h"
Public Member Functions | |
| SatFlowIdTag () | |
| Default constructor. | |
| ~SatFlowIdTag () | |
| Destructor for SatFlowIdTag. | |
| virtual void | Deserialize (TagBuffer i) |
| Deserializes information from buffer to this instance of SatFlowIdTag. | |
| uint8_t | GetFlowId () const |
| Get flow identifier. | |
| virtual TypeId | GetInstanceTypeId (void) const |
| Get the type ID of instance. | |
| virtual uint32_t | GetSerializedSize (void) const |
| Get serialized size of SatFlowIdTag. | |
| virtual void | Print (std::ostream &os) const |
| Print time stamp of this instance of SatFlowIdTag. | |
| virtual void | Serialize (TagBuffer i) const |
| Serializes information to buffer from this instance of SatFlowIdTag. | |
| void | SetFlowId (uint8_t flowId) |
| Set flow id. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| Get the type ID. | |
Private Attributes | |
| uint8_t | m_flowId |
SatFlowIdTag implements a tag which carries the flow identifier of a packet.
Definition at line 212 of file satellite-mac-tag.h.
| ns3::SatFlowIdTag::SatFlowIdTag | ( | ) |
| ns3::SatFlowIdTag::~SatFlowIdTag | ( | ) |
Destructor for SatFlowIdTag.
Definition at line 238 of file satellite-mac-tag.cc.
|
virtual |
Deserializes information from buffer to this instance of SatFlowIdTag.
| i | Buffer from which the information is deserialized |
Definition at line 289 of file satellite-mac-tag.cc.
References m_flowId.
| uint8_t ns3::SatFlowIdTag::GetFlowId | ( | ) | const |
Get flow identifier.
Definition at line 266 of file satellite-mac-tag.cc.
References m_flowId.
Referenced by ns3::SatLlc::Receive().
|
virtual |
Get the type ID of instance.
Definition at line 251 of file satellite-mac-tag.cc.
References GetTypeId().
|
virtual |
Get serialized size of SatFlowIdTag.
Definition at line 273 of file satellite-mac-tag.cc.
|
static |
Get the type ID.
Definition at line 244 of file satellite-mac-tag.cc.
Referenced by GetInstanceTypeId().
|
virtual |
Print time stamp of this instance of SatFlowIdTag.
| &os | Output stream to which tag timestamp is printed. |
Definition at line 297 of file satellite-mac-tag.cc.
References m_flowId.
|
virtual |
Serializes information to buffer from this instance of SatFlowIdTag.
| i | Buffer in which the information is serialized |
Definition at line 281 of file satellite-mac-tag.cc.
References m_flowId.
| void ns3::SatFlowIdTag::SetFlowId | ( | uint8_t | flowId | ) |
Set flow id.
| flowId | Flow identifier |
Definition at line 259 of file satellite-mac-tag.cc.
References m_flowId.
Referenced by ns3::SatBaseEncapsulator::EnquePdu(), ns3::SatGenericStreamEncapsulator::NotifyTxOpportunity(), ns3::SatGenericStreamEncapsulatorArq::NotifyTxOpportunity(), ns3::SatReturnLinkEncapsulator::NotifyTxOpportunity(), and ns3::SatReturnLinkEncapsulatorArq::NotifyTxOpportunity().
|
private |
Definition at line 274 of file satellite-mac-tag.h.
Referenced by SatFlowIdTag(), Deserialize(), GetFlowId(), Print(), Serialize(), and SetFlowId().