<div dir="ltr">Hello,<div><br></div><div>Thanks for your answer. I tried to use the FibHelper but have some trouble with metric variable. I don't really understand how to use it with AddRoute function. Can you please help me,</div><div><br></div><div>Best Regards,</div><div>Alexander Ni</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 12:24 AM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:spiros.mastorakis@gmail.com" target="_blank">spiros.mastorakis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
you could either use the FibHelper:<br>
<br>
<a href="http://ndnsim.net/2.0/helpers.html#manually-routes-fib-helper" target="_blank">http://ndnsim.net/2.0/helpers.html#manually-routes-fib-helper</a><br>
<br>
or (this is a more informal and dirty way to do it) use directly the API of NFD’s FIB:<br>
<br>
<a href="http://ndnsim.net/2.0/doxygen/classnfd_1_1Fib.html#a1ed3dd88fe19112ce99be346e87cecbf" target="_blank">http://ndnsim.net/2.0/doxygen/classnfd_1_1Fib.html#a1ed3dd88fe19112ce99be346e87cecbf</a><br>
<br>
Hope that this helps.<br>
<br>
--<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br>
Internet Research Laboratory<br>
PhD Computer Science<br>
UCLA<br>
<div><div class="h5"><br>
<br>
<br>
<br>
> On May 4, 2015, at 6:36 PM, Alexander Ni <<a href="mailto:alexni1992@gmail.com">alexni1992@gmail.com</a>> wrote:<br>
><br>
> Hi everyone,<br>
><br>
> I work with ndnSIM 2.0 and I still not so close with ns-3 and ndnSIM.<br>
> Can somebody help me? I want to make Fib modification in runtime and don't really know how I should bettter do this. Also I want to implement some additional message types but don't know from where I should better start.<br>
><br>
> --<br>
> Sincerely,<br>
> Alexander Ni<br>
</div></div>> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333330154419px;line-height:18.2000007629395px">Sincerely,</span><br><div><span style="color:rgb(0,0,0);font-family:Arial,Tahoma,Verdana,sans-serif;font-size:13.3333330154419px;line-height:18.2000007629395px">Alexander Ni</span></div></div></div>
</div></div>