[ndnSIM] Find rate of interests in a face

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Tue Feb 17 23:54:16 PST 2015


for the PIT table size you can use the size method of the PIT class:


For the interest rate you will need to modify the ndn-l3-rate-tracer files:


To get the real time you can use the method now of either the steady_clock or the system_clock class of ndn-cxx. Personally, I would suggest to use the steady_clock class, because it represents a monotonic clock:


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

> On Feb 17, 2015, at 12:45 AM, Shebin Roy <rshebin18 at gmail.com> wrote:
> Hello,
> My project is about mitigating Interest flooding attack. For this, i need to find the rate of incoming interest through each face of the router, do some calculations and decide if to forward the packet or not. For the calculations, i need the PIT table size also. I have heard about tracers. But i need to know the interest rate in real time. I would like to know which file i need to modify to implement my project and also the functions to find the interest rate and the PIT table size.
> Thank you,
> Shebin.
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

More information about the ndnSIM mailing list