NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3::ndn::LocalInfoTag Class Reference

Packet tag that is used to keep information about face from which packet was received. More...

#include <ndn-local-info-tag.h>

Inheritance diagram for ns3::ndn::LocalInfoTag:
Collaboration diagram for ns3::ndn::LocalInfoTag:

Public Member Functions

 LocalInfoTag (Ptr< Face > inFace)
 Constructor.
 
 ~LocalInfoTag ()
 Destructor.
 
uint32_t Get () const
 Get smart pointer to the face. 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 ()
 

Static Public Attributes

static const uint32_t CACHE_FACE = static_cast<uint32_t> (-1)
 

Detailed Description

Packet tag that is used to keep information about face from which packet was received.

This tag may be extended later to include more information, if necessary

Definition at line 38 of file ndn-local-info-tag.h.

Member Function Documentation

uint32_t ns3::ndn::LocalInfoTag::Get ( ) const
inline

Get smart pointer to the face.

Returns
0 or a valid smart pointer to a face

Definition at line 60 of file ndn-local-info-tag.h.


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