[ndnSIM] Number of data packets

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Thu Nov 29 05:16:13 PST 2018


Hi,

you can do something like that in the onOutgoingData method of NFD (changing of course the code to add the appropriate counter):

https://github.com/spirosmastorakis/NFD-FIF/blob/b23727ddceb06ae895dfb0ad4c2dae6558b8b085/daemon/fw/fuzzy-strategy.cpp#L363-L367 <https://github.com/spirosmastorakis/NFD-FIF/blob/b23727ddceb06ae895dfb0ad4c2dae6558b8b085/daemon/fw/fuzzy-strategy.cpp#L363-L367>

Thanks,

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

> On Nov 28, 2018, at 8:43 AM, ROSHITH SEBASTIAN <roshith.sebastian at student.unisi.it> wrote:
> 
> Hi All,
> 
> I want to get the number of data packets forwarded by a node named "node1" at the end of each second.
> 
> Can anyone please help me with this?
> 
> Thanks,
> Roshith Sebastian
> Student - MS in Electronics & Communication Engg.
> 

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


More information about the ndnSIM mailing list