[ndnSIM] How to drop interest packets in the multicast-strategy.cpp file?

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Mon Feb 8 09:27:43 PST 2016


Hi,

a quick and dirty way to do that is to check the name of every Interest packet. Assuming that application Interests and Management Interests would have different names, you can filter the ones that you like.

Hope that this helps.

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA




> On Feb 8, 2016, at 6:06 AM, Shahid Md. Asif Iqbal <asifcsep at gmail.com> wrote:
> 
> Dear All,
> I have added a field in the interest packet, set and updated the value as it traverses upstream, now how can I drop an interest packet based on that filed int the multicast-strategy.cpp file?
> N.B. I want to drop application interest packets not management interests 
> _______________________________________________
> 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/20160208/0b0ddb74/attachment.html>


More information about the ndnSIM mailing list