OpenSDN source code
|
#include <tag.h>
Public Types | |
typedef boost::array< uint8_t, kSize > | bytes_type |
Public Member Functions | |
Tag4ByteAs (const bytes_type &data) | |
Tag4ByteAs (as_t asn, int tag) | |
std::string | ToString () const |
bool | IsGlobal () const |
as_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 37 of file bgp/extended-community/tag.h.
typedef boost::array<uint8_t, kSize> Tag4ByteAs::bytes_type |
Definition at line 41 of file bgp/extended-community/tag.h.
|
explicit |
Definition at line 57 of file bgp/extended-community/tag.cc.
|
explicit |
Definition at line 61 of file bgp/extended-community/tag.cc.
as_t Tag4ByteAs::as_number | ( | ) | const |
Definition at line 68 of file bgp/extended-community/tag.cc.
|
inline |
Definition at line 51 of file bgp/extended-community/tag.h.
bool Tag4ByteAs::IsGlobal | ( | ) | const |
Definition at line 86 of file bgp/extended-community/tag.cc.
int Tag4ByteAs::tag | ( | ) | const |
Definition at line 77 of file bgp/extended-community/tag.cc.
string Tag4ByteAs::ToString | ( | ) | const |
Definition at line 90 of file bgp/extended-community/tag.cc.
|
private |
Definition at line 56 of file bgp/extended-community/tag.h.
|
static |
Definition at line 40 of file bgp/extended-community/tag.h.
|
static |
Definition at line 39 of file bgp/extended-community/tag.h.