[ndnSIM] ndn router setting

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sat Jul 20 11:33:33 PDT 2019


Hi,

I do not think it is necessary to mess with the CS implementation. You need to insert some if statements like this one (https://github.com/spirosmastorakis/NFD-FIF/commit/b23727ddceb06ae895dfb0ad4c2dae6558b8b085#diff-71fe218667965af5b37f0bb8cd9c2411R364 <https://github.com/spirosmastorakis/NFD-FIF/commit/b23727ddceb06ae895dfb0ad4c2dae6558b8b085#diff-71fe218667965af5b37f0bb8cd9c2411R364>) in the forwarder.cpp file when a data packet is about the be inserted in the CS.

It is a “hacky” solution but it works. Please read through the forwarder.cpp to understand the packet processing logic.

Thanks,

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

> On Jul 20, 2019, at 1:07 AM, babak nikmard via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:
> 
> dear every one
> 
> i have a question about setting start and stop time for intermediate router(except consumer and producer) just for intermediate router .... i want to know how is it possible?? Mr Junxiao guided me by using these to commands  (cs.enableAdmit(false) and cs.enableAdmit(true)) but i don't know how can be use these. can any body help me how can i use it. i find two file that refer to the Content store... one is Cs.cpp which is in the nfd/deamon/table/ and another one is in Cs.manager.cpp which exist in nfd/deamon/mgmt/ ....please help me
> 
> best regard to everyone
> 

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


More information about the ndnSIM mailing list