[Ns-developers] tag rework for next release

Tom Henderson tomh at tomh.org
Fri Jun 5 13:52:44 PDT 2009


Mathieu Lacage wrote:
> On Wed, 2009-06-03 at 23:01 -0700, Tom Henderson wrote:
> 
>>>> One thing that I noticed is that packet tags are left out of the 
>>>> Packet::Serialize() process (while byte tags are included).  This is a 
>>>> bit subtle, but it basically means that packets that are sent to another 
>>>> node via an ns-3 channel will retain packet tags but if that ns-3 
>>>> channel happens to utilize a real IP tunnel (in a distributed simulation 
>>>> use case) the packet tags will be stripped.
> 
> The ns-3-tags code does not serialize _any_ tag (byte or packet) for now
> which is a deficiency but which is not a problem for now because no one
> is doing a distributed simulation (for now).
> 
>>>> It seems like we ought to support packet tags in Serialize, but is there 
>>>> a reason why not?
>>> Lazyness: I can fix this late next week but feel free to beat me to it.
>> What is the status of serializing tags?  I see this in the code:
> 
> I did not see the point of trying to address a problem which already
> exists in ns-3-dev. Filing a bug about this separate issue to track it
> seems like the right thing to do. See bug 582.

I support merging this with the open bug.  I will send you separately a 
patch with manual fixes.

- Tom


More information about the Ns-developers mailing list