[ndnSIM] Can I use AddRoute in forwarder.cpp?

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Jul 2 11:17:35 PDT 2015

> On Jul 1, 2015, at 10:10 AM, 최원준 <wonjunchoi001 at gmail.com> wrote:
> Hello.
> Can I use AddRoute in forwarder.cpp like this whenever Interest packets arrive?
> ndn::FibHelper::AddRoute(nodes.Get(0), "/", nodes.Get(1), 10);

Yes, if you want, you can use FibHelper on a per-packet basis.  Just be careful, as this potentially can explode FIB size.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150702/22621e87/attachment.bin>

More information about the ndnSIM mailing list