A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
packet-metadata.h File Reference
#include "buffer.h"
#include "ns3/assert.h"
#include "ns3/callback.h"
#include "ns3/type-id.h"
#include <limits>
#include <stdint.h>
#include <vector>
+ Include dependency graph for packet-metadata.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::PacketMetadata::Data
 Data structure. More...
 
class  ns3::PacketMetadata::DataFreeList
 Class to hold all the metadata. More...
 
struct  ns3::PacketMetadata::ExtraItem
 ExtraItem structure. More...
 
struct  ns3::PacketMetadata::Item
 structure describing a packet metadata item More...
 
class  ns3::PacketMetadata::ItemIterator
 Iterator class for metadata items. More...
 
class  ns3::PacketMetadata
 Handle packet metadata about packet headers and trailers. More...
 
struct  ns3::PacketMetadata::SmallItem
 SmallItem structure. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define PACKET_METADATA_DATA_M_DATA_SIZE   8
 the size of PacketMetadata::Data::m_data such that the total size of PacketMetadata::Data is 16 bytes
 

Macro Definition Documentation

◆ PACKET_METADATA_DATA_M_DATA_SIZE

#define PACKET_METADATA_DATA_M_DATA_SIZE   8

the size of PacketMetadata::Data::m_data such that the total size of PacketMetadata::Data is 16 bytes

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

Referenced by ns3::PacketMetadata::Allocate().