[ndnSIM] Drop cached data in ndnsim

Spyridon Mastorakis smastorakis at unomaha.edu
Tue Feb 11 06:54:20 PST 2020

One thing you can do without actually dropping any cached packets (and it is a straightforward “hack”) is to set the freshness period of data packets to 0 (or something very close to that) and set the MustBeFresh flag of Interests to true (so that you simply ignore stale cached data packets):


If you really need to drop the packets, then I can give you another solution.

Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A

On Feb 11, 2020, at 1:49 AM, Zeinab Rezaiefar via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:

Hello there,
In continue of my previous email regarding dropping cached data, I have noticed that I need to erase data (using before evict signal)from cache and also clean up the index from policy. Since I want to command the cache to erase data from the forward.cpp file, I would like to know I can use Cs:: erase function to erase data from cache ?
May I know that I need still to cleanup index from policy as well.
I will be grateful to know our suggestions and guidance
Best regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20200211/d30ec6d3/attachment-0001.html>

More information about the ndnSIM mailing list