<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin: 0;"><br></p><div style="margin: 0;">You are correct. I carefully checked the <i>forwarder.cpp</i> file, and I found that when a route node decides to cache a certain <i>Data</i> packet, it will copy this packet, but set the <i>HopCountTag</i> to 0. Very grateful for your help.</div><div style="margin: 0;"><br></div><div style="margin: 0;"><br></div><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2021-01-07 07:36:24, "Spyridon Mastorakis" <smastorakis@unomaha.edu> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">




If I remember correctly: when we insert a data packet in the CS, we change the value of hop count to 0.
<div class=""><br class="">
</div>
<div class="">Then once a data packet is retrieved from the CS and until it is returned to the consumer, the hop count starts incrementing again.</div>
<div class=""><br class="">
</div>
<div class="">Can you try to see if my recollection is right?</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class=""><br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Spyridon (Spyros) Mastorakis<br class="">
Assistant Professor<br class="">
Computer Science Department<br class="">
University of Nebraska, Omaha<br class="">
Peter Kiewit Institute Room 175A<br class="">
<a href="https://sites.google.com/site/spyridonmastorakis" class="">https://sites.google.com/site/spyridonmastorakis</a></div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 6, 2021, at 3:17 AM, L via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" class="">ndnsim@lists.cs.ucla.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class=""><font face="sans-serif" color="#FF6347" class="">Non-NU Email</font>
<hr class="">
 </div>
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div style="margin:0;" class="">Hello, everyone</div>
<div style="margin:0;" class="">   I know that <i class="">hopCount</i> can be used to calculate the number of hops passed by the
<i class="">Data</i> packet from the producer to the consumer, but when the <i class="">
Interest</i> packet is satisfied in the route node, that is to say, the route node caches the corresponding
<i class="">Data</i> packet. How should I get the number of hops that the packet has reached the consumer?</div>
<div style="margin:0;" class="">Best wishes,</div>
<div style="margin:0;" class="">Zhen</div>
</div>
<br class="">
<br class="">
<span title="neteasefooter" class="">
<div class=""> <br class="webkit-block-placeholder">
</div>
</span>_______________________________________________<br class="">
ndnSIM mailing list<br class="">
<a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=2Cm1gd1KDITenmtp48gMM4i_uT35i-i9a2G9SsfstHo&s=Go4UFyIqHiF5qEHu9Qp1FMS6Ar3XvfhPLOklfE2BVkU&e=
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>


</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>