[ndnSIM] How to get the current data packet size of a certain interface per second?

ZHANG, Lu lu.zhang at fuji.waseda.jp
Sun Jun 11 23:36:20 PDT 2017

Hi all,

Would anyone help on how to get the current packet size of a certain

I want to get the packet size as I want to calculate if there is any
congestion. I used L3RateTracer but that is to write the result into a file
or std::output. Instead, I would like to get the value and invoke this
value by other functions in ForwardingStretegy. Most importantly, I want
the value to be get once per second. Please help.

Thanks in advance.


Lu Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170612/88f03b5e/attachment.html>

More information about the ndnSIM mailing list