Public Attributes | |
uint16_t | chunkUid |
this field tries to uniquely identify each header or trailer instance while the typeUid field uniquely identifies each header or trailer type. | |
uint16_t | next |
offset (in bytes) from start of m_data buffer to next element in linked list. | |
uint16_t | prev |
offset (in bytes) from start of m_data buffer to previous element in linked list. | |
uint32_t | size |
the size (in bytes) of the header or trailer represented by this element. | |
uint32_t | typeUid |
the high 31 bits of this field identify the type of the header or trailer represented by this item: the value zero represents payload. | |
SmallItem structure.
Definition at line 436 of file packet-metadata.h.
uint16_t ns3::PacketMetadata::SmallItem::chunkUid |
this field tries to uniquely identify each header or trailer instance while the typeUid field uniquely identifies each header or trailer type.
This field is used to test whether two items are equal in the sense that they represent the same header or trailer instance. That equality test is based on the typeUid and chunkUid fields so, the likelihood that two header instances share the same chunkUid and typeUid is very small unless they are really representations of the same header instance. stored as a fixed-size 16 bit integer.
Definition at line 475 of file packet-metadata.h.
Referenced by ns3::PacketMetadata::AddAtEnd(), ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::AddSmall(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::DoAddHeader(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().
uint16_t ns3::PacketMetadata::SmallItem::next |
offset (in bytes) from start of m_data buffer to next element in linked list.
value is 0xffff if next element does not exist. stored as a fixed-size 16 bit integer.
Definition at line 443 of file packet-metadata.h.
Referenced by ns3::PacketMetadata::AddAtEnd(), ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::AddSmall(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::DoAddHeader(), ns3::PacketMetadata::GetSerializedSize(), ns3::PacketMetadata::GetTotalSize(), ns3::PacketMetadata::IsStateOk(), ns3::PacketMetadata::ItemIterator::Next(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::RemoveAtStart(), ns3::PacketMetadata::RemoveHeader(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().
uint16_t ns3::PacketMetadata::SmallItem::prev |
offset (in bytes) from start of m_data buffer to previous element in linked list.
value is 0xffff if previous element does not exist. stored as a fixed-size 16 bit integer.
Definition at line 449 of file packet-metadata.h.
Referenced by ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::AddSmall(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::DoAddHeader(), ns3::PacketMetadata::IsStateOk(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::RemoveAtEnd(), ns3::PacketMetadata::RemoveTrailer(), and ns3::PacketMetadata::ReplaceTail().
uint32_t ns3::PacketMetadata::SmallItem::size |
the size (in bytes) of the header or trailer represented by this element.
stored as a variable-size 32 bit integer.
Definition at line 462 of file packet-metadata.h.
Referenced by ns3::PacketMetadata::AddAtEnd(), ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::AddSmall(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::DoAddHeader(), ns3::PacketMetadata::ItemIterator::Next(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::RemoveAtEnd(), ns3::PacketMetadata::RemoveAtStart(), ns3::PacketMetadata::RemoveHeader(), ns3::PacketMetadata::RemoveTrailer(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().
uint32_t ns3::PacketMetadata::SmallItem::typeUid |
the high 31 bits of this field identify the type of the header or trailer represented by this item: the value zero represents payload.
If the low bit of this uid is one, an ExtraItem structure follows this SmallItem structure. stored as a variable-size 32 bit integer.
Definition at line 457 of file packet-metadata.h.
Referenced by ns3::PacketMetadata::AddAtEnd(), ns3::PacketMetadata::AddBig(), ns3::PacketMetadata::AddSmall(), ns3::PacketMetadata::AddTrailer(), ns3::PacketMetadata::Deserialize(), ns3::PacketMetadata::DoAddHeader(), ns3::PacketMetadata::GetSerializedSize(), ns3::PacketMetadata::ItemIterator::Next(), ns3::PacketMetadata::ReadItems(), ns3::PacketMetadata::RemoveHeader(), ns3::PacketMetadata::RemoveTrailer(), ns3::PacketMetadata::ReplaceTail(), and ns3::PacketMetadata::Serialize().