[ndnSIM] Header size in Data packets

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Wed Apr 26 18:37:48 PDT 2017


take a look at the NDN packet format for a data packet:

https://named-data.net/doc/ndn-tlv/ <https://named-data.net/doc/ndn-tlv/>

Then, at the ndn-cxx provided API for each field in a data packet:


I am pretty sure that most of the classes have a size attribute or method.

For me the header of a data packet includes the name and the MetaInfo field (not the content and signature).

Hope that this helps,

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

> On Apr 26, 2017, at 1:11 AM, n.boubakr at bit.edu.cn wrote:
> Hello,
> How to calculate the header size of Data packets ?
> Best regards,
> Boubakr Nour (Ph.D Candidate)
> Beijing Institute of Technology (北京理工大学)

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

More information about the ndnSIM mailing list