|
OpenSDN source code
|
#include <community.h>

Public Types | |
| typedef boost::array< uint8_t, 8 > | ExtCommunityValue |
| typedef std::vector< ExtCommunityValue > | ExtCommunityList |
Public Member Functions | |
| ExtCommunity (ExtCommunityDB *extcomm_db) | |
| ExtCommunity (const ExtCommunity &rhs) | |
| ExtCommunity (ExtCommunityDB *extcomm_db, const ExtCommunitySpec spec) | |
| virtual | ~ExtCommunity () |
| virtual void | Remove () |
| int | CompareTo (const ExtCommunity &rhs) const |
| bool | ContainsRTarget (const ExtCommunityValue &val) const |
| bool | ContainsOriginVn (as_t asn, uint32_t vn_index) const |
| bool | ContainsOriginVn (const ExtCommunityValue &val) const |
| bool | ContainsOriginVn4 (const ExtCommunityValue &val) const |
| bool | ContainsVrfRouteImport (const ExtCommunityValue &val) const |
| bool | ContainsSourceAs (const ExtCommunityValue &val) const |
| uint32_t | GetSubClusterId () const |
| const ExtCommunityList & | communities () const |
| std::vector< std::string > | GetTunnelEncap () const |
| std::vector< int > | GetTagList (as2_t asn=0) const |
| std::vector< int > | GetTag4List (as_t asn=0) const |
| bool | ContainsTunnelEncapVxlan () const |
| int | GetOriginVnIndex () const |
Private Member Functions | |
| void | Append (const ExtCommunityValue &value) |
| void | Append (const ExtCommunityList &list) |
| void | Remove (const ExtCommunityList &list) |
| void | RemoveMFlags () |
| void | RemoveRTarget () |
| void | RemoveSGID () |
| void | RemoveTag () |
| void | RemoveSiteOfOrigin () |
| void | RemoveSourceAS () |
| void | RemoveVrfRouteImport () |
| void | RemoveOriginVn () |
| void | RemoveTunnelEncapsulation () |
| void | RemoveLoadBalance () |
| void | RemoveSubCluster () |
| void | Set (const ExtCommunityList &list) |
Private Attributes | |
| tbb::atomic< int > | refcount_ |
| ExtCommunityDB * | extcomm_db_ |
| ExtCommunityList | communities_ |
Friends | |
| class | ExtCommunityDB |
| class | BgpAttrTest |
| std::size_t | hash_value (ExtCommunity const &comm) |
| int | intrusive_ptr_add_ref (const ExtCommunity *cextcomm) |
| int | intrusive_ptr_del_ref (const ExtCommunity *cextcomm) |
| void | intrusive_ptr_release (const ExtCommunity *cextcomm) |
Definition at line 151 of file community.h.
| typedef std::vector<ExtCommunityValue> ExtCommunity::ExtCommunityList |
Definition at line 154 of file community.h.
| typedef boost::array<uint8_t, 8> ExtCommunity::ExtCommunityValue |
Definition at line 153 of file community.h.
|
inlineexplicit |
Definition at line 156 of file community.h.
|
inlineexplicit |
Definition at line 160 of file community.h.
|
explicit |
|
inlinevirtual |
Definition at line 168 of file community.h.
|
private |
Definition at line 256 of file community.cc.
|
private |
Definition at line 264 of file community.cc.
|
inline |
Definition at line 181 of file community.h.
| int ExtCommunity::CompareTo | ( | const ExtCommunity & | rhs | ) | const |
Definition at line 221 of file community.cc.
| bool ExtCommunity::ContainsOriginVn | ( | as_t | asn, |
| uint32_t | vn_index | ||
| ) | const |
| bool ExtCommunity::ContainsOriginVn | ( | const ExtCommunityValue & | val | ) | const |
| bool ExtCommunity::ContainsOriginVn4 | ( | const ExtCommunityValue & | val | ) | const |
| bool ExtCommunity::ContainsRTarget | ( | const ExtCommunityValue & | val | ) | const |
| bool ExtCommunity::ContainsSourceAs | ( | const ExtCommunityValue & | val | ) | const |
| bool ExtCommunity::ContainsTunnelEncapVxlan | ( | ) | const |
| bool ExtCommunity::ContainsVrfRouteImport | ( | const ExtCommunityValue & | val | ) | const |
|
static |
|
static |
|
inlinestatic |
| int ExtCommunity::GetOriginVnIndex | ( | ) | const |
| uint32_t ExtCommunity::GetSubClusterId | ( | ) | const |
| vector< int > ExtCommunity::GetTag4List | ( | as_t | asn = 0 | ) | const |
| vector< int > ExtCommunity::GetTagList | ( | as2_t | asn = 0 | ) | const |
| vector< string > ExtCommunity::GetTunnelEncap | ( | ) | const |
|
inlinestatic |
Definition at line 204 of file community.h.
|
inlinestatic |
Definition at line 212 of file community.h.
|
inlinestatic |
Definition at line 220 of file community.h.
|
inlinestatic |
Definition at line 241 of file community.h.
|
inlinestatic |
Definition at line 373 of file community.h.
|
inlinestatic |
Definition at line 236 of file community.h.
|
inlinestatic |
Definition at line 228 of file community.h.
|
inlinestatic |
Definition at line 249 of file community.h.
|
inlinestatic |
Definition at line 194 of file community.h.
|
inlinestatic |
Definition at line 266 of file community.h.
|
inlinestatic |
Definition at line 258 of file community.h.
|
inlinestatic |
Definition at line 305 of file community.h.
|
inlinestatic |
Definition at line 314 of file community.h.
|
inlinestatic |
Definition at line 323 of file community.h.
|
inlinestatic |
Definition at line 336 of file community.h.
|
inlinestatic |
Definition at line 347 of file community.h.
|
inlinestatic |
Definition at line 379 of file community.h.
|
inlinestatic |
Definition at line 385 of file community.h.
|
inlinestatic |
Definition at line 367 of file community.h.
|
inlinestatic |
Definition at line 358 of file community.h.
|
virtual |
|
private |
Definition at line 237 of file community.cc.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 248 of file community.cc.
|
static |
Definition at line 352 of file community.cc.
|
static |
|
friend |
Definition at line 408 of file community.h.
|
friend |
Definition at line 407 of file community.h.
|
friend |
Definition at line 391 of file community.h.
|
friend |
Definition at line 431 of file community.h.
|
friend |
Definition at line 435 of file community.h.
|
friend |
Definition at line 439 of file community.h.
|
private |
Definition at line 428 of file community.h.
|
private |
Definition at line 427 of file community.h.
|
mutableprivate |
Definition at line 426 of file community.h.