NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::ndnlp::NdnlpData Class Reference

represents a NdnlpData packet More...

#include <ndnlp-data.hpp>

Collaboration diagram for nfd::ndnlp::NdnlpData:

Static Public Member Functions

static std::tuple< bool, NdnlpDatafromBlock (const Block &wire)
 parse a NdnlpData packet More...
 

Public Attributes

uint64_t seq
 
uint16_t fragIndex
 
uint16_t fragCount
 
Block payload
 

Detailed Description

represents a NdnlpData packet

NdnlpData ::= NDNLP-DATA-TYPE TLV-LENGTH NdnlpSequence NdnlpFragIndex? NdnlpFragCount? NdnlpPayload

Definition at line 43 of file ndnlp-data.hpp.

Member Function Documentation

◆ fromBlock()

std::tuple< bool, NdnlpData > nfd::ndnlp::NdnlpData::fromBlock ( const Block wire)
static

Member Data Documentation

◆ seq

uint64_t nfd::ndnlp::NdnlpData::seq

Definition at line 53 of file ndnlp-data.hpp.

Referenced by fromBlock(), and nfd::ndnlp::PartialMessageStore::receive().

◆ fragIndex

uint16_t nfd::ndnlp::NdnlpData::fragIndex

Definition at line 54 of file ndnlp-data.hpp.

Referenced by fromBlock(), and nfd::ndnlp::PartialMessageStore::receive().

◆ fragCount

uint16_t nfd::ndnlp::NdnlpData::fragCount

◆ payload

Block nfd::ndnlp::NdnlpData::payload

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