<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></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 take a look at the NFD developer guide to understand how RIB works first:</div><div class=""><br class=""></div><div class=""><a href="https://named-data.net/wp-content/uploads/2016/10/ndn-0021-7-nfd-developer-guide.pdf" class="">https://named-data.net/wp-content/uploads/2016/10/ndn-0021-7-nfd-developer-guide.pdf</a></div><div class=""><br class=""></div><div class="">Then, I would suggest you use the registerRequest API of NFD to add the route you need:</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/rib/rib-manager.cpp#L176" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/rib/rib-manager.cpp#L176</a></div><div class=""><br class=""></div><div class="">The best place to do that I think is in the initializeRibManager method:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/5ea3322623a0550799431f25b2fc4e7e4df5c046/model/ndn-l3-protocol.cpp#L326" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/5ea3322623a0550799431f25b2fc4e7e4df5c046/model/ndn-l3-protocol.cpp#L326</a></div><div class=""><br class=""></div><div class="">Thanks,</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 Aug 15, 2017, at 2:23 PM, Mateus Sousa <<a href="mailto:mateus.aluufc@gmail.com" class="">mateus.aluufc@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi dears, <br class=""><br class=""></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" class=""> Can someone tell me how to do this?</span><br class=""><br class=""></div>Thanks in advance.<br class=""></div></div></blockquote></div><br class=""></div></body></html>