[ndnSIM] New field to the Interest Packet

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Tue Feb 27 20:15:09 PST 2018


Hi,

you can add custom fields to the Interest as tags:

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

Thanks,

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

> On Feb 24, 2018, at 1:47 AM, Olumide Akinwande <jolumideakinwande at yahoo.com> wrote:
> 
> Hi guys,
> 
> I need your help and advice with modifying the Interest packet.
> 
> 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.
> 
> 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.
> 
> Thank you.
> 
> Olu

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


More information about the ndnSIM mailing list