<div dir="ltr"><div>Many thanks Spyridon. Congratulations for your determination to help others.<br><br></div>Best regards.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-15 19:36 GMT-03:00 Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>please take a look at the NFD developer guide to understand how RIB works first:</div><div><br></div><div><a href="https://named-data.net/wp-content/uploads/2016/10/ndn-0021-7-nfd-developer-guide.pdf" target="_blank">https://named-data.net/wp-<wbr>content/uploads/2016/10/ndn-<wbr>0021-7-nfd-developer-guide.pdf</a></div><div><br></div><div>Then, I would suggest you use the registerRequest API of NFD to add the route you need:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/rib/rib-manager.cpp#L176" target="_blank">https://github.com/named-data-<wbr>ndnSIM/NFD/blob/NFD-0.5.0-30-<wbr>g934f505-ndnSIM/rib/rib-<wbr>manager.cpp#L176</a></div><div><br></div><div>The best place to do that I think is in the initializeRibManager method:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/5ea3322623a0550799431f25b2fc4e7e4df5c046/model/ndn-l3-protocol.cpp#L326" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM/blob/<wbr>5ea3322623a0550799431f25b2fc4e<wbr>7e4df5c046/model/ndn-l3-<wbr>protocol.cpp#L326</a></div><div><br></div><div>Thanks,</div><div><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div><div><div class="h5">
<br><div><blockquote type="cite"><div>On Aug 15, 2017, at 2:23 PM, Mateus Sousa <<a href="mailto:mateus.aluufc@gmail.com" target="_blank">mateus.aluufc@gmail.com</a>> wrote:</div><br class="m_163935513314886370Apple-interchange-newline"><div><div dir="ltr"><div><div>Hi dears, <br><br></div>I'm facing a problem with in my sims, to overcome it I need to add an entry in RIB ("/hello/myID").<span lang="en"> Can someone tell me how to do this?</span><br><br></div>Thanks in advance.<br></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>