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::Wire Struct Reference

Public Types

enum  { WIRE_FORMAT_DEFAULT = -2, WIRE_FORMAT_AUTODETECT = -1, WIRE_FORMAT_NDNSIM = 0, WIRE_FORMAT_CCNB = 1 }
 

Static Public Member Functions

static Ptr< Packet > FromInterest (Ptr< const Interest > interest, int8_t wireFormat=WIRE_FORMAT_DEFAULT)
 
static Ptr< InterestToInterest (Ptr< Packet > packet, int8_t type=WIRE_FORMAT_AUTODETECT)
 
static Ptr< Packet > FromData (Ptr< const Data > data, int8_t wireFormat=WIRE_FORMAT_DEFAULT)
 
static Ptr< DataToData (Ptr< Packet > packet, int8_t type=WIRE_FORMAT_AUTODETECT)
 
static std::string FromInterestStr (Ptr< const Interest > interest, int8_t wireFormat=WIRE_FORMAT_DEFAULT)
 
static Ptr< InterestToInterestStr (const std::string &wire, int8_t type=WIRE_FORMAT_AUTODETECT)
 
static std::string FromDataStr (Ptr< const Data > data, int8_t wireFormat=WIRE_FORMAT_DEFAULT)
 
static Ptr< DataToDataStr (const std::string &wire, int8_t type=WIRE_FORMAT_AUTODETECT)
 
static std::string FromName (Ptr< const Name > name, int8_t wireFormat=WIRE_FORMAT_DEFAULT)
 Convert name to wire format.
 
static Ptr< NameToName (const std::string &wire, int8_t wireFormat=WIRE_FORMAT_DEFAULT)
 Convert name from wire format.
 

Detailed Description

Definition at line 23 of file ndn-wire.h.


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