<div dir="ltr">Hi, Olumide.<br><div><div><br></div><div>To add new fields is require to modify the following files:</div><br><div>tlv.h - by adding the new fields and their respective ids;<br></div><br><div>interest.h - by including gets and sets;<br></div><div><br></div><div>interest.cpp - by including the new fields in WireEncode and wireDecode funcs.</div><div><br></div><div>Regards,</div><div>Mateus. <br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-24 17:00 GMT-03:00  <span dir="ltr"><<a href="mailto:ndnsim-request@lists.cs.ucla.edu" target="_blank">ndnsim-request@lists.cs.ucla.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send ndnSIM mailing list submissions to<br>
        <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ndnsim-request@lists.cs.ucla.edu">ndnsim-request@lists.cs.ucla.<wbr>edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ndnsim-owner@lists.cs.ucla.edu">ndnsim-owner@lists.cs.ucla.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ndnSIM digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. New field to the Interest Packet (Olumide Akinwande)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Sat, 24 Feb 2018 09:47:55 +0000 (UTC)<br>
From: Olumide Akinwande <<a href="mailto:jolumideakinwande@yahoo.com">jolumideakinwande@yahoo.com</a>><br>
To: "<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>" <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>><br>
Subject: [ndnSIM] New field to the Interest Packet<br>
Message-ID: <<a href="mailto:850187540.3803660.1519465675692@mail.yahoo.com">850187540.3803660.<wbr>1519465675692@mail.yahoo.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi guys,<br>
I need your help and advice with modifying the Interest packet.<br>
I am trying to use Interest to sent periodic update about the access pattern of a node to a central node.Can you please suggest how best to go about this.<br>
I have tried adding a new field to the packet as an std::map variable but I am not sure about how to modify the encode and decode functions in the Interest.cpp.<br>
Thank you.<br>
Olu<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180224/0e9f1eba/attachment-0001.html" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>pipermail/ndnsim/attachments/<wbr>20180224/0e9f1eba/attachment-<wbr>0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ndnSIM Digest, Vol 63, Issue 17<br>
******************************<wbr>********<br>
</blockquote></div><br></div>