alexander.afanasyev at ucla.edu
Mon Apr 14 11:44:32 PDT 2014
The tracers were designed primarily for tracing purposes and not meant to be used to make forwarding decisions.
What you can do instead, is to create a custom strategy (custom base strategy) that collects all parameters you need to make the decision at the interest forwarding stage. I have implemented a simplified version of what you need in in this project https://github.com/cawka/ndnSIM-ddos-interest-flooding/tree/master/extensions. You can get stats.cc|h and stats/* files and modify them to fit your needs.
On Apr 13, 2014, at 12:34 PM, parisa bazmi <bazmi.parisa at gmail.com> wrote:
> I'm new to C++ and pointer. I wanna get next router metric such as number of satisfied interests ,cache hits ,cache ..., to decide from witch face should I send interest.
> I saw trace sources but I want to get this parameter in my program for routing.
> can you help me how to do this.
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM