[ndnSIM] Populate Fib

bouchrit leila bouchritleila at gmail.com
Fri Jul 26 10:58:56 PDT 2019


Can someone guide me please?

Le jeu. 25 juil. 2019 à 18:42, bouchrit leila <bouchritleila at gmail.com> a
écrit :

> hi all,
>
> 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.
> Ptr<L3Protocol> ndn = node->GetObject<L3Protocol>();
> Ptr<Fib> fib = node ()->GetObject<Fib> ();
> shared_ptr<Face> face = ndn->getFaceByNetDevice(netDevice);
> Ptr<fib::Entry> fibEntry = fib->Add (m_prefix, face, 0);
>
> Best Regards
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190726/d5c555b6/attachment.html>


More information about the ndnSIM mailing list