[ndnSIM] [EXT] How to limit the hop count of interest

Junxiao Shi shijunxiao at email.arizona.edu
Thu Dec 10 06:27:29 PST 2020


Hi Shuai

You are looking at ndnSIM 1.x that implements CCNx 0.x protocol.

https://github.com/ProjectCCNx/ccnx/blob/5089b9ae65b7879eec97588f3d947ea442d695e6/doc/technical/InterestMessage.txt#L136
Scope 2 is what you need.

Yours, Junxiao

On Wed, Dec 9, 2020, 22:06 Shuai Dong via ndnSIM <ndnsim at lists.cs.ucla.edu>
wrote:

> *External Email*
> Hi All,
>
> The scenario is:
>
> There are three NDN nodes A, B, C.  A creates an interest packet and
> broadcasts to its one-hop neighbors B and C.
> If I do not want B and C to relay the interest to their neighbors after
> receiving the interest from node A, is there any way that I can achieve
> that?
>
> I see there is a "void SetScope(int8_t scope)" in the ns3::ndn::Interest
> class. Is it useful to help me achieve this?
>
> Thanks!
> Sincerely
> Shuai
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20201210/818343ef/attachment.html>


More information about the ndnSIM mailing list