A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
packetbb.cc File Reference
#include "ns3/ipv4-address.h"
#include "ns3/ipv6-address.h"
#include "ns3/assert.h"
#include "ns3/log.h"
#include "packetbb.h"
+ Include dependency graph for packetbb.cc:

Go to the source code of this file.

Namespaces

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

Functions

 NS_LOG_COMPONENT_DEFINE ("PacketBB")
 

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
 

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "PacketBB"  )

Variable Documentation

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

Definition at line 41 of file packetbb.cc.

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

const uint8_t MHAS_HOP_LIMIT = 0x40
static

Definition at line 40 of file packetbb.cc.

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

const uint8_t MHAS_ORIG = 0x80
static

Definition at line 39 of file packetbb.cc.

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

const uint8_t MHAS_SEQ_NUM = 0x10
static

Definition at line 42 of file packetbb.cc.

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

const uint8_t PHAS_SEQ_NUM = 0x8
static

Definition at line 35 of file packetbb.cc.

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

const uint8_t PHAS_TLV = 0x4
static

Definition at line 36 of file packetbb.cc.

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

const uint8_t THAS_EXT_LEN = 0x08
static

Definition at line 56 of file packetbb.cc.

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

const uint8_t THAS_MULTI_INDEX = 0x20
static

Definition at line 54 of file packetbb.cc.

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

const uint8_t THAS_SINGLE_INDEX = 0x40
static

Definition at line 53 of file packetbb.cc.

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

const uint8_t THAS_TYPE_EXT = 0x80
static

Definition at line 52 of file packetbb.cc.

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

const uint8_t THAS_VALUE = 0x10
static

Definition at line 55 of file packetbb.cc.

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

const uint8_t TIS_MULTIVALUE = 0x04
static

Definition at line 57 of file packetbb.cc.

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

const uint8_t VERSION = 0
static

Definition at line 33 of file packetbb.cc.

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