Class for adding a tag to packets used to track different segments of packets packets are fragmented due to small MSS Just implementing methods from ns3 class ns3::Tag. More...
#include "segmentnum.h"
Inheritance diagram for ns3::SegmentNum:
Collaboration diagram for ns3::SegmentNum:Public Member Functions | |
| SegmentNum () | |
| SegmentNum (uint32_t seg_num) | |
| ~SegmentNum () | |
| virtual void | Deserialize (TagBuffer i) |
| virtual TypeId | GetInstanceTypeId (void) const |
| uint32_t | GetSegNum () |
| virtual uint32_t | GetSerializedSize (void) const |
| virtual void | Print (std::ostream &os) const |
| virtual void | Serialize (TagBuffer i) const |
| void | SetSegNum (uint32_t seg_num) |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
Public Attributes | |
| uint32_t | s_num |
Class for adding a tag to packets used to track different segments of packets packets are fragmented due to small MSS Just implementing methods from ns3 class ns3::Tag.
Definition at line 41 of file segmentnum.h.
| ns3::SegmentNum::SegmentNum | ( | ) |
Definition at line 48 of file segmentnum.cc.
References s_num.
| ns3::SegmentNum::SegmentNum | ( | uint32_t | seg_num | ) |
Definition at line 53 of file segmentnum.cc.
References s_num.
| ns3::SegmentNum::~SegmentNum | ( | ) |
Definition at line 58 of file segmentnum.cc.
|
virtual |
Definition at line 82 of file segmentnum.cc.
References s_num.
|
virtual |
Definition at line 42 of file segmentnum.cc.
References GetTypeId().
Here is the call graph for this function:| uint32_t ns3::SegmentNum::GetSegNum | ( | ) |
Definition at line 60 of file segmentnum.cc.
References s_num.
Referenced by ns3::Wsn_node::RecvSeg().
Here is the caller graph for this function:
|
virtual |
Definition at line 72 of file segmentnum.cc.
|
static |
Definition at line 31 of file segmentnum.cc.
Referenced by GetInstanceTypeId().
Here is the caller graph for this function:
|
virtual |
Definition at line 87 of file segmentnum.cc.
References s_num.
|
virtual |
Definition at line 77 of file segmentnum.cc.
References s_num.
| void ns3::SegmentNum::SetSegNum | ( | uint32_t | seg_num | ) |
Definition at line 65 of file segmentnum.cc.
References s_num.
| uint32_t ns3::SegmentNum::s_num |
Definition at line 61 of file segmentnum.h.
Referenced by Deserialize(), GetSegNum(), Print(), SegmentNum(), Serialize(), and SetSegNum().