A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
packetbb.cc File Reference
#include "packetbb.h"
#include "ipv4-address.h"
#include "ipv6-address.h"
#include "ns3/assert.h"
#include "ns3/log.h"
+ Include dependency graph for packetbb.cc:

Go to the source code of this file.

Namespaces

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

Variables

static const uint8_t AHAS_FULL_TAIL = 0x40
 
static const uint8_t AHAS_HEAD = 0x80
 
static const uint8_t AHAS_MULTI_PRE_LEN = 0x08
 
static const uint8_t AHAS_SINGLE_PRE_LEN = 0x10
 
static const uint8_t AHAS_ZERO_TAIL = 0x20
 
static const uint8_t MHAS_HOP_COUNT = 0x20
 
static const uint8_t MHAS_HOP_LIMIT = 0x40
 
static const uint8_t MHAS_ORIG = 0x80
 
static const uint8_t MHAS_SEQ_NUM = 0x10
 
static const uint8_t PHAS_SEQ_NUM = 0x8
 
static const uint8_t PHAS_TLV = 0x4
 
static const uint8_t THAS_EXT_LEN = 0x08
 
static const uint8_t THAS_MULTI_INDEX = 0x20
 
static const uint8_t THAS_SINGLE_INDEX = 0x40
 
static const uint8_t THAS_TYPE_EXT = 0x80
 
static const uint8_t THAS_VALUE = 0x10
 
static const uint8_t TIS_MULTIVALUE = 0x04
 
static const uint8_t VERSION = 0
 

Variable Documentation

◆ AHAS_FULL_TAIL

const uint8_t AHAS_FULL_TAIL = 0x40
static

◆ AHAS_HEAD

const uint8_t AHAS_HEAD = 0x80
static

◆ AHAS_MULTI_PRE_LEN

const uint8_t AHAS_MULTI_PRE_LEN = 0x08
static

◆ AHAS_SINGLE_PRE_LEN

const uint8_t AHAS_SINGLE_PRE_LEN = 0x10
static

◆ AHAS_ZERO_TAIL

const uint8_t AHAS_ZERO_TAIL = 0x20
static

◆ MHAS_HOP_COUNT

const uint8_t MHAS_HOP_COUNT = 0x20
static

Definition at line 29 of file packetbb.cc.

Referenced by ns3::PbbMessage::Deserialize(), and ns3::PbbMessage::Serialize().

◆ MHAS_HOP_LIMIT

const uint8_t MHAS_HOP_LIMIT = 0x40
static

Definition at line 28 of file packetbb.cc.

Referenced by ns3::PbbMessage::Deserialize(), and ns3::PbbMessage::Serialize().

◆ MHAS_ORIG

const uint8_t MHAS_ORIG = 0x80
static

Definition at line 27 of file packetbb.cc.

Referenced by ns3::PbbMessage::Deserialize(), and ns3::PbbMessage::Serialize().

◆ MHAS_SEQ_NUM

const uint8_t MHAS_SEQ_NUM = 0x10
static

Definition at line 30 of file packetbb.cc.

Referenced by ns3::PbbMessage::Deserialize(), and ns3::PbbMessage::Serialize().

◆ PHAS_SEQ_NUM

const uint8_t PHAS_SEQ_NUM = 0x8
static

Definition at line 23 of file packetbb.cc.

Referenced by ns3::PbbPacket::Deserialize(), and ns3::PbbPacket::Serialize().

◆ PHAS_TLV

const uint8_t PHAS_TLV = 0x4
static

Definition at line 24 of file packetbb.cc.

Referenced by ns3::PbbPacket::Deserialize(), and ns3::PbbPacket::Serialize().

◆ THAS_EXT_LEN

const uint8_t THAS_EXT_LEN = 0x08
static

Definition at line 44 of file packetbb.cc.

Referenced by ns3::PbbTlv::Deserialize(), and ns3::PbbTlv::Serialize().

◆ THAS_MULTI_INDEX

const uint8_t THAS_MULTI_INDEX = 0x20
static

Definition at line 42 of file packetbb.cc.

Referenced by ns3::PbbTlv::Deserialize(), and ns3::PbbTlv::Serialize().

◆ THAS_SINGLE_INDEX

const uint8_t THAS_SINGLE_INDEX = 0x40
static

Definition at line 41 of file packetbb.cc.

Referenced by ns3::PbbTlv::Deserialize(), and ns3::PbbTlv::Serialize().

◆ THAS_TYPE_EXT

const uint8_t THAS_TYPE_EXT = 0x80
static

Definition at line 40 of file packetbb.cc.

Referenced by ns3::PbbTlv::Deserialize(), and ns3::PbbTlv::Serialize().

◆ THAS_VALUE

const uint8_t THAS_VALUE = 0x10
static

Definition at line 43 of file packetbb.cc.

Referenced by ns3::PbbTlv::Deserialize(), and ns3::PbbTlv::Serialize().

◆ TIS_MULTIVALUE

const uint8_t TIS_MULTIVALUE = 0x04
static

Definition at line 45 of file packetbb.cc.

Referenced by ns3::PbbTlv::Serialize().

◆ VERSION

const uint8_t VERSION = 0
static

Definition at line 21 of file packetbb.cc.