FD.io VPP  v18.01.1-37-g7ea3975
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
 Unkown 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 TAP
 TAP interface 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...
 
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 58 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 38 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 79 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 67 of file interface.hpp.

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

Ethernet interface type.

Definition at line 75 of file interface.hpp.

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

Local interface type (specific to VPP)

Definition at line 87 of file interface.hpp.

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

loopback interface type

Definition at line 83 of file interface.hpp.

const interface::type_t VOM::interface::type_t::TAP
static

TAP interface type.

Definition at line 91 of file interface.hpp.

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

Unkown type.

Definition at line 63 of file interface.hpp.

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

VXLAN interface.

Definition at line 71 of file interface.hpp.


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