[ndnSIM] Incoming interest in producer node
Spyridon (Spyros) Mastorakis
mastorakis at cs.ucla.edu
Thu Oct 12 16:19:21 PDT 2017
Hi,
please forward your emails to the list, so that they are visible to all the subscribers.
This decision is related to 2 factors:
1) The producer application adds a route with cost 0 for the served prefix towards its local face:
https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-producer.cpp#L82 <https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-producer.cpp#L82>
2) Once this route is added, the resulting outgoing face of a FIB lookup will be the one registered by the app. Interests with the registered prefix will be forwarded through the app face:
https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/daemon/fw/forwarder.cpp#L258 <https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/daemon/fw/forwarder.cpp#L258>
Hope that this helps,
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Oct 12, 2017, at 11:28 AM, Renato Cavalcante <renato.frca at gmail.com> wrote:
>
> Dear Spyros,
> thank you very much for replying.
>
> This decision happen in the forwarder class? If yes, in which member function (method)?
>
> Thanks,
>
>
>
> 2017-10-12 13:47 GMT-03:00 Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu <mailto:mastorakis at cs.ucla.edu>>:
> Hi,
>
> if a producer application has announced the Interest prefix, then the Interest will be forwarded to the application. If not, it will be further forwarded based on FIB LPM.
>
> Thanks,
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
>> On Oct 11, 2017, at 9:38 PM, Renato Cavalcante <renato.frca at gmail.com <mailto:renato.frca at gmail.com>> wrote:
>>
>> Hi All,
>>
>> Where exactly the incoming interest is pass for application and don't is send for out face, in producer node?
>>
>>
>> Thanks,
>
>
>
>
> --
> Renato Araújo
> Computer Science Department
> UFBA -- Brazil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171012/a4195cdf/attachment.html>
More information about the ndnSIM
mailing list