<div>Hi,</div><div><div><div>Thank you for your reminding.</div><div><br></div><div>Your suggestion is very helpful to me and i would read the code in NFD carefully.</div><div><br></div><div>Best regards! </div><div><br></div><div>Zhou</div><div></div></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Spyridon (Spyros) Mastorakis";<mastorakis@cs.ucla.edu>;</div><div><b>发送时间:</b> 2017年5月3日(星期三) 上午10:19</div><div><b>收件人:</b> "周"<867324088@qq.com>; <wbr></div><div><b>抄送:</b> "NdnSIM"<ndnsim@lists.cs.ucla.edu>; <wbr></div><div><b>主题:</b> Re: [ndnSIM] Enable push-based forwarding</div></div><div><br></div>Hi,<div class=""><br class=""></div><div class="">please use the “reply all” option, so that your emails are forwarded to the list too.</div><div class=""><br class=""></div><div class="">Well, the work I have seen for vehicular networking assumes that NFD can cache unsolicited packets, but not forward them back.</div><div class=""><br class=""></div><div class="">What you would like to do seems to me to be quite some change in the forwarding logic of NFD. I would suggest that you start reading the NFD developer’s guide and take a look at the Forwarder class to understand the Interest/Data processing pipelines:</div><div class=""><br class=""></div><div class=""><a href="https://named-data.net/wp-content/uploads/2016/10/ndn-0021-7-nfd-developer-guide.pdf" class="">https://named-data.net/wp-content/uploads/2016/10/ndn-0021-7-nfd-developer-guide.pdf</a></div><div class=""><a href="https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/daemon/fw/forwarder.cpp" class="">https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.5.0-30-g934f505-ndnSIM/daemon/fw/forwarder.cpp</a></div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class=""><br 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/%7Emastorakis/" 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></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 1, 2017, at 8:43 PM, 周 <<a href="mailto:867324088@qq.com" class="">867324088@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,</div><div class="">  Thanks for your answer reply.</div><div class="">  It does break the principles of the NDN.But,push-based forwarding is really necessary in some scene.For example .in Vehicular Named Data Networks,we assume that a car has an accident and it should broadcast this message as soon as possible and it is necessary to avoid the latency of the request's transmission.</div><div class="">  Now,there are some schemes have been proposed and some papers about these without any codes.So,i am doubt how to start my work.</div><div class=""><div class=""><br class=""></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;" class="">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;" class=""><div class=""><b class="">发件人:</b> "Spyridon (Spyros) Mastorakis";<<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>>;</div><div class=""><b class="">发送时间:</b> 2017年5月2日(星期二) 中午11:30</div><div class=""><b class="">收件人:</b> "周"<<a href="mailto:867324088@qq.com" class="">867324088@qq.com</a>>; <wbr class=""></div><div class=""><b class="">抄送:</b> "ndnsim"<<a href="mailto:ndnsim@lists.cs.ucla.edu" class="">ndnsim@lists.cs.ucla.edu</a>>; <wbr class=""></div><div class=""><b class="">主题:</b> Re: [ndnSIM] Enable push-based forwarding</div></div><div class=""><br class=""></div>Hi,<div class=""><br class=""></div><div class="">well, it is not clear to me what exactly you would like to achieve, but, in general, this approach does not sound correct to me (unless the network environment is V2V or something like that).</div><div class=""><br class=""></div><div class="">In any case, you will have to modify the producer application to send unsolicited data and also NFD to forward unsolicited data packets (to the best of my knowledge, NFD can either cache or drop an unsolicited data packet). </div><div class=""><br class=""></div><div class="">But again, how are you going to find a matching PIT entry to forward the data (unless you broadcast the data packet..????)? In general, this approach breaks the principles of the architecture.</div><div class=""><br class=""></div><div class="">Thanks,</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/%7Emastorakis/" 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></div>
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 1, 2017, at 8:19 PM, 周 <<a href="mailto:867324088@qq.com" class="">867324088@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear all:</div><div class="">  As we all know,the producer would not sent the data packet until it have received a interest packet in NDN.But in some scene,we want the producer to sent the packet without any request.</div><div class="">  So,which file in NDNsim should i modify to achieve this function?</div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div>