OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TunnelEncapType Class Reference

#include <tunnel_encap_type.h>

Public Types

enum  Encap {
  UNSPEC = 0, GRE = 2, VXLAN = 8, NVGRE = 9,
  MPLS = 10, MPLS_O_GRE = 11, VXLAN_GPE = 12, MPLS_O_UDP = 13,
  NATIVE = 16
}
 

Public Member Functions

 TunnelEncapType ()
 

Static Public Member Functions

static bool TunnelEncapIsValid (uint16_t value)
 
static TunnelEncapType::Encap TunnelEncapFromString (const std::string &encap)
 
static const std::string & TunnelEncapToString (TunnelEncapType::Encap encap)
 
static const std::string & TunnelEncapToXmppString (TunnelEncapType::Encap encap)
 

Detailed Description

Definition at line 11 of file tunnel_encap_type.h.

Member Enumeration Documentation

Enumerator
UNSPEC 
GRE 
VXLAN 
NVGRE 
MPLS 
MPLS_O_GRE 
VXLAN_GPE 
MPLS_O_UDP 
NATIVE 

Definition at line 13 of file tunnel_encap_type.h.

Constructor & Destructor Documentation

TunnelEncapType::TunnelEncapType ( )

Definition at line 13 of file tunnel_encap_type.cc.

Member Function Documentation

TunnelEncapType::Encap TunnelEncapType::TunnelEncapFromString ( const std::string &  encap)
static

Definition at line 58 of file tunnel_encap_type.cc.

bool TunnelEncapType::TunnelEncapIsValid ( uint16_t  value)
static

Definition at line 51 of file tunnel_encap_type.cc.

const string & TunnelEncapType::TunnelEncapToString ( TunnelEncapType::Encap  encap)
static

Definition at line 65 of file tunnel_encap_type.cc.

const string & TunnelEncapType::TunnelEncapToXmppString ( TunnelEncapType::Encap  encap)
static

Definition at line 73 of file tunnel_encap_type.cc.


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