[Nfd-dev] Clarification on usage of ChildSelector in Content Store

Wissingh, B.F. (Bastiaan) bastiaan.wissingh at tno.nl
Fri Mar 18 04:01:31 PDT 2016

Hi Junxiao,

Thanks for the reference, that was exactly what I was looking for! I think I grasp the idea now, so just to confirm, looking at sheet 14 of the “tables-concept-cs_20140117” document, as the ChildSelector “rightmost” matches on "/example/C/r/1" should the ChildSelector “leftmost” match on "/example/C/p/1" ?


Van: Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>>
Datum: vrijdag 18 maart 2016 05:09
Aan: Bastiaan Wissingh <bastiaan.wissingh at tno.nl<mailto:bastiaan.wissingh at tno.nl>>
CC: "nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>" <nfd-dev at lists.cs.ucla.edu<mailto:nfd-dev at lists.cs.ucla.edu>>
Onderwerp: Re: [Nfd-dev] Clarification on usage of ChildSelector in Content Store

Hi Bastiaan

The two attachments on #1706<http://redmine.named-data.net/issues/1706> is worth a read. These are the main design documents of CS lookup procedure, although one of them are originally designed for the repo.

Yours, Junxiao

On Thu, Mar 17, 2016 at 2:47 AM, Wissingh, B.F. (Bastiaan) <bastiaan.wissingh at tno.nl<mailto:bastiaan.wissingh at tno.nl>> wrote:

I’m currently trying to figure out how exactly NFD matches an Interest on a Content Store object by looking through the nfd code. So far I understand the process, the function Cs::find seems to be the “general entry” used by the forwarder to request the Content Store to find a match for an Interest it received, however it is not really clear to me how the ChildSelector parameter of an Interest is used here. Based on the value, it will either try to find a LeftMost or RightMost match.

I found some explanatory documentation on (http://named-data.net/doc/ndn-tlv/interest.html#childselector), however with the example given there I’m still not quite sure what the purpose is and how it works.

Could some of you provide me with a more extensive example on this?

Thank you,
Bastiaan Wissingh

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160318/8e23f4fd/attachment.html>

More information about the Nfd-dev mailing list