[ndnSIM] How to record interests?

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Apr 24 10:51:16 PDT 2013

Hi Shenglan,

There are many ways you can implement such a table.  For example, you can write something similar to ndn-pit-impl.h, which internally uses a special ndnSIM hash-based trie-like data structure to facilitate entry lookup process.

I made a very basic example, based on ndn-pit-impl, but without any complex logic.

To actually add/update entries to your custom table, you would need to write a custom forwarding strategy (or modify the existing one) in the same way PIT is accessed and modified.


On Apr 24, 2013, at 6:17 AM, 陈胜蓝 <blindeafer at 163.com> wrote:

> Hi Al
> In my scenario, every intermediate node itself maintains a table that record the incoming interests' name, the corresponding FaceId,the arrival time and the total access number of every interest.The table is updated when an interest accessed. How can I creat the table.
> Could you give me some suggestions or a template?
> Best regards,
> Shenglan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130424/365ea021/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: custom-interest-table.cc
Type: application/octet-stream
Size: 3829 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130424/365ea021/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130424/365ea021/attachment-0001.html>

More information about the ndnSIM mailing list