model+apps+utils+examples+ci+docs: Update code for changes in ns-2.23
- Replace removed RandomVariable with RandomVariableStream
- Replace deprecated usages of AddTraceSource
- Update changed LogComponent interface
ci: This commit also integrates a script for Jenkins and Travis CI to
clone NS-3 and pybindgen repositories, so the code can be built.
docs: Update to reflect new home of ndnSIM and related sources
Change-Id: Ic14e1269bf15366b0041fd670c577053b6704dc7
Refs: #3122, #3123
diff --git a/model/ndn-l3-protocol.hpp b/model/ndn-l3-protocol.hpp
index ffd3bc2..9b63255 100644
--- a/model/ndn-l3-protocol.hpp
+++ b/model/ndn-l3-protocol.hpp
@@ -158,6 +158,13 @@
static Ptr<L3Protocol>
getL3Protocol(Ptr<Object> node);
+public:
+ typedef void (*InterestTraceCallback)(const Interest&, const Face&);
+ typedef void (*DataTraceCallback)(const Data&, const Face&);
+
+ typedef void (*SatisfiedInterestsCallback)(const nfd::pit::Entry& pitEntry, const Face& inFace, const Data& data);
+ typedef void (*TimedOutInterestsCallback)(const nfd::pit::Entry& pitEntry);
+
protected:
virtual void
DoDispose(void); ///< @brief Do cleanup