NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
n
p
r
s
t
u
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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:40
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 Fri Feb 23 2018 12:30:55 for ndnSIM by
1.8.14