[ndnSIM] question

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Apr 18 11:39:36 PDT 2013

I'm not quite sure what is the relation between ndn->GetNFaces() and new type of packet you created.  Would it be possible if you post some code, so I can check what is going wrong?


On Apr 18, 2013, at 2:09 AM, 王宁 <wnbupt9 at gmail.com> wrote:

> hi,thank you for your answers . Since i define a new packet,so when i use 'ndn->GetNFaces ()'  sending to all faces,   when the node recevice the packet ,it cannot  get the type of my new packet, i define the new packet in ndn-header-helper.cc  ndn-header-helper.h  , so what should i do ?
> 2013/4/18 Alex Afanasyev <alexander.afanasyev at ucla.edu>
> Is there a reason for not adding information about forwarding to the node's neighbor to the FIB?  FIB suppose to be just a database for all available paths to where you can send Interests for specific (or all) prefixes, maintaining data plane performance characteristics for each face.
> If you really want to do that, it is still possible if you write a custom strategy (http://ndnsim.net/fw.html#writing-your-own-custom-strategy). You may also want to check this conversation http://www.lists.cs.ucla.edu/pipermail/ndnsim/2012-December/000030.html  with an example how to send out interests to faces not listed in the FIB.
> ---
> Alex
> On Apr 17, 2013, at 6:27 AM, 王宁 <wnbupt9 at gmail.com> wrote:
>> hi,i want to know if the node's neighbor  is not in FIB,but i want to send interest to all neighbor. what should i do ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130418/1f4b99bd/attachment.html>

More information about the ndnSIM mailing list