<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 9:33 AM, Muhammad Hosain Abdollahi Sabet <span dir="ltr"><<a href="mailto:mhasabet@gmail.com" target="_blank">mhasabet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p dir="ltr"></p><div style="font-family:tahoma,sans-serif;display:inline">​Teng,</div><div style="font-family:tahoma,sans-serif;display:inline">​</div><p></p><p dir="ltr"></p><div style="font-family:tahoma,sans-serif;display:inline"><br></div><p></p><p dir="ltr">I've heard there have been some experiments for such modification at the time of cache hit, in order to hide the fact that some content has been retrieved from cache. So, if it is the matter,</p><div style="font-family:tahoma,sans-serif;display:inline">​ I guess​</div> you may work with Forwarder::onContentStoreHit<div style="font-family:tahoma,sans-serif;display:inline">​. But that would affect every ndn node.​</div></div></blockquote><div> </div><div>Hi Sabet,</div><div><br></div><div>Thanks for the message. This is a good point to add delay before entering outgoing Data pipeline.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail-h5"><p></p>
<div class="gmail_quote">On Jan 5, 2017 7:46 PM, "Lixia Zhang" <<a href="mailto:lixia@cs.ucla.edu" target="_blank">lixia@cs.ucla.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Jan 5, 2017, at 3:40 AM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:</div><br class="gmail-m_7063372849466722165m_3725704889257145275m_8027487964303741750m_-6954949037083641500Apple-interchange-newline"><div><div>Hi Teng</div><div><br></div><div>You can't. Forwarding strategy only deals with Interest forwarding and Nack returning. Data returning is controlled directly in incoming Data pipeline and outgoing Data pipeline.</div></div></blockquote><div><br></div>the above stated data packet handling is not forwarding strategy's job, but it sounds to me like one indeed can tweak outgoing data pipeline in ndnSIM to add the effect of some delay, right?</div><div><br></div><div>Teng, wonder why you'd like to add delay for data?  Just curious.</div><div><br></div><div>(I know similar thing for IP experimentation, for dealing with the impact of long delay links, eg satellite, or in a local imitated environment for long haul networks)</div></div></blockquote></div></div></div></div></blockquote><div> </div><div>Hi Lixia,</div><div><br></div><div>The delay is to avoid collision in wireless ad hoc networks. I didn't tweak nfd forwarder, which is possible though. I added delay on ns3 NetDevice before sending ns3 packets.</div><div> </div><div>Thanks,</div><div>Teng</div><div> </div></div><br></div></div>