[ndnSIM] How to delete a CS entry in a router
Spyridon (Spyros) Mastorakis
mastorakis at cs.ucla.edu
Wed Mar 20 09:10:30 PDT 2019
Hi,
take a look at how the eviction method works:
https://github.com/named-data/NFD/blob/3dade00499058efa7b06a259cd1cbb24d7226a57/daemon/table/cs-policy-priority-fifo.cpp#L76 <https://github.com/named-data/NFD/blob/3dade00499058efa7b06a259cd1cbb24d7226a57/daemon/table/cs-policy-priority-fifo.cpp#L76>
https://github.com/named-data/NFD/blob/4f8dd96fbff60a80e34dbe4a8d470e5273b75ccb/daemon/table/cs-policy-lru.cpp#L67 <https://github.com/named-data/NFD/blob/4f8dd96fbff60a80e34dbe4a8d470e5273b75ccb/daemon/table/cs-policy-lru.cpp#L67>
You can create a new method based on it and you call it based on your needs.
Thanks,
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Mar 20, 2019, at 1:17 AM, mengxue via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:
>
> Hi all,
>
> Now, I have already seen the entries that stored in a router's contentstore,and I want to delete some data packets and special entries from the contentstore.
> How to code it? Is there any way to do it?
> Thanks in advance.
>
> Best regards,
> Xue Meng
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190320/932cb015/attachment.html>
More information about the ndnSIM
mailing list