<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am not sure to which “buffer” you are referring to, but an easy way to do that (so that you have easy access too) is to create a custom application that you will install on all the routers. This app will receive Interests, record them and then simply further forward them. Once the data packet is received, you can delete the Interest from your queue. </div><div class=""><br class=""></div><div class="">Another way to do that (with less flexible access probably) is to hack NFD directly and add an std::vector object or something as an attribute to the Forwarder class:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.6.0-ndnSIM/daemon/fw/forwarder.cpp" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.6.0-ndnSIM/daemon/fw/forwarder.cpp</a></div><div class=""><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.6.0-ndnSIM/daemon/fw/forwarder.hpp" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.6.0-ndnSIM/daemon/fw/forwarder.hpp</a></div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Feb 19, 2018, at 3:46 AM, Hammad Zafar <<a href="mailto:hammad.zafar@y7mail.com" class="">hammad.zafar@y7mail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class=""><div class="">Hi all,</div><div class=""><br class=""></div><div class="">I want to implement and maintain a queue (other than the buffer) inside core routers for interest forwarding. How do I add a queue and then access it too in ndnSIM?</div><div class=""><br class=""></div><div class="">Any help would be much appreciated.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Hammad<br class=""></div></div></div></div></blockquote></div><br class=""></div></body></html>