[Ns-developers] RemoveTag()
Tom Henderson
tomh at tomh.org
Wed May 20 21:13:17 PDT 2009
Adrian Sai-Wah TAM wrote:
> Hi,
>
> According to the manual, we should have a function RemoveTag(Tag&) to
> remove a tag from a packet. But I can only see AddTag() but not the
> RemoveTag() function defined. So is that function obsolete? What is
> the way we supposed to do to remove a tag?
>
> Adrian.
Adrian,
Currently, you can remove all tags: Packet::RemoveAllTags ().
For the next release, some tags rework has been scheduled:
http://mailman.isi.edu/pipermail/ns-developers/2009-March/005557.html
The manual refers back to the packet tags we used to have. In ns-3-dev
currently, we have byte tags. Mathieu's proposal is to bring back
packet tags so we would have both types of tags going forward.
- Tom
More information about the Ns-developers
mailing list