<div dir="ltr"><div>hi all,</div><div><div class="gmail-oSioSc"><div id="gmail-tw-target" class="gmail-"><div id="gmail-kAz1tf" class="gmail-g9WsWb"><div class="gmail-tw-ta-container gmail-tw-nfl" id="gmail-tw-target-text-container"><pre class="gmail-tw-data-text gmail-tw-ta gmail-tw-text-small" id="gmail-tw-target-text" style="text-align:left" dir="ltr"><span tabindex="0" lang="en">I want to fill fib with prefixes of interests.
the filling of the fib is not the same in all the nodes but according to a function of hash which determines which prefix will be put in such a node.
my question is what should i do fib filling at the producer level? or in my custom strategy
second question: I used the following instructions for filled fib but I still receive errors.<br>Ptr<L3Protocol> ndn = node->GetObject<L3Protocol>();<br>Ptr<Fib> fib = node ()->GetObject<Fib> ();<br>shared_ptr<Face> face = ndn->getFaceByNetDevice(netDevice);<br>Ptr<fib::Entry> fibEntry = fib->Add (m_prefix, face, 0);<br><br>Best Regards</span></pre></div></div></div></div></div></div>