<div dir="ltr">Hi Prajjwal<div><br></div><div>Forwarder::onIncomingInterest function can access the PIT via m_pit member field of the Forwarder class.</div><div>The PIT is iterable via standard begin() end() functions.</div><div><br></div><div>However, if your algorithm depends on PIT enumeration upon every Interest receipt, it likely would not scale.</div><div><br></div><div>Yours, Junxiao</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 3, 2021 at 7:54 AM Prajjwal Singh <<a href="mailto:csb17053@tezu.ac.in">csb17053@tezu.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div>Hello everybody,</div><div>I am trying to get all the entries in the PIT of a node whenever an interest packet arrives at that node.</div><div><br></div><div>I am trying to tweak the code in the function onIncomingInterest(ingress, interest) inside NFD/daemon/table/fw/forwarder.cpp.</div><div><br></div><div>Kindly help me with this, it would be really helpful if either one gives me some hint about the objects i need to make or provide with some example code.</div><div><br></div><div>Thanking you in advance</div><div>Prajjwal Singh<br></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>