[ndnSIM] structure of fib in ndnsim

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Mar 14 20:02:48 PDT 2013

My small correction :). I meant that it is forwarding strategy job to pick a particular face from FIB entry.


On Mar 14, 2013, at 7:55 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:

> Hi huyao,
> You are right, for the single prefix there will be only one FIB entry created and it is forwarding strategy job to pick a particular one to forward an Interest in this prefix.
> There is an interface in fib::Entry to remove a specific face from s specific FIB entry.  You can also check recent conversation http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000242.html with more details about that.
> ---
> Alex
> On Mar 14, 2013, at 7:28 PM, yao hu <huyao0107 at gmail.com> wrote:
>> a supplement.. If so, is there a way to delete just some face like face 0 from the fib entry with the prefix /data without deleting face 1?
>> Thanks for your reply!
>> 2013/3/15 yao hu <huyao0107 at gmail.com>
>>> Dear ndnsimers,
>>> Assume that there is an existing fib entry with the prefix /data, face 0 in some specific node. Now by using the function Add() or AddRoute(), a new fib entry will be added with the same prefix /data, but with the different face 1. So I wonder in ndnsim, they are counted as two fib entries in FIB or just seemed as one. For my understanding, the answer is the latter. Here, in Fib class, GetSize () still equals to 1. Am I right? 
>>> Regards,
>>> huyao
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130314/dc77bf1d/attachment.html>

More information about the ndnSIM mailing list