[ndnSIM] Finding Id of interest sending node

Shahid Md. Asif Iqbal asifcsep at gmail.com
Fri Mar 4 22:45:38 PST 2016

Dear Anil and others,
I might not have made my question clear, actually I want to know when  an
intermediate node receives an interest, the id of the node who has
generated the interest.Not the node which is currently receiving or
forwarding that interest.

On Fri, Mar 4, 2016 at 1:46 PM, Anil Jangam <anilj.mailing at gmail.com> wrote:

> You can get the pointer to the node sending the Interest as below. Get the
> node Id from the node object.
>  ns3::Ptr<ns3::Node> thisNode =
> ns3::NodeList::GetNode(ns3::Simulator::GetContext());
> To answer your other question, I think it depends how you write your
> producer application logic. I think you should be able to filter out
> certain Interest, based on where you want to remain silent or not.
> On Sun, Feb 28, 2016 at 5:00 AM, Shahid Md. Asif Iqbal <asifcsep at gmail.com
> > wrote:
>> Dear all,
>> How can I find the id of the node sending an interest in the
>> forwarder.cpp and ndn-producer.cpp files?
>> And, is it reasonable a producer replying for some segments and remain
>> silent for some segments of the same interest? And if it is please give
>> some hints how to do that.
>> _______________________________________________
>> 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/20160305/e9d8c9df/attachment.html>

More information about the ndnSIM mailing list