OpenSDN source code
|
#include <bgp_origin_vn_path.h>
Public Types | |
typedef boost::array< uint8_t, 8 > | OriginVnValue |
typedef std::vector < OriginVnValue > | OriginVnList |
Public Member Functions | |
OriginVnPath (OriginVnPathDB *ovnpath_db) | |
OriginVnPath (const OriginVnPath &rhs) | |
OriginVnPath (OriginVnPathDB *ovnpath_db, const OriginVnPathSpec spec) | |
virtual | ~OriginVnPath () |
virtual void | Remove () |
bool | Contains (const OriginVnValue &value) const |
bool | Contains (as_t asn, uint32_t vn_index) const |
int | CompareTo (const OriginVnPath &rhs) const |
const OriginVnList & | origin_vns () const |
Private Member Functions | |
void | Prepend (const OriginVnValue &value) |
Private Attributes | |
tbb::atomic< int > | refcount_ |
OriginVnPathDB * | ovnpath_db_ |
OriginVnList | origin_vns_ |
Friends | |
class | OriginVnPathDB |
class | BgpAttrTest |
std::size_t | hash_value (const OriginVnPath &ovnpath) |
int | intrusive_ptr_add_ref (const OriginVnPath *covnpath) |
int | intrusive_ptr_del_ref (const OriginVnPath *covnpath) |
void | intrusive_ptr_release (const OriginVnPath *covnpath) |
Definition at line 37 of file bgp_origin_vn_path.h.
typedef std::vector<OriginVnValue> OriginVnPath::OriginVnList |
Definition at line 40 of file bgp_origin_vn_path.h.
typedef boost::array<uint8_t, 8> OriginVnPath::OriginVnValue |
Definition at line 39 of file bgp_origin_vn_path.h.
|
inlineexplicit |
Definition at line 42 of file bgp_origin_vn_path.h.
|
inlineexplicit |
Definition at line 46 of file bgp_origin_vn_path.h.
|
explicit |
|
inlinevirtual |
Definition at line 53 of file bgp_origin_vn_path.h.
int OriginVnPath::CompareTo | ( | const OriginVnPath & | rhs | ) | const |
Definition at line 89 of file bgp_origin_vn_path.cc.
bool OriginVnPath::Contains | ( | const OriginVnValue & | value | ) | const |
bool OriginVnPath::Contains | ( | as_t | asn, |
uint32_t | vn_index | ||
) | const |
|
inline |
Definition at line 60 of file bgp_origin_vn_path.h.
|
private |
Definition at line 57 of file bgp_origin_vn_path.cc.
|
virtual |
|
friend |
Definition at line 76 of file bgp_origin_vn_path.h.
|
friend |
Definition at line 62 of file bgp_origin_vn_path.h.
|
friend |
Definition at line 85 of file bgp_origin_vn_path.h.
|
friend |
Definition at line 89 of file bgp_origin_vn_path.h.
|
friend |
Definition at line 93 of file bgp_origin_vn_path.h.
|
friend |
Definition at line 75 of file bgp_origin_vn_path.h.
|
private |
Definition at line 82 of file bgp_origin_vn_path.h.
|
private |
Definition at line 81 of file bgp_origin_vn_path.h.
|
mutableprivate |
Definition at line 80 of file bgp_origin_vn_path.h.