[ndnSIM] Fwd: (no subject)
rim chabbi
rim.chabbi at gmail.com
Wed May 27 00:59:13 PDT 2015
---------- Forwarded message ----------
From: rim chabbi <rim.chabbi at gmail.com>
Date: 2015-05-26 10:27 GMT+01:00
Subject: Re: [ndnSIM] (no subject)
To: "Spyridon (Spyros) Mastorakis" <spiros.mastorakis at gmail.com>
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.
>
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> PhD Computer Science
> UCLA
>
>
>
>
> > On May 23, 2015, at 4:11 PM, rim chabbi <rim.chabbi at gmail.com> wrote:
> >
> > Hello,
> > I want to add some information into the interest packet. So that i will
> use the ns3::tag. usBut I dont know how to use the fuction serialize and
> deserialize()
> >
> > --
> >
> > Best Regards
> > Rim CHEBBI
> >
> > Telecommunication & Networks Engineering
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
--
*Best Regards*
* Rim CHEBBI *
* Telecommunication & Networks Engineering *
--
*Best Regards*
* Rim CHEBBI *
* Telecommunication & Networks Engineering *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150527/603af940/attachment.html>
More information about the ndnSIM
mailing list