[ndnSIM] Adding new fields in interest packets

Spyridon Mastorakis smastorakis at unomaha.edu
Thu Oct 24 16:12:42 PDT 2019


Please take a look at the other fields of Interests and data in ndn-cxx:

https://github.com/named-data/ndn-cxx/blob/master/ndn-cxx/interest.cpp
https://github.com/named-data/ndn-cxx/blob/master/ndn-cxx/data.cpp

Also: https://lo.calho.st/networks/adding-custom-packet-fields-to-packets-in-ndnsim-2-3-without-forking-the-entire-repository/

Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A
https://sites.google.com/site/spyridonmastorakis


On Oct 19, 2019, at 2:06 PM, Anantha krishnan saji via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:

Hello all,
I am trying to add three new fields in interest packet. I would like to know how TLV type numbers are assigned to each fields. I have seen the TLV type number assignment specification. I am not sure how I can assign a number to my newly added fields. Any help would be appreciated.

Thanks and regards,
Ananthakrishnan S


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


More information about the ndnSIM mailing list