FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
VOM::ip_dscp_t Class Reference

IP DSCP values. More...

+ Inheritance diagram for VOM::ip_dscp_t:
+ Collaboration diagram for VOM::ip_dscp_t:

Public Member Functions

 ip_dscp_t (int v)
 Constructor allows the creation of any DSCP value. More...
 
- Public Member Functions inherited from VOM::enum_base< ip_dscp_t >
const std::stringto_string () const
 convert to string format for debug purposes More...
 
bool operator== (const enum_base &e) const
 Comparison operator. More...
 
enum_baseoperator= (const enum_base &e)
 Assignment. More...
 
enum_baseoperator|= (const enum_base &e)
 bitwise or assignemnt More...
 
enum_base operator| (const enum_base &e1) const
 bitwise or More...
 
bool operator!= (const enum_base &e) const
 Comparison operator. More...
 
 operator int () const
 integer conversion operator More...
 
int value () const
 Return the value of the enum - same as integer conversion. More...
 

Static Public Attributes

const static ip_dscp_t DSCP_CS0
 
const static ip_dscp_t DSCP_CS1
 
const static ip_dscp_t DSCP_CS2
 
const static ip_dscp_t DSCP_CS3
 
const static ip_dscp_t DSCP_CS4
 
const static ip_dscp_t DSCP_CS5
 
const static ip_dscp_t DSCP_CS6
 
const static ip_dscp_t DSCP_CS7
 
const static ip_dscp_t DSCP_AF11
 
const static ip_dscp_t DSCP_AF12
 
const static ip_dscp_t DSCP_AF13
 
const static ip_dscp_t DSCP_AF21
 
const static ip_dscp_t DSCP_AF22
 
const static ip_dscp_t DSCP_AF23
 
const static ip_dscp_t DSCP_AF31
 
const static ip_dscp_t DSCP_AF32
 
const static ip_dscp_t DSCP_AF33
 
const static ip_dscp_t DSCP_AF41
 
const static ip_dscp_t DSCP_AF42
 
const static ip_dscp_t DSCP_AF43
 
const static ip_dscp_t DSCP_EF
 

Additional Inherited Members

- Protected Member Functions inherited from VOM::enum_base< ip_dscp_t >
 enum_base (int value, const std::string desc)
 Constructor of an enum - takes value and string description. More...
 
virtual ~enum_base ()
 Constructor. More...
 

Detailed Description

IP DSCP values.

Definition at line 81 of file prefix.hpp.

Constructor & Destructor Documentation

◆ ip_dscp_t()

VOM::ip_dscp_t::ip_dscp_t ( int  v)

Constructor allows the creation of any DSCP value.

Definition at line 125 of file prefix.cpp.

Field Documentation

◆ DSCP_AF11

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF11
static

Definition at line 94 of file prefix.hpp.

◆ DSCP_AF12

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF12
static

Definition at line 95 of file prefix.hpp.

◆ DSCP_AF13

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF13
static

Definition at line 96 of file prefix.hpp.

◆ DSCP_AF21

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF21
static

Definition at line 97 of file prefix.hpp.

◆ DSCP_AF22

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF22
static

Definition at line 98 of file prefix.hpp.

◆ DSCP_AF23

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF23
static

Definition at line 99 of file prefix.hpp.

◆ DSCP_AF31

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF31
static

Definition at line 100 of file prefix.hpp.

◆ DSCP_AF32

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF32
static

Definition at line 101 of file prefix.hpp.

◆ DSCP_AF33

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF33
static

Definition at line 102 of file prefix.hpp.

◆ DSCP_AF41

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF41
static

Definition at line 103 of file prefix.hpp.

◆ DSCP_AF42

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF42
static

Definition at line 104 of file prefix.hpp.

◆ DSCP_AF43

const ip_dscp_t VOM::ip_dscp_t::DSCP_AF43
static

Definition at line 105 of file prefix.hpp.

◆ DSCP_CS0

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS0
static

Definition at line 86 of file prefix.hpp.

◆ DSCP_CS1

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS1
static

Definition at line 87 of file prefix.hpp.

◆ DSCP_CS2

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS2
static

Definition at line 88 of file prefix.hpp.

◆ DSCP_CS3

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS3
static

Definition at line 89 of file prefix.hpp.

◆ DSCP_CS4

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS4
static

Definition at line 90 of file prefix.hpp.

◆ DSCP_CS5

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS5
static

Definition at line 91 of file prefix.hpp.

◆ DSCP_CS6

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS6
static

Definition at line 92 of file prefix.hpp.

◆ DSCP_CS7

const ip_dscp_t VOM::ip_dscp_t::DSCP_CS7
static

Definition at line 93 of file prefix.hpp.

◆ DSCP_EF

const ip_dscp_t VOM::ip_dscp_t::DSCP_EF
static

Definition at line 106 of file prefix.hpp.


The documentation for this class was generated from the following files: