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

Lee, Jongdeog jlee700 at illinois.edu
Mon Feb 16 15:54:35 PST 2015


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<mailto: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<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/20150216/0e465411/attachment.html>


More information about the Ndn-interest mailing list