A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::PacketMetadata::Data Struct Reference

Data structure. More...

+ Collaboration diagram for ns3::PacketMetadata::Data:

Public Attributes

uint32_t m_count
 number of references to this struct Data instance.
 
uint8_t m_data [PACKET_METADATA_DATA_M_DATA_SIZE]
 variable-sized buffer of bytes
 
uint16_t m_dirtyEnd
 max of the m_used field over all objects which reference this struct Data instance
 
uint32_t m_size
 size (in bytes) of m_data buffer below
 

Detailed Description

Data structure.

Definition at line 415 of file packet-metadata.h.

Member Data Documentation

◆ m_count

uint32_t ns3::PacketMetadata::Data::m_count

number of references to this struct Data instance.

Definition at line 418 of file packet-metadata.h.

◆ m_data

uint8_t ns3::PacketMetadata::Data::m_data[PACKET_METADATA_DATA_M_DATA_SIZE]

variable-sized buffer of bytes

Definition at line 424 of file packet-metadata.h.

Referenced by ns3::PacketMetadata::ReserveCopy().

◆ m_dirtyEnd

uint16_t ns3::PacketMetadata::Data::m_dirtyEnd

max of the m_used field over all objects which reference this struct Data instance

Definition at line 422 of file packet-metadata.h.

Referenced by ns3::PacketMetadata::ReserveCopy().

◆ m_size

uint32_t ns3::PacketMetadata::Data::m_size

size (in bytes) of m_data buffer below

Definition at line 420 of file packet-metadata.h.


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