<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">you can add custom fields to the Interest as tags:</div><div class=""><br class=""></div><div class=""><a href="https://lo.calho.st/networks/adding-custom-packet-fields-to-packets-in-ndnsim-2-3-without-forking-the-entire-repository/" class="">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="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Feb 24, 2018, at 1:47 AM, Olumide Akinwande <<a href="mailto:jolumideakinwande@yahoo.com" class="">jolumideakinwande@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" class=""><div id="yui_3_16_0_ym19_1_1519465330868_3157" class="">Hi guys,</div><div id="yui_3_16_0_ym19_1_1519465330868_3157" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1519465330868_3157" class="">I need your help and advice with modifying the Interest packet.</div><div id="yui_3_16_0_ym19_1_1519465330868_3157" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class="">I am trying to use Interest to sent periodic update about the access pattern of a node to a central node.</div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class="">Can you please suggest how best to go about this.</div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class="">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.</div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class="">Thank you.</div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1519465330868_3157" dir="ltr" class="">Olu</div></div></div></div></blockquote></div><br class=""></div></body></html>