[ndnSIM] attach arbitrary information to Interest/Data packet

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Tue Dec 27 11:16:38 PST 2016

Hi Teng,

a solution is to add the information as an NDNLPv2 tag. You can take a look at the following commits, where I have done the same thing for the HopCount tag for the latest ndnSIM release:


Hope that this helps,

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

> On Dec 27, 2016, at 8:00 AM, Teng Liang <philoliang at email.arizona.edu> wrote:
> Hi everybody,
> Are there any easy approaches to attaching arbitrary information to Interest/Data packet, so that forwarding strategy can read? 
> As the information may change hop-by-hop, it is improper to be put in Name. One possible solution is customized tag. How much effort to create one?
> Thanks,
> Teng

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

More information about the ndnSIM mailing list