A Discrete-Event Network Simulator
API
byte-tag-list.cc File Reference
#include "byte-tag-list.h"
#include "ns3/log.h"
#include <vector>
#include <cstring>
#include <limits>
+ Include dependency graph for byte-tag-list.cc:

Go to the source code of this file.

Classes

struct  ns3::ByteTagListData
 Internal representation of the byte tags stored in a packet. More...
 
class  ns3::ByteTagListDataFreeList
 Container class for struct ByteTagListData. More...
 

Namespaces

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

Macros

#define FREE_LIST_SIZE   1000
 
#define OFFSET_MAX   (std::numeric_limits<int32_t>::max ())
 
#define USE_FREE_LIST   1
 

Variables

ns3::ByteTagListDataFreeList ns3::g_freeList
 Container for struct ByteTagListData. More...
 
static uint32_t ns3::g_maxSize = 0
 maximum data size (used for allocation) More...
 

Macro Definition Documentation

◆ FREE_LIST_SIZE

#define FREE_LIST_SIZE   1000

Definition at line 27 of file byte-tag-list.cc.

◆ OFFSET_MAX

#define OFFSET_MAX   (std::numeric_limits<int32_t>::max ())

Definition at line 28 of file byte-tag-list.cc.

◆ USE_FREE_LIST

#define USE_FREE_LIST   1

Definition at line 26 of file byte-tag-list.cc.