OpenSDN source code
|
#include <routing_policy_match.h>
Classes | |
class | PrefixMatch |
Public Types | |
enum | MatchType { EXACT, LONGER, ORLONGER } |
typedef T::RouteT | RouteT |
typedef T::PrefixT | PrefixT |
Public Member Functions | |
MatchPrefix (const PrefixMatchConfigList &match_config_list) | |
virtual | ~MatchPrefix () |
virtual bool | Match (const BgpRoute *route, const BgpPath *path, const BgpAttr *attr) const |
virtual std::string | ToString () const |
virtual bool | IsEqual (const RoutingPolicyMatch &prefix) const |
![]() | |
virtual | ~RoutingPolicyMatch () |
bool | operator() (const BgpRoute *route, const BgpPath *path, const BgpAttr *attr) const |
virtual bool | operator== (const RoutingPolicyMatch &match) const |
virtual bool | operator!= (const RoutingPolicyMatch &match) const |
Static Public Member Functions | |
static MatchType | GetMatchType (const std::string &match_type_str) |
Private Types | |
typedef std::vector< PrefixMatch > | PrefixMatchList |
Private Attributes | |
PrefixMatchList | match_list_ |
Friends | |
template<typename U > | |
class | MatchPrefixTest |
Definition at line 151 of file routing_policy_match.h.
|
private |
Definition at line 190 of file routing_policy_match.h.
typedef T::PrefixT MatchPrefix< T >::PrefixT |
Definition at line 154 of file routing_policy_match.h.
typedef T::RouteT MatchPrefix< T >::RouteT |
Definition at line 153 of file routing_policy_match.h.
enum MatchPrefix::MatchType |
Enumerator | |
---|---|
EXACT | |
LONGER | |
ORLONGER |
Definition at line 155 of file routing_policy_match.h.
|
explicit |
|
virtual |
Definition at line 384 of file routing_policy_match.cc.
|
static |
Definition at line 353 of file routing_policy_match.cc.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 412 of file routing_policy_match.cc.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 388 of file routing_policy_match.cc.
|
virtual |
Implements RoutingPolicyMatch.
Definition at line 418 of file routing_policy_match.cc.
|
friend |
Definition at line 189 of file routing_policy_match.h.
|
private |
Definition at line 192 of file routing_policy_match.h.