Several important corrections. Adding option to delay data at every node (random from 0.1 to 2 ms)
diff --git a/model/ccnx-l3-protocol.h b/model/ccnx-l3-protocol.h
index ba4fcaa..a9c4f8a 100644
--- a/model/ccnx-l3-protocol.h
+++ b/model/ccnx-l3-protocol.h
@@ -195,6 +195,11 @@
GiveUpInterest (const CcnxPitEntry &pitEntry,
Ptr<CcnxInterestHeader> header);
+ void
+ OnDataDelayed (Ptr<CcnxContentObjectHeader> header,
+ Ptr<Packet> payload,
+ const Ptr<const Packet> &packet);
+
private:
uint32_t m_faceCounter; ///< \brief counter of faces. Increased every time a new face is added to the stack
typedef std::vector<Ptr<CcnxFace> > CcnxFaceList;
@@ -210,6 +215,7 @@
bool m_nacksEnabled;
bool m_cacheUnsolicitedData;
+ bool m_delayingDataProcessing;
// Time m_bucketLeakInterval;
// EventId m_bucketLeakEvent;