[ndnSIM] How to get the number of hops passed by Data packet from route node to consumer
smastorakis at unomaha.edu
Wed Jan 6 15:36:24 PST 2021
If I remember correctly: when we insert a data packet in the CS, we change the value of hop count to 0.
Then once a data packet is retrieved from the CS and until it is returned to the consumer, the hop count starts incrementing again.
Can you try to see if my recollection is right?
Spyridon (Spyros) Mastorakis
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A
On Jan 6, 2021, at 3:17 AM, L via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:
I know that hopCount can be used to calculate the number of hops passed by the Data packet from the producer to the consumer, but when the Interest packet is satisfied in the route node, that is to say, the route node caches the corresponding Data packet. How should I get the number of hops that the packet has reached the consumer?
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu<mailto:ndnSIM at lists.cs.ucla.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM