OpenSDN source code
routing_policy_match.cc File Reference
Include dependency graph for routing_policy_match.cc:

Go to the source code of this file.

Functions

static bool IsSubprotocol (MatchProtocol::MatchProtocolType protocol)
 
const string MatchProtocolToString (MatchProtocol::MatchProtocolType protocol)
 
static MatchProtocol::MatchProtocolType MatchProtocolFromString (const string &protocol)
 
static BgpPath::PathSource PathSourceFromMatchProtocol (MatchProtocol::MatchProtocolType src)
 

Variables

static const map< string, MatchProtocol::MatchProtocolTypefromString
 
static const map< MatchProtocol::MatchProtocolType, string > toString
 
static const map< MatchProtocol::MatchProtocolType, BgpPath::PathSourcepathSourceMap
 
static const vector< MatchProtocol::MatchProtocolTypeisSubprotocol
 

Function Documentation

◆ IsSubprotocol()

static bool IsSubprotocol ( MatchProtocol::MatchProtocolType  protocol)
static

Definition at line 480 of file routing_policy_match.cc.

◆ MatchProtocolFromString()

static MatchProtocol::MatchProtocolType MatchProtocolFromString ( const string &  protocol)
static

Definition at line 494 of file routing_policy_match.cc.

◆ MatchProtocolToString()

const string MatchProtocolToString ( MatchProtocol::MatchProtocolType  protocol)

Definition at line 485 of file routing_policy_match.cc.

◆ PathSourceFromMatchProtocol()

static BgpPath::PathSource PathSourceFromMatchProtocol ( MatchProtocol::MatchProtocolType  src)
static

Definition at line 504 of file routing_policy_match.cc.

Variable Documentation

◆ fromString

◆ isSubprotocol

const vector<MatchProtocol::MatchProtocolType> isSubprotocol
static

◆ pathSourceMap

◆ toString

const map<MatchProtocol::MatchProtocolType, string> toString
static
Initial value:
= boost::assign::map_list_of
(MatchProtocol::Interface, "interface")
(MatchProtocol::InterfaceStatic, "interface-static")
(MatchProtocol::ServiceInterface, "service-interface")

Definition at line 450 of file routing_policy_match.cc.