[Nfd-dev] Fetching data that NFD has overheard

Burke, Jeff jburke at remap.ucla.edu
Sun Sep 2 14:00:54 PDT 2018


If you don’t want the Interest to be transmitted, set NextHopFaceId=255 so it’s forwarded to the NullFace and effectively dropped.


This is a nice way to get a useful behavior…  I’m having trouble finding the API for forming/using packets in ndn-cxx, can you give a pointer to the API that app would use to most easily achieve this?

Thanks,
Jeff


From: Nfd-dev <nfd-dev-bounces at lists.cs.ucla.edu> on behalf of Junxiao Shi <shijunxiao at email.arizona.edu>
Date: Thursday, August 30, 2018 at 8:55 PM
To: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu>
Cc: "<nfd-dev at lists.cs.ucla.edu>" <nfd-dev at lists.cs.ucla.edu>
Subject: Re: [Nfd-dev] Fetching data that NFD has overheard

Hi Spyros


The straightforward way would be to add the app's face to the incoming faces of the Interest’s PIT entry, so that NFD forwards the data to the application when it overhears the data transmission. Is there a way to do that (or a way to achieve similar functionality) from the application code without modifying the source code of NFD?

Whenever your app needs to receive a piece of Data, you express an Interest.
If you don’t want the Interest to be transmitted, set NextHopFaceId=255 so it’s forwarded to the NullFace and effectively dropped.

Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20180902/0516eb98/attachment-0001.html>


More information about the Nfd-dev mailing list