A Discrete-Event Network Simulator
API
ns3::PacketMetadata::ExtraItem Struct Reference

ExtraItem structure. More...

+ Collaboration diagram for ns3::PacketMetadata::ExtraItem:

Public Attributes

uint32_t fragmentEnd
 offset (in bytes) from start of original header to the end of the fragment still present. More...
 
uint32_t fragmentStart
 offset (in bytes) from start of original header to the start of the fragment still present. More...
 
uint64_t packetUid
 the packetUid of the packet in which this header or trailer was first added. More...
 

Detailed Description

ExtraItem structure.

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

Member Data Documentation

◆ fragmentEnd

◆ fragmentStart

◆ packetUid

uint64_t ns3::PacketMetadata::ExtraItem::packetUid

the packetUid of the packet in which this header or trailer was first added.

It could be different from the m_packetUid field if the user has aggregated multiple packets into one. stored as a fixed-size 64 bit integer.

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

Referenced by ns3::PacketMetadata::AddAtEnd(), ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().


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