A Discrete-Event Network Simulator
API
ns3::PacketTagList::TagData Struct Reference

Tree node for sharing serialized tags. More...

#include "packet-tag-list.h"

+ Collaboration diagram for ns3::PacketTagList::TagData:

Public Types

enum  TagData_e { MAX_SIZE = 21 }
 Packet Tag maximum size. More...
 

Public Attributes

uint32_t count
 Number of incoming links. More...
 
uint8_t data [MAX_SIZE]
 Serialization buffer. More...
 
struct TagDatanext
 Pointer to next in list. More...
 
TypeId tid
 Type of the tag serialized into data. More...
 

Detailed Description

Tree node for sharing serialized tags.

See PacketTagList for a discussion of the data structure.

See TagData::TagData_e for a discussion of the size limit on tag serialization.

Definition at line 140 of file packet-tag-list.h.

Member Data Documentation

uint8_t ns3::PacketTagList::TagData::data[MAX_SIZE]
TypeId ns3::PacketTagList::TagData::tid

Type of the tag serialized into data.

Definition at line 166 of file packet-tag-list.h.

Referenced by ns3::PacketTagList::Add(), ns3::PacketTagList::COWTraverse(), and ns3::PacketTagList::ReplaceWriter().


The documentation for this struct was generated from the following file: