[ndnSIM] Question on default forwarding strategy

Wenjie Li liwenjie at cs.queensu.ca
Fri Aug 22 11:59:42 PDT 2014


Hi Alex,

I have a question on a piece of code about default forwarding strategy.
It locates in ndn-forwarding-strategy.cc, OnInterest(...) function.

In the code, you check the the nonce of interest packet to check whether 
it is duplicated. Since in ndn-consumer.cc, you assign a different nonce 
to an interest packet even if it is retransmitted, I don't know the 
purpose of this check. It seems that the duplication will happen total 
randomly (according to some distribution set in consumer). How do you 
define such 'duplicate'.

Thank you for your help.

All the best,

Wenjie Li



More information about the ndnSIM mailing list