[ndnSIM] How to extend ndnSim to support adhoc ?

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Sat Dec 31 01:25:25 PST 2016


I have not tried to do that with the latest version of NFD, but the solution might be something along the lines of:

1) you have to edit this method of the forwarder class:


2) probably use a NextHopFaceIdTag indicating that the next-hop face is the incoming face

3) Potentially, modify the PIT lookup process, add the incoming face to the faceTable and add a next-hop with the incoming face to the created PIT entry.

Hope that this helps,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Dec 30, 2016, at 10:04 PM, lahmer ilyas <ilyaslahmer93 at gmail.com> wrote:
> I am trying to use adhoc mode with ndnSim but i came to discover that i can't use it because ndnSim doesn't forward an interest to the same interface he came from.  So, How can i extend it so I can forward for the same interface in the interface is in adhoc mode.

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

More information about the ndnSIM mailing list