OpenSDN source code
|
#include <tag.h>
Public Types | |
typedef boost::array< uint8_t, kSize > | bytes_type |
Public Member Functions | |
Tag (const bytes_type &data) | |
Tag (as2_t asn, int tag) | |
std::string | ToString () const |
bool | IsGlobal () const |
as2_t | as_number () const |
int | tag () const |
const uint64_t | GetExtCommunityValue () const |
Static Public Attributes | |
static const int | kSize = 8 |
static const int | kMinGlobalId = 8000000 |
Private Attributes | |
bytes_type | data_ |
Definition at line 15 of file bgp/extended-community/tag.h.
typedef boost::array<uint8_t, kSize> Tag::bytes_type |
Definition at line 19 of file bgp/extended-community/tag.h.
|
explicit |
Definition at line 18 of file bgp/extended-community/tag.cc.
|
explicit |
Definition at line 22 of file bgp/extended-community/tag.cc.
as2_t Tag::as_number | ( | ) | const |
Definition at line 29 of file bgp/extended-community/tag.cc.
|
inline |
Definition at line 29 of file bgp/extended-community/tag.h.
bool Tag::IsGlobal | ( | ) | const |
Definition at line 47 of file bgp/extended-community/tag.cc.
int Tag::tag | ( | ) | const |
Definition at line 38 of file bgp/extended-community/tag.cc.
string Tag::ToString | ( | ) | const |
Definition at line 51 of file bgp/extended-community/tag.cc.
|
private |
Definition at line 34 of file bgp/extended-community/tag.h.
|
static |
Definition at line 18 of file bgp/extended-community/tag.h.
|
static |
Definition at line 17 of file bgp/extended-community/tag.h.