[Nfd-dev] Please review the update of NDN-TLV spec, introducing implicit digest name component
Dave Oran (oran)
oran at cisco.com
Sat Oct 11 07:09:37 PDT 2014
On Oct 10, 2014, at 5:48 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> Hi Dave
>
> Please see the following pseudocode that explains the sentences below.
>
> data.fullName = data.name + computeImplicitDigest(data);
>
> function matches(interest, data) {
> if (! interest.name.isPrefixOf(data.fullName))
> return false;
> // test other selectors
> return true;
> }
>
Ah, forgot NDN does LPM on data even if you supply a hash.
Thanks.
>
>
> Yours, Junxiao
>
> On Fri, Oct 10, 2014 at 8:31 AM, Dave Oran (oran) <oran at cisco.com> wrote:
>
> On Oct 10, 2014, at 11:15 AM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> >
> > The full Name of a Data packet is defined to be the Name field plus the implicit digest.
> >
> Therefore, by this logic the digest should not be semantically treated as a name component. Unless I’m misunderstanding the syntax proposal below, it makes the digest a name component.
>
> > An Interest, containing ImplictSha256DigestComponent or not, can be satisfied by a Data packet, if the Interest Name is a prefix of Data full Name.
> >
> I don’t understand this sentence.
>
More information about the Nfd-dev
mailing list