NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::Ns3PacketTag Class Reference

#include <ndn-ns3-packet-tag.hpp>

Inheritance diagram for ns3::ndn::Ns3PacketTag:
Collaboration diagram for ns3::ndn::Ns3PacketTag:

Public Member Functions

 Ns3PacketTag (Ptr< const Packet > packet)
 
Ptr< const Packet > getPacket () const
 
- Public Member Functions inherited from ndn::Tag
virtual ~Tag ()
 

Static Public Member Functions

static size_t getTypeId ()
 
- Static Public Member Functions inherited from ndn::Tag
static constexpr int getTypeId ()
 

Detailed Description

Definition at line 30 of file ndn-ns3-packet-tag.hpp.

Constructor & Destructor Documentation

§ Ns3PacketTag()

ns3::ndn::Ns3PacketTag::Ns3PacketTag ( Ptr< const Packet >  packet)
inline

Definition at line 38 of file ndn-ns3-packet-tag.hpp.

Member Function Documentation

§ getTypeId()

static size_t ns3::ndn::Ns3PacketTag::getTypeId ( )
inlinestatic

Definition at line 33 of file ndn-ns3-packet-tag.hpp.

§ getPacket()

Ptr<const Packet> ns3::ndn::Ns3PacketTag::getPacket ( ) const
inline

Definition at line 44 of file ndn-ns3-packet-tag.hpp.


The documentation for this class was generated from the following file: