A Discrete-Event Network Simulator
API
Public Attributes | List of all members
ns3::PacketMetadata::ExtraItem Struct Reference

ExtraItem structure. More...

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 478 of file packet-metadata.h.

Member Data Documentation

◆ fragmentEnd

uint32_t ns3::PacketMetadata::ExtraItem::fragmentEnd

offset (in bytes) from start of original header to the end of the fragment still present.

stored as a variable-size 32 bit integer.

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

Referenced by ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::ItemIterator::Next(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::RemoveHeader(), ns3::PacketMetadata::RemoveTrailer(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().

◆ fragmentStart

uint32_t ns3::PacketMetadata::ExtraItem::fragmentStart

offset (in bytes) from start of original header to the start of the fragment still present.

stored as a variable-size 32 bit integer.

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

Referenced by ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::ItemIterator::Next(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::RemoveHeader(), ns3::PacketMetadata::RemoveTrailer(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().

◆ 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 494 of file packet-metadata.h.

Referenced by 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: