<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="">Just a note on that:<div class=""><br class=""></div><div class="">in the latest ndnSIM paper we have published, there is a figure, where we present in detail the exchange process of an NDN packet between 2 simulated nodes. I am talking about figure 6 here:</div><div class=""><br class=""></div><div class=""><a href="https://pdfs.semanticscholar.org/a5f4/a1ac695eadea269efc6f7f7a68490add8ef0.pdf" class="">https://ccronline.sigcomm.org/wp-content/uploads/2017/08/sigcomm-ccr-final112-full-letter.pdf</a></div><div class=""><br class=""></div><div class="">Thanks,</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/~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 Jan 25, 2018, at 6:44 AM, Xinyu Ma <<a href="mailto:bitmxy@gmail.com" class="">bitmxy@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<br class=""><br class=""><p class="MsoNormal"><span lang="EN-US" class="">Actually, the whole procedure of transporting an interest packet is like this:</span></p><div class=""><span lang="EN-US" class=""> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US" class="">A concrete consumer application, which is a
subclass of ndn::Consumer (apps/ndn-consumer.cpp), implements <span class="gmail-pl-en">ScheduleNextPacket to decide when to send a packet.</span></span></p><p class="MsoNormal"><span class="gmail-pl-en"><span lang="EN-US" class="">The function SendPacket
of </span></span><span lang="EN-US" class="">Consumer generates a sequence number and makes
up the interest packet by specified name. And it posts the packet to a face of
AppLinkService (model/ndn-app-link-service.cpp) and NullTransport by calling <span class="gmail-pl-c1">onReceiveInterest method.</span></span></p><p class="MsoNormal"><span class="gmail-pl-c1"><span lang="EN-US" class="">After </span></span><span lang="EN-US" class="">AppLinkService received the packet, the NFD module decides how to forward
it. Often it will be sent to faces connecting current node to another node,
which is made of nfd::face::GenericLinkService and NetDeviceTransport.</span></p><p class="MsoNormal"><span lang="EN-US" class="">When the producer node received the packet,
AppLinkService::doSendInterest will be called. A call to App::OnInterest (apps/ndn-app.cpp)
will be scheduled there.</span></p><p class="MsoNormal"><span lang="EN-US" class="">A producer application, derived from
ndn::App, overrides OnInterest and deals with the interest packet.</span></p><div class=""><span lang="EN-US" class=""> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal"><span lang="EN-US" class="">I think those are all what ndnSim does
during the transportation of an interest packet.</span></p><p class="MsoNormal"><span lang="EN-US" class="">I hope it will help.</span></p><p class="MsoNormal"><span lang="EN-US" class=""><br class=""></span></p><p class="MsoNormal"><span lang="EN-US" class="">Xinyu, Ma.<br class=""></span></p>

<div class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote"><br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br class="">
<br class="">
I am looking for the exact file and line of code which creates interest and<br class="">
sends it on network. I need to look at the code and make changes according<br class="">
to my research. Please let me know the name of file and function.<br class=""><br class=""></blockquote></div></div></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>