<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>This work is already quite old and I don't know if it's still
compatible to the current NFD. However, we added some fields to
Interests in prior work. You can have a look at the implementation
of those fields:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/phylib/pips-scenario/blob/master/extern/interest.hpp#L403-L407">https://github.com/phylib/pips-scenario/blob/master/extern/interest.hpp#L403-L407</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/phylib/pips-scenario/blob/master/extern/interest.cpp#L576-L579">https://github.com/phylib/pips-scenario/blob/master/extern/interest.cpp#L576-L579</a></p>
<p>Please also have a look at all other occurrences of those fields
in the CPP and HPP file. Otherwise you might miss important
details.<br>
</p>
<p>Just as an disclaimer, it might not be the cleanest
implementation, but I think you can get a feeling for what you
need to do.</p>
<p>Best,<br>
Philipp</p>
<div class="moz-cite-prefix">On 10/25/19 1:12 AM, Spyridon
Mastorakis via ndnSIM wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1F242A04-41EB-4122-96E8-1420996345D5@unomaha.edu">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Please take a look at the other fields of Interests and data in
ndn-cxx:
<div class=""><br class="">
</div>
<div class=""><a
href="https://github.com/named-data/ndn-cxx/blob/master/ndn-cxx/interest.cpp"
class="" moz-do-not-send="true">https://github.com/named-data/ndn-cxx/blob/master/ndn-cxx/interest.cpp</a></div>
<div class=""><a
href="https://github.com/named-data/ndn-cxx/blob/master/ndn-cxx/data.cpp"
class="" moz-do-not-send="true">https://github.com/named-data/ndn-cxx/blob/master/ndn-cxx/data.cpp</a></div>
<div class=""><br class="">
</div>
<div class="">Also: <a
href="https://lo.calho.st/networks/adding-custom-packet-fields-to-packets-in-ndnsim-2-3-without-forking-the-entire-repository/"
class="" moz-do-not-send="true">
https://lo.calho.st/networks/adding-custom-packet-fields-to-packets-in-ndnsim-2-3-without-forking-the-entire-repository/</a></div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0); letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration: none; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break: after-white-space;"
class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0); letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration: none; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break: after-white-space;"
class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0); letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break:
after-white-space;" class="">
<div>Spyridon (Spyros) Mastorakis<br class="">
Assistant Professor<br class="">
Computer Science Department<br class="">
University of Nebraska, Omaha<br class="">
Peter Kiewit Institute Room 175A<br class="">
<a
href="https://sites.google.com/site/spyridonmastorakis"
class="" moz-do-not-send="true">https://sites.google.com/site/spyridonmastorakis</a><br
class="">
<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
<div>
<blockquote type="cite" class="">
<div class="">On Oct 19, 2019, at 2:06 PM, Anantha krishnan
saji via ndnSIM <<a
href="mailto:ndnsim@lists.cs.ucla.edu" class=""
moz-do-not-send="true">ndnsim@lists.cs.ucla.edu</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hello all,</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">Thanks and regards,</div>
<div class="">Ananthakrishnan S</div>
</div>
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ndnSIM mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a>
</pre>
</blockquote>
</body>
</html>