<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Amin,<div class=""><br class=""></div><div class="">I will answer your question, based on the best of my knowledge in ndnSIM. Alex can complement my answer if anything is misleading or incomplete.</div><div class=""><br class=""></div><div class="">There is a template class PerOutFaceLimits that I think it would be helpful. You can write a specialization of this template to apply it to your forwarding strategy. Moreover, each forwarding strategy uses a convention about green, yellow and red faces. There is a number of forwarding strategies implemented, but you can also create your own custom forwarding strategy based on the already implemented strategies. </div><div class=""><br class=""></div><div class="">Follow the first link to take a look at the PerOutFaceLimits template class and the second link for the forwarding strategies (with and without limits): <a href="http://ndnsim.net/doxygen/classns3_1_1ndn_1_1fw_1_1_per_out_face_limits.html#a3ea8ba5325d54412c5894e02fb519839" class="">http://ndnsim.net/doxygen/classns3_1_1ndn_1_1fw_1_1_per_out_face_limits.html#a3ea8ba5325d54412c5894e02fb519839</a></div><div class=""><a href="http://ndnsim.net/fw.html" class="">http://ndnsim.net/fw.html</a></div><div class=""><br class=""></div><div class="">If you eventually use the limits, do not forget to enable them first at your simulation scenario (there are some examples at the second aforementioned link).</div><div class=""><br class=""></div><div class="">Let me know if you need anything else.</div><div class="">Kind regards,</div><div class="">Spyros Mastorakis</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Nov 14, 2014, at 11:54 AM, amin1431 <<a href="mailto:amin1431@yahoo.com" class="">amin1431@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span class="">Hi Alex,</span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span id="yui_3_16_0_1_1415994592014_4816" class="">Could you please tell me in which section of the ndnSIM classes/functions we can do some strategy per-interface?</span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span id="yui_3_16_0_1_1415994592014_4820" class="">Is there any assigned class for that? for instance, change the rate of InInterest or add a value into data packet per interface not for all incoming data packets.</span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span id="yui_3_16_0_1_1415994592014_4838" class="">Thanks a lot for your all support.</span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><span class=""><br class=""></span></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class="">/Amin<br class=""></div><div id="yui_3_16_0_1_1415994592014_4801" dir="ltr" class=""><br class=""></div></div></div>_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""></div></body></html>