Tree node for sharing serialized tags. More...
#include "packet-tag-list.h"
Public Attributes | |
uint32_t | count |
Number of incoming links. | |
uint8_t | data [1] |
Serialization buffer. | |
TagData * | next |
Pointer to next in list. | |
uint32_t | size |
Size of the data buffer. | |
TypeId | tid |
Type of the tag serialized into data. | |
Tree node for sharing serialized tags.
See PacketTagList for a discussion of the data structure.
We use placement new so we can allocate enough room for the Tag type which will be serialized into data. See Object::Aggregates for a similar construction.
Definition at line 131 of file packet-tag-list.h.
uint32_t ns3::PacketTagList::TagData::count |
Number of incoming links.
Definition at line 134 of file packet-tag-list.h.
Referenced by ns3::PacketTagList::PacketTagList(), ns3::PacketTagList::Add(), ns3::PacketTagList::COWTraverse(), ns3::PacketTagList::Deserialize(), ns3::PacketTagList::operator=(), ns3::PacketTagList::RemoveWriter(), and ns3::PacketTagList::ReplaceWriter().
uint8_t ns3::PacketTagList::TagData::data[1] |
Serialization buffer.
Definition at line 137 of file packet-tag-list.h.
Referenced by ns3::PacketTagList::Add(), ns3::PacketTagList::COWTraverse(), ns3::PacketTagList::Deserialize(), ns3::PacketTagList::RemoveWriter(), and ns3::PacketTagList::ReplaceWriter().
TagData* ns3::PacketTagList::TagData::next |
Pointer to next in list.
Definition at line 133 of file packet-tag-list.h.
Referenced by ns3::PacketTagList::Add(), ns3::PacketTagList::COWTraverse(), ns3::PacketTagList::Deserialize(), ns3::PacketTagList::GetSerializedSize(), ns3::PacketTagIterator::Next(), ns3::PacketTagList::Peek(), ns3::PacketTagList::RemoveAll(), ns3::PacketTagList::RemoveWriter(), ns3::PacketTagList::ReplaceWriter(), and ns3::PacketTagList::Serialize().
uint32_t ns3::PacketTagList::TagData::size |
Size of the data
buffer.
Definition at line 136 of file packet-tag-list.h.
Referenced by ns3::PacketTagList::Add(), ns3::PacketTagList::COWTraverse(), ns3::PacketTagList::CreateTagData(), ns3::PacketTagList::RemoveWriter(), and ns3::PacketTagList::ReplaceWriter().
TypeId ns3::PacketTagList::TagData::tid |
Type of the tag serialized into data.
Definition at line 135 of file packet-tag-list.h.
Referenced by ns3::PacketTagList::Add(), ns3::PacketTagList::COWTraverse(), ns3::PacketTagList::Deserialize(), and ns3::PacketTagList::ReplaceWriter().