[ndnSIM] How can i get and change CS lifetime

Xinyu Ma bitmxy at gmail.com
Tue Apr 3 05:47:01 PDT 2018

Hello, Tendo.

You can use Data::setFreshnessPeriod to set the freshness period of the
But generally, there is not a thing called lifetime in CS. I think you may
have to write a CS yourself to do so.
The existing CS policies do not delete items. They only replace an old one
with the new one, when a new data packet comes.

Best wishes,
Xinyu Ma.

2018-04-03 20:05 GMT+09:00 dystopia_P <409967734 at qq.com>:

> *Hi all,**Really happy to join the ndnSIM mailing list.
> **It's my honour to discuss some problems with you.**Hope everyone have fun with ndnSIM.
> **I have some problems in my reserch about NDNsim.*
> *In ordinary circumstances,every data packet will be cached in CS .And each of them has a lifetime.*
> *how can i get or set lifetime of each data packet in CS?*
> *i can't find any *
> *Best regards,
> **Tendo*
> _______________________________________________
> 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/20180403/2c56ec25/attachment.html>

More information about the ndnSIM mailing list