OpenSDN source code
|
#include <vrf_route_import.h>
Public Types | |
typedef boost::array< uint8_t, kSize > | bytes_type |
Public Member Functions | |
VrfRouteImport () | |
VrfRouteImport (const bytes_type &data) | |
VrfRouteImport (const uint32_t bgp_id, const uint32_t ri_index) | |
bool | IsNull () const |
uint8_t | Type () const |
uint8_t | Subtype () const |
Ip4Address | GetIPv4Address () const |
uint16_t | GetNumber () const |
bool | operator< (const VrfRouteImport &rhs) const |
bool | operator> (const VrfRouteImport &rhs) const |
bool | operator== (const VrfRouteImport &rhs) const |
bool | operator!= (const VrfRouteImport &rhs) const |
const bytes_type & | GetExtCommunity () const |
const uint64_t | GetExtCommunityValue () const |
std::string | ToString () const |
Static Public Member Functions | |
static VrfRouteImport | FromString (const std::string &str, boost::system::error_code *error=NULL) |
Static Public Attributes | |
static const int | kSize = 8 |
static VrfRouteImport | null_rt_import |
Private Attributes | |
bytes_type | data_ |
Definition at line 17 of file vrf_route_import.h.
typedef boost::array<uint8_t, kSize> VrfRouteImport::bytes_type |
Definition at line 21 of file vrf_route_import.h.
VrfRouteImport::VrfRouteImport | ( | ) |
Definition at line 16 of file vrf_route_import.cc.
|
explicit |
Definition at line 20 of file vrf_route_import.cc.
VrfRouteImport::VrfRouteImport | ( | const uint32_t | bgp_id, |
const uint32_t | ri_index | ||
) |
|
static |
|
inline |
Definition at line 46 of file vrf_route_import.h.
|
inline |
Ip4Address VrfRouteImport::GetIPv4Address | ( | ) | const |
uint16_t VrfRouteImport::GetNumber | ( | ) | const |
|
inline |
|
inline |
Definition at line 42 of file vrf_route_import.h.
|
inline |
Definition at line 33 of file vrf_route_import.h.
|
inline |
Definition at line 39 of file vrf_route_import.h.
|
inline |
Definition at line 36 of file vrf_route_import.h.
|
inline |
Definition at line 29 of file vrf_route_import.h.
string VrfRouteImport::ToString | ( | ) | const |
|
inline |
Definition at line 28 of file vrf_route_import.h.
|
private |
Definition at line 56 of file vrf_route_import.h.
|
static |
Definition at line 19 of file vrf_route_import.h.
|
static |
Definition at line 20 of file vrf_route_import.h.