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"   158   static void Enable (
void);
   246   uint64_t 
GetUid (
void) 
const;
   267   uint32_t 
Serialize   (uint8_t* buffer, uint32_t maxSize) 
const;
   274   uint32_t 
Deserialize (
const uint8_t* buffer, uint32_t size);
   359                                  const uint8_t* 
start,
   360                                  const uint8_t* current,
   373                                   const uint8_t* 
start,
   374                                   const uint8_t* current,
   387                                   const uint8_t* 
start,
   388                                   const uint8_t* current,
   401                                   const uint8_t* 
start,
   402                                   const uint8_t* current,
   409 #define PACKET_METADATA_DATA_M_DATA_SIZE 8   526   uint16_t 
AddBig (uint32_t head, uint32_t tail,
   561   uint32_t 
ReadUleb128 (
const uint8_t **pBuffer) 
const;
   567   inline void Append16 (uint16_t value, uint8_t *buffer);
   573   inline void Append32 (uint32_t value, uint8_t *buffer);
   579   inline void AppendValue (uint32_t value, uint8_t *buffer);
   712     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.