FD.io VPP  v19.04.2-12-g66b1689
Vector Packet Processing
VOM::interface::type_t Struct Reference

An interface type. More...

+ Inheritance diagram for VOM::interface::type_t:
+ Collaboration diagram for VOM::interface::type_t:

Static Public Member Functions

static type_t from_string (const std::string &str)
 Convert VPP's name of the interface to a type. More...
 

Static Public Attributes

static const type_t UNKNOWN
 Unknown type. More...
 
static const type_t BVI
 A brideged Virtual interface (aka SVI or IRB) More...
 
static const type_t VXLAN
 VXLAN interface. More...
 
static const type_t ETHERNET
 Ethernet interface type. More...
 
static const type_t AFPACKET
 AF-Packet interface type. More...
 
static const type_t LOOPBACK
 loopback interface type More...
 
static const type_t LOCAL
 Local interface type (specific to VPP) More...
 
static const type_t TAPV2
 TAPv2 interface type. More...
 
static const type_t VHOST
 vhost-user interface type More...
 
static const type_t BOND
 bond interface type More...
 
static const type_t PIPE
 pipe-parent type More...
 
static const type_t PIPE_END
 pipe-end type More...
 

Additional Inherited Members

- Public Member Functions inherited from VOM::enum_base< type_t >
const std::string & to_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...
 
- Protected Member Functions inherited from VOM::enum_base< type_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

An interface type.

Definition at line 67 of file interface.hpp.

Member Function Documentation

interface::type_t VOM::interface::type_t::from_string ( const std::string &  str)
static

Convert VPP's name of the interface to a type.

Definition at line 44 of file interface_types.cpp.

+ Here is the caller graph for this function:

Field Documentation

const interface::type_t VOM::interface::type_t::AFPACKET
static

AF-Packet interface type.

Definition at line 88 of file interface.hpp.

const interface::type_t VOM::interface::type_t::BOND
static

bond interface type

Definition at line 111 of file interface.hpp.

const interface::type_t VOM::interface::type_t::BVI
static

A brideged Virtual interface (aka SVI or IRB)

Definition at line 76 of file interface.hpp.

const interface::type_t VOM::interface::type_t::ETHERNET
static

Ethernet interface type.

Definition at line 84 of file interface.hpp.

const interface::type_t VOM::interface::type_t::LOCAL
static

Local interface type (specific to VPP)

Definition at line 96 of file interface.hpp.

const interface::type_t VOM::interface::type_t::LOOPBACK
static

loopback interface type

Definition at line 92 of file interface.hpp.

const interface::type_t VOM::interface::type_t::PIPE
static

pipe-parent type

Definition at line 116 of file interface.hpp.

const interface::type_t VOM::interface::type_t::PIPE_END
static

pipe-end type

Definition at line 121 of file interface.hpp.

const interface::type_t VOM::interface::type_t::TAPV2
static

TAPv2 interface type.

Definition at line 101 of file interface.hpp.

const interface::type_t VOM::interface::type_t::UNKNOWN
static

Unknown type.

Definition at line 72 of file interface.hpp.

const interface::type_t VOM::interface::type_t::VHOST
static

vhost-user interface type

Definition at line 106 of file interface.hpp.

const interface::type_t VOM::interface::type_t::VXLAN
static

VXLAN interface.

Definition at line 80 of file interface.hpp.


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