[ndnSIM] [EXT] Getting all PIT entries of a node.

Junxiao Shi shijunxiao at email.arizona.edu
Mon May 3 12:00:57 PDT 2021

Hi Prajjwal

Forwarder::onIncomingInterest function can access the PIT via m_pit member
field of the Forwarder class.
The PIT is iterable via standard begin() end() functions.

However, if your algorithm depends on PIT enumeration upon every Interest
receipt, it likely would not scale.

Yours, Junxiao

On Mon, May 3, 2021 at 7:54 AM Prajjwal Singh <csb17053 at tezu.ac.in> wrote:

> *External Email*
> Hello everybody,
> I am trying to get all the entries in the PIT of a node whenever an
> interest packet arrives at that node.
> I am trying to tweak the code in the function onIncomingInterest(ingress,
> interest) inside NFD/daemon/table/fw/forwarder.cpp.
> 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.
> Thanking you in advance
> Prajjwal Singh
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210503/f5863d79/attachment.html>

More information about the ndnSIM mailing list