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

#include <ndn-ns3.hpp>

Static Public Member Functions

template<class T >
static std::shared_ptr< const T > FromPacket (Ptr< Packet > packet)
 
template<class T >
static Ptr< Packet > ToPacket (const T &pkt)
 
static uint32_t getPacketType (Ptr< const Packet > packet)
 

Detailed Description

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

Member Function Documentation

template<class T >
template std::shared_ptr< const Data > ns3::ndn::Convert::FromPacket< Data > ( Ptr< Packet >  packet)
static

Definition at line 34 of file ndn-ns3.cpp.

References ns3::ndn::PacketHeader< Pkt >::getPacket().

uint32_t ns3::ndn::Convert::getPacketType ( Ptr< const Packet >  packet)
static

Definition at line 78 of file ndn-ns3.cpp.

template<class T >
template Ptr< Packet > ns3::ndn::Convert::ToPacket< Data > ( const T &  pkt)
static

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