face: NDNLP encoding change
FragIndex and FragCount fields are encoded as nonNegativeInteger.
refs #1283
Change-Id: I4654078c3bfd73c83ce06ce6a9cd97952a4f49f8
diff --git a/daemon/face/ndnlp-slicer.hpp b/daemon/face/ndnlp-slicer.hpp
index ba04e3c..716cddc 100644
--- a/daemon/face/ndnlp-slicer.hpp
+++ b/daemon/face/ndnlp-slicer.hpp
@@ -22,10 +22,10 @@
public:
explicit
Slicer(size_t mtu);
-
+
virtual
~Slicer();
-
+
PacketArray
slice(const Block& block);
@@ -33,13 +33,13 @@
/// estimate the size of NDNLP header and maximum payload size per packet
void
estimateOverhead();
-
+
private:
SequenceGenerator m_seqgen;
-
+
/// maximum packet size
size_t m_mtu;
-
+
/// maximum payload size
size_t m_maxPayload;
};