[Ndn-interest] Interest with same name and different exclude?

Junxiao Shi shijunxiao at email.arizona.edu
Tue Feb 17 13:23:28 PST 2015


Hi Jongdeog

If the first reply Data can satisfy both Interests, the second Interest
will be satisfied straight from ContentStore and won't be delivered to
producer.

Please ask library API question on ndn-lib
<http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib> mailing list. Make
sure to put the name of library you are using in message Subject.

Yours, Junxiao

On Mon, Feb 16, 2015 at 4:54 PM, Lee, Jongdeog <jlee700 at illinois.edu> wrote:

>  Dear Junxiao,
>
>    Thanks for the reply.
>   I now know the reason. Since those two interest packets have the same
> name, routers will automatically forward data which is not in "exclude"
> field. The reason I thought that routers treat them differently is because
> the producer receives only one interest packet in previous example.
>
>    excludeBefore() function helps to resolve this problem. BTW, how can I
> get one name component from an exclude. For example, if exclude = (*, A),
> how can I get A from this exclude? There is no get function in exclude...
>
>  Best wishes,
>  Jongdeog Lee (JD)
>
>  ------------------------------------------------
> *Ph.D. Student*
> *Department of Computer Science*
> *University of Illinois at Urbana-Champaign*
>   ------------------------------
> *From:* Junxiao Shi [shijunxiao at email.arizona.edu]
> *Sent:* Friday, February 13, 2015 4:37 PM
> *To:* Lee, Jongdeog
> *Cc:* ndn-interest at lists.cs.ucla.edu
> *Subject:* Re: [Ndn-interest] Interest with same name and different
> exclude?
>
>   Hi Jongdeog
>
>  A standard-conforming router will forward these two Interests separately.
> When a Data packet comes back that can satisfy both Interests, it will be
> returned to the requester only once.
>
>  If you still have questions, please describe how you test the behavior
> and what leads to conclude that they are treated as same.
>
>  Yours, Junxiao
>
> On Fri, Feb 13, 2015 at 3:33 PM, Lee, Jongdeog <jlee700 at illinois.edu>
> wrote:
>
>>  Dear all,
>>
>>    Suppose that there are two interest packets with the same name &
>> different exclude.
>>   (Interest A: /prefix/postfix.....exclude=a
>>    Interest B: /prefix/postfix.....exclude=b)
>>   Do routers treat them differently or equally?
>>   I tested the simple code, and it seems they are treated as same.
>>
>>  Best,
>>  Jongdeog Lee (JD)
>>
>>  ------------------------------------------------
>> *Ph.D. Student*
>> *Department of Computer Science*
>> *University of Illinois at Urbana-Champaign*
>>
>> _______________________________________________
>> Ndn-interest mailing list
>> 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/20150217/dbc22a78/attachment.html>


More information about the Ndn-interest mailing list