NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ndnlp-data.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FACE_NDNLP_PARSE_HPP
27
#define NFD_DAEMON_FACE_NDNLP_PARSE_HPP
28
29
#include "common.hpp"
30
#include "
ndnlp-tlv.hpp
"
31
32
namespace
nfd
{
33
namespace
ndnlp {
34
43
class
NdnlpData
44
{
45
public
:
49
static
std::tuple<bool, NdnlpData>
50
fromBlock
(
const
Block
& wire);
51
52
public
:
53
uint64_t
seq
;
54
uint16_t
fragIndex
;
55
uint16_t
fragCount
;
56
Block
payload
;
57
};
58
59
}
// namespace ndnlp
60
}
// namespace nfd
61
62
#endif // NFD_DAEMON_FACE_NDNLP_PARSE_HPP
nfd::ndnlp::NdnlpData
represents a NdnlpData packet
Definition:
ndnlp-data.hpp:43
nfd::ndnlp::NdnlpData::seq
uint64_t seq
Definition:
ndnlp-data.hpp:53
ndn::Block
Class representing a wire element of NDN-TLV packet format.
Definition:
block.hpp:43
nfd::ndnlp::NdnlpData::fromBlock
static std::tuple< bool, NdnlpData > fromBlock(const Block &wire)
parse a NdnlpData packet
Definition:
ndnlp-data.cpp:32
nfd::ndnlp::NdnlpData::fragCount
uint16_t fragCount
Definition:
ndnlp-data.hpp:55
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
nfd::ndnlp::NdnlpData::fragIndex
uint16_t fragIndex
Definition:
ndnlp-data.hpp:54
nfd::ndnlp::NdnlpData::payload
Block payload
Definition:
ndnlp-data.hpp:56
ndnlp-tlv.hpp
ndnSIM
NFD
daemon
face
ndnlp-data.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11