<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yeah, it wasn't intentional, but I checked the code and I see that NextHop will be -1 if Interest/Data never traveled over network links. Whenever it was forwarded, it should be set properly.  You can simply treat it as 0.<div class=""><br class=""></div><div class="">-</div><div class="">Alex<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 2, 2020, at 9:27 PM, Pawan Subedi <<a href="mailto:psubedi@crimson.ua.edu" class="">psubedi@crimson.ua.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="">Dear ndnSim team,</div><div class="gmail_default" style=""><br class=""></div><div class="gmail_default" style="">Sorry to bother with the last email. I think I have figured out the real cause of the problem. I had actually set the producer application and the consumer application for the similar name prefix in the same node for some nodes while selecting nodes randomly. </div><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><br class=""></div><div class="">Thank you!</div><div class=""><br class=""></div><div dir="ltr" class="">Sincerely,<div class="">Pawan Subedi</div></div></div></div></div></div></div></div><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 2, 2020 at 4:32 PM Pawan Subedi <<a href="mailto:psubedi@crimson.ua.edu" class="">psubedi@crimson.ua.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class="gmail_default" style="">Dear team,</div><div class="gmail_default" style=""><br class=""></div><div class="gmail_default" style="">I had posted this issue yesterday where I was seeing -1 as hop count in app-level traces. After carefully looking at my simulation scenario, here's what I found:</div><div class="gmail_default" style="">-If I set the mobility of the producer nodes to ns3::ConstantPositionMobilityModel, I only see the trace file with positive hop counts.</div><div class="gmail_default" style="">-If I set the mobility of the same producers to mobility model based on output of ns-2 using Ns2MobilityHelper, I start seeing the -1 hop counts.</div><div class="gmail_default" style=""><br class=""></div><div class="gmail_default" style="">Are we not supposed to have mobile producers with ndnSim or am I doing something wrong here?</div><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><br class=""></div><div class="">Thank you!</div><div class=""><br class=""></div><div dir="ltr" class="">Sincerely,<div class="">Pawan Subedi</div></div></div></div></div></div></div></div></div>
</blockquote></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="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; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">______________<br class="">Alex Afanasyev<br class="">Assistant Professor, SCIS, Florida International University<br class="">11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199<br class="">phone: +1.305.348.4960 (office); <a href="mailto:aa@cs.fiu.edu" class="">email: aa@cs.fiu.edu</a><br class="">web: <a href="https://users.cs.fiu.edu/~afanasyev/" class="">https://users.cs.fiu.edu/~afanasyev/</a><br class=""><br class=""></div>

</div>
<br class=""></div></body></html>