[ndnSIM] Fwd: How to trace the interest accessing each node?
sarantarnoi at gmail.com
Thu May 30 00:15:33 PDT 2013
I just found that I should use the Interest and ContentObject Constructors
to keep the header of a packet.
In addition, to check whether the considering packet is Interest or Data, I
can simply check the packet's size.
However, If there is any more direct way to do so, please let me know.
Thanks a lot,
---------- Forwarded message ----------
From: Saran Tarnoi <sarantarnoi at gmail.com>
Subject: How to trace the interest accessing each node?
To: Alex Afanasyev <alexander.afanasyev at ucla.edu>, ndnsim at lists.cs.ucla.edu
Dear Alex and All,
I would like to record the interests and their numbers that access each
Specifically, I want to study the characteristic of the interest traffic at
I tried observing the received packets at each face in ndn:Face but I could
neither get the header nor type of the packet.
I followed this code (
but it didn't work.
To add header to a packet, we can do:
Is there any way to do:
and get the output like:
"Interest or Data"
Would you kindly tell me how can I get that information?
Thanks in advance for your time.
Department of Informatics
The Graduate University for Advanced Studies (Sokendai)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM