20 #ifndef PACKET_METADATA_H 
   21 #define PACKET_METADATA_H 
   26 #include "ns3/callback.h" 
   27 #include "ns3/assert.h" 
   28 #include "ns3/type-id.h" 
  157   static void Enable (
void);
 
  245   uint64_t 
GetUid (
void) 
const;
 
  264   uint32_t 
Serialize   (uint8_t* buffer, uint32_t maxSize) 
const;
 
  271   uint32_t 
Deserialize (
const uint8_t* buffer, uint32_t size);
 
  356                                  const uint8_t* 
start,
 
  357                                  const uint8_t* current,
 
  370                                   const uint8_t* 
start,
 
  371                                   const uint8_t* current,
 
  384                                   const uint8_t* 
start,
 
  385                                   const uint8_t* current,
 
  398                                   const uint8_t* 
start,
 
  399                                   const uint8_t* current,
 
  406 #define PACKET_METADATA_DATA_M_DATA_SIZE 8 
  522   uint16_t 
AddBig (uint32_t head, uint32_t tail,
 
  557   uint32_t 
ReadUleb128 (
const uint8_t **pBuffer) 
const;
 
  563   inline void Append16 (uint16_t value, uint8_t *buffer);
 
  569   inline void Append32 (uint32_t value, uint8_t *buffer);
 
  575   inline void AppendValue (uint32_t value, uint8_t *buffer);
 
  590   inline void Reserve (uint32_t n);
 
  707     m_packetUid (o.m_packetUid)
 
automatically resized byte buffer 
 
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
 
iterator in a Buffer instance 
 
Protocol trailer serialization and deserialization. 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
Ptr< T > Create(void)
Create class instances by constructors with varying numbers of arguments and return them by Ptr...
 
a unique identifier for an interface.