<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">please forward your emails to the list, so that they are visible to all the subscribers.</div><div class=""><br class=""></div><div class="">This decision is related to 2 factors:</div><div class=""><br class=""></div><div class="">1) The producer application adds a route with cost 0 for the served prefix towards its local face:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-producer.cpp#L82" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-producer.cpp#L82</a></div><div class=""><br class=""></div><div class="">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:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/daemon/fw/forwarder.cpp#L258" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/daemon/fw/forwarder.cpp#L258</a></div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 12, 2017, at 11:28 AM, Renato Cavalcante <<a href="mailto:renato.frca@gmail.com" class="">renato.frca@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear Spyros, <div class="">thank you very much for replying.<br class=""><div class=""><br class=""></div><div class="">This decision happen in the forwarder class? If yes, in which member function (method)?<br class=""></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-10-12 13:47 GMT-03:00 Spyridon (Spyros) Mastorakis <span dir="ltr" class=""><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank" class="">mastorakis@cs.ucla.edu</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~<wbr class="">mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div><div class=""><br class=""></div></div></div></div><div class=""><div class="h5"><div class=""><blockquote type="cite" class=""><div class="">On Oct 11, 2017, at 9:38 PM, Renato Cavalcante <<a href="mailto:renato.frca@gmail.com" target="_blank" class="">renato.frca@gmail.com</a>> wrote:</div><br class="m_-7820509961315095436Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi All,<div class=""><br class=""></div><div class=""><div class="">Where exactly the incoming interest is pass for application and don't is send for out face, in producer node?</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks,</div></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><font class=""><span style="font-size:12.8px" class="">Renato Araújo</span><br class=""></font></div><div class=""><font class=""><span style="font-size:12.8px" class="">Computer Science Department</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">UFBA -- Brazil</span></font><br class=""><div class=""><br class=""><br class=""></div></div></div></div></div></div></div>
</div>
</div></blockquote></div><br class=""></div></body></html>