[ndnSIM] (no subject)

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Tue May 26 08:14:07 PDT 2015


please use the “reply to all” option, so that our comments are visible to all the users.

That should work as well. However, I would suggest that you consider modifying the Interest class directly. I think that it is probably easier than messing with NS3 tags.

Hope that this helps.

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

> On May 26, 2015, at 2:27 AM, rim chabbi <rim.chabbi at gmail.com> wrote:
> hello,
> thank you Spyridon for the answer
> I try to use the NS3 TAG but it is working for the Data packet and not for the Interest Packet because the payload of interest is zero, so that I think to use the header class and add the information to it using the AddHeader and PeekHeader.
> 2015-05-25 20:28 GMT+01:00 Spyridon (Spyros) Mastorakis <spiros.mastorakis at gmail.com>:
> Hi,
> You will need to implement a logic similar to the one of the hop count tag:
> https://github.com/NDN-Routing/ndnSIM/blob/master/utils/ndn-fw-hop-count-tag.cpp
> I would also suggest that you consider extending the Interest class of ndn-cxx directly. Probably you will find this solution easier than messing with NS3 tags.

More information about the ndnSIM mailing list