model+helper: Adding new variable (realDelay) which is currently set by the global routing controller.
This variable can be used to analyze behavior of RTT estimation or some
other analysis tasks.
diff --git a/model/fib/ndn-fib-entry.cc b/model/fib/ndn-fib-entry.cc
index 750f9da..c04e43b 100644
--- a/model/fib/ndn-fib-entry.cc
+++ b/model/fib/ndn-fib-entry.cc
@@ -132,6 +132,21 @@
}
void
+Entry::SetRealDelayToProducer (Ptr<Face> face, Time delay)
+{
+ NS_LOG_FUNCTION (this);
+ NS_ASSERT_MSG (face != NULL, "Trying to Update NULL face");
+
+ FaceMetricByFace::type::iterator record = m_faces.get<i_face> ().find (face);
+ if (record != m_faces.get<i_face> ().end ())
+ {
+ m_faces.modify (record,
+ (&ll::_1)->*&FaceMetric::m_realDelay = delay);
+ }
+}
+
+
+void
Entry::Invalidate ()
{
for (FaceMetricByFace::type::iterator face = m_faces.begin ();