19 #ifndef PACKET_METADATA_H
20 #define PACKET_METADATA_H
24 #include "ns3/assert.h"
25 #include "ns3/callback.h"
26 #include "ns3/type-id.h"
279 uint32_t
Serialize(uint8_t* buffer, uint32_t maxSize)
const;
286 uint32_t
Deserialize(
const uint8_t* buffer, uint32_t size);
371 const uint8_t*
start,
372 const uint8_t* current,
385 const uint8_t*
start,
386 const uint8_t* current,
399 const uint8_t*
start,
400 const uint8_t* current,
413 const uint8_t*
start,
414 const uint8_t* current,
421 #define PACKET_METADATA_DATA_M_DATA_SIZE 8
539 uint16_t
AddBig(uint32_t head,
575 uint32_t
ReadUleb128(
const uint8_t** pBuffer)
const;
608 inline void Reserve(uint32_t n);
728 m_packetUid(o.m_packetUid)
iterator in a Buffer instance
automatically resized byte buffer
Protocol trailer serialization and deserialization.
a unique identifier for an interface.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Ptr< T > Create(Ts &&... args)
Create class instances by constructors with varying numbers of arguments and return them by Ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.