<div dir="ltr">Hi, Thank you for your response, its always helping and I appreciate your effort on this platform. <br><br>I have tried the solution you advised. The following lines <br><br><span style="font-family:monospace,monospace">this->dispatchToStrategy(*pitEntry,<br>            [&] (fw::Strategy& strategy) {<br>                strategy.afterReceiveInterest(inFace, interest, pitEntry);<br>        }<br>    );</span><br><br>of <span style="font-family:monospace,monospace">onContentStoreMiss</span> method calls the callback <span style="font-family:monospace,monospace">afterReceiveInterest</span>. <span style="font-family:monospace,monospace">The afterReceiveInterest</span> callback takes it back to the start of <span style="font-family:monospace,monospace">forwarder.cpp</span> file where following lines <br><br><span style="font-family:monospace,monospace">face.afterReceiveInterest.connect(<br>                [this, &face] (const Interest& interest) {<br>                    this->startProcessInterest(face, interest);<br>                });</span><br><br>are get executed on the same node which has started all this before. It is not being forwarded to neighboring node. Please advise further what can I do to resolve this issue?<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 April 2018 at 23:10, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mudasir,<br>
<br>
the nextHopFaceIdTag is supposed to be used for other reasons (not for generic Interest forwarding). Therefore, being a nullptr is expected in your case.<br>
<br>
You will have to investigate what happens when the Interest is actually dispatched to the strategy and specifically to the afterReceiveInterest callback.<br>
<br>
Thanks,<br>
<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" rel="noreferrer" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br>
Internet Research Laboratory<br>
Computer Science Department<br>
UCLA<br>
<div class="HOEnZb"><div class="h5"><br>
> On Apr 7, 2018, at 6:34 AM, Mudasir Qazi <<a href="mailto:mudasirqazi00@gmail.com">mudasirqazi00@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I'm unable to flood my interest from one node to another, let me explain it below:<br>
><br>
> Following line in onContentStoreMiss method in Forwarder.cpp always returns nullptr making if (nextHopTag != nullptr) returns false at very next line. So the execution does not goes inside this if-block.<br>
><br>
> shared_ptr<lp::<wbr>NextHopFaceIdTag> nextHopTag = interest.getTag<lp::<wbr>NextHopFaceIdTag>();<br>
><br>
> This way, following statement inside the if-block<br>
><br>
> this->onOutgoingInterest(<wbr>pitEntry, *nextHopFace, interest);<br>
><br>
> never executed and hence the Interest is not flooded to neighboring nodes. Why the nextHopTag is null in Interest? What is the solution of it? Am I missing something? Please help.<br>
><br>
> P.S. I'm creating interest from other interest using following statement:<br>
> auto myInterest = std::make_shared<Interest>(<wbr>interest.wireEncode());<br>
><br>
><br>
> Please help me solving this issue.<br>
><br>
> --<br>
> Regards,<br>
> Mudasir Qazi<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:georgia,serif">Regards,<br></span></div><div><span style="font-family:georgia,serif">Mudasir Qazi<br></span></div></div></div></div></div></div></div></div></div>
</div>