Packet tag that is used to track hop count for Interest-Data pairs. More...
#include <ndn-fw-hop-count-tag.hpp>
Public Member Functions | |
FwHopCountTag () | |
Default constructor. More... | |
~FwHopCountTag () | |
Destructor. More... | |
void | Increment () |
Increment hop count. More... | |
uint32_t | Get () const |
Get value of hop count. More... | |
virtual TypeId | GetInstanceTypeId () const |
virtual uint32_t | GetSerializedSize () const |
virtual void | Serialize (TagBuffer i) const |
virtual void | Deserialize (TagBuffer i) |
virtual void | Print (std::ostream &os) const |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Packet tag that is used to track hop count for Interest-Data pairs.
Definition at line 32 of file ndn-fw-hop-count-tag.hpp.
|
inline |
Default constructor.
Definition at line 40 of file ndn-fw-hop-count-tag.hpp.
|
inline |
Destructor.
Definition at line 46 of file ndn-fw-hop-count-tag.hpp.
|
static |
Definition at line 26 of file ndn-fw-hop-count-tag.cpp.
Referenced by GetInstanceTypeId().
|
inline |
Increment hop count.
Definition at line 54 of file ndn-fw-hop-count-tag.hpp.
Referenced by ns3::ndn::NetDeviceFace::GetNetDevice().
|
inline |
Get value of hop count.
Definition at line 63 of file ndn-fw-hop-count-tag.hpp.
References Deserialize(), GetInstanceTypeId(), GetSerializedSize(), Print(), and Serialize().
Referenced by ns3::ndn::Consumer::OnData().
|
virtual |
Definition at line 34 of file ndn-fw-hop-count-tag.cpp.
References GetTypeId().
Referenced by Get().
|
virtual |
Definition at line 40 of file ndn-fw-hop-count-tag.cpp.
Referenced by Get().
|
virtual |
Definition at line 46 of file ndn-fw-hop-count-tag.cpp.
Referenced by Get().
|
virtual |
Definition at line 52 of file ndn-fw-hop-count-tag.cpp.
Referenced by Get().
|
virtual |
Definition at line 58 of file ndn-fw-hop-count-tag.cpp.
Referenced by Get().