[Mini-NDN] Why the tags are 64 bit? What is packet overhead?

Aman Maldar amanmaldar at gmail.com
Sat Nov 17 16:26:36 PST 2018


Hello All,
 I have 2 questions.
First,
I have added hopCount tag to the packet. But my questions is why these tags
have to be 64 bit log? I tried to use 16/32 bit long tags. I got
compilation issues.
I see the following tags are also defined as 64 bit long. ref -
https://github.com/named-data/ndn-cxx/blob/master/src/lp/tags.hpp

typedef SimpleTag<uint64_t, 10> IncomingFaceIdTag;
typedef SimpleTag<uint64_t, 11> NextHopFaceIdTag;

Second,
Also, is there a way I can calculate the interest packet overhead after
adding a new tag?
If I do following before and after adding the tags, would I get correct
result?
auto intSize = interest.wireEncode().size();

Ndn-dissect didn't work very well, I didn't get what I was looking for.
Some fields were missing.

-- 
*Regards,*
*Mr. Maldar Aman M.*
*University of Massachusetts, Lowell*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20181117/c421f326/attachment.html>


More information about the Mini-NDN mailing list