apps+model+utils: Implementing Interest/Data hop counting using new PacketTag
diff --git a/apps/ndn-consumer-zipf-mandelbrot.cc b/apps/ndn-consumer-zipf-mandelbrot.cc
index c0e84d8..9982738 100644
--- a/apps/ndn-consumer-zipf-mandelbrot.cc
+++ b/apps/ndn-consumer-zipf-mandelbrot.cc
@@ -23,6 +23,9 @@
#include "ns3/ndn-app-face.h"
#include "ns3/ndn-interest.h"
#include "ns3/ndn-content-object.h"
+
+#include "ns3/ndnSIM/utils/ndn-fw-hop-count-tag.h"
+
#include <math.h>
@@ -176,6 +179,9 @@
m_rtt->SentSeq (SequenceNumber32 (seq), 1);
+ FwHopCountTag hopCountTag;
+ packet->AddPacketTag (hopCountTag);
+
m_protocolHandler (packet);
ConsumerZipfMandelbrot::ScheduleNextPacket ();