<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Milad,<div><br></div><div>Sorry for my delayed reply.  Currently, there are no strategies that implement smart wireless-aware forwarding are implemented in ndnSIM.  I think I already pointed you to an extension that does some wireless-based forwarding in vehicular environments (<a href="https://github.com/cawka/ndnSIM-nom-rapid-car2car">https://github.com/cawka/ndnSIM-nom-rapid-car2car</a>), but it is not exactly what are you looking for.</div><div><br></div><div>As for the implementation, you may want to start with creating a new custom strategy class that is derived from ndn::ForwardingStrategy and overload a couple of methods, including SatisfyPendingInterest, CanSendOutInterest, DoPropagateInterest and may be some others.  The key point is that you should enable "forwarding" to the incoming face (since in wifi scenarios this is an intended behavior).  Also, you should be careful to terminate such "relaying" at some point.</div><div><br></div><div>As for multipath routing.  It is NDN feature (nonce in interests effectively prevent any looping, so it is supported by ndnSIM). Another question is how exactly this multipath is implemented in the forwarding strategy.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Jul 14, 2013, at 1:28 PM, Milad Mahdian <<a href="mailto:mahdian.m@husky.neu.edu">mahdian.m@husky.neu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Alex,<div><br></div><div>Assuming one node is trying to send a packet to another node over a wireless channel, I was wondering how I can simulate this communication in ndnSIM. in another word, as in ndnSIM nodes are communicating through interfaces, how one can simulate a wireless communication over a wireless channel.</div>
<div><br></div><div>Regards,</div><div>Milad Mahdian<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Milad Mahdian</b> <span dir="ltr"><<a href="mailto:mahdian.m@husky.neu.edu">mahdian.m@husky.neu.edu</a>></span><br>
Date: Sun, Jul 14, 2013 at 12:33 AM<br>Subject: Forwarding strategy for wireless network<br>To: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>Cc: Edmund Yeh <<a href="mailto:eyeh@ece.neu.edu">eyeh@ece.neu.edu</a>>, melis yetkinler <<a href="mailto:melisyetkinler@gmail.com">melisyetkinler@gmail.com</a>><br>
<br><br><div dir="ltr">Hi Alex,<div><br></div><div>We are working on a wireless scenario in which nodes are chosen randomly as a relay. I was wondering if there is such a forwarding strategy that relays are chosen randomly. Also, is there any support for multipath routing in ndnSIM?</div>

<div><br></div><div>Regards,</div><div>Milad </div></div>
</div><br></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>