[Ndn-interest] How to send new Interest from strategy on NFD

Lan Wang (lanwang) lanwang at memphis.edu
Fri Jul 7 17:54:49 PDT 2017


Just want to mention that when the ASF strategy does probing, it make a copy of the received Interest and sends it over a face that it wants to probe.  But this interest has the same name as the received interest, so it’s not the same as what the original poster asked for.

Lan

On Jul 7, 2017, at 9:59 AM, Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>> wrote:

Hi 真也

Strategy cannot inject new packets into the network. This is because strategy operates in the middle of forwarding. An Interest injected by strategy isn't recorded in the PIT, so the response Data cannot be delivered.

You can, however, forward /collect prefix to an application, and let that application send the new Interest.
If needed, the application is able to learn where the Interest comes from through IncomingFaceId header field, and control where the new Interest goes to through NextHopFaceId header field.
Both fields require enabling LocalField feature through faces/update management command.

Yours, Junxiao

On Jul 7, 2017 07:13, "中村真也" <nakamura at c.info.eng.osaka-cu.ac.jp<mailto:nakamura at c.info.eng.osaka-cu.ac.jp>> wrote:
Dear ndn users.

I would like to ask how to send new Interest from strategy.
For example, when daemon receives Interest:/collect/arg1/arg2, I want to make daemon send Interest:/arg1, /arg2.
Now I uses NFD version 0.5.0. If it is easy to implement this with version 0.5.1, I will update NFD to 0.5.1

Best regards.
---------------------------------------------------
中村 真也(Masaya Nakamura )
nakamura at c.info.eng.osaka-cu.ac.jp<mailto:nakamura at c.info.eng.osaka-cu.ac.jp>
---------------------------------------------------



_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest


_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170708/5a89ad46/attachment.html>


More information about the Ndn-interest mailing list