OpenSDN source code
|
#include <inet6vpn_route.h>
Public Member Functions | |
Inet6VpnPrefix () | |
Inet6VpnPrefix (const RouteDistinguisher &rd, Ip6Address ip, int prefixlen) | |
std::string | ToString () const |
bool | IsMoreSpecific (const Inet6VpnPrefix &rhs) const |
int | CompareTo (const Inet6VpnPrefix &other) const |
bool | operator== (const Inet6VpnPrefix &rhs) const |
const RouteDistinguisher & | route_distinguisher () const |
Ip6Address | addr () const |
int | prefixlen () const |
void | BuildProtoPrefix (uint32_t label, BgpProtoPrefix *prefix) const |
Static Public Member Functions | |
static int | FromProtoPrefix (const BgpProtoPrefix &proto_prefix, Inet6VpnPrefix *prefix, uint32_t *label) |
static int | FromProtoPrefix (BgpServer *server, const BgpProtoPrefix &proto_prefix, const BgpAttr *attr, const Address::Family family, Inet6VpnPrefix *prefix, BgpAttrPtr *new_attr, uint32_t *label, uint32_t *l3_label) |
static Inet6VpnPrefix | FromString (const std::string &str, boost::system::error_code *errorp=NULL) |
Private Attributes | |
RouteDistinguisher | rd_ |
Ip6Address | addr_ |
int | prefixlen_ |
Definition at line 19 of file inet6vpn_route.h.
Inet6VpnPrefix::Inet6VpnPrefix | ( | ) |
Definition at line 16 of file inet6vpn_route.cc.
|
inline |
Definition at line 22 of file inet6vpn_route.h.
|
inline |
Definition at line 44 of file inet6vpn_route.h.
void Inet6VpnPrefix::BuildProtoPrefix | ( | uint32_t | label, |
BgpProtoPrefix * | prefix | ||
) | const |
int Inet6VpnPrefix::CompareTo | ( | const Inet6VpnPrefix & | other | ) | const |
|
static |
|
static |
|
static |
bool Inet6VpnPrefix::IsMoreSpecific | ( | const Inet6VpnPrefix & | rhs | ) | const |
bool Inet6VpnPrefix::operator== | ( | const Inet6VpnPrefix & | rhs | ) | const |
Definition at line 149 of file inet6vpn_route.cc.
|
inline |
Definition at line 45 of file inet6vpn_route.h.
|
inline |
Definition at line 43 of file inet6vpn_route.h.
string Inet6VpnPrefix::ToString | ( | ) | const |
|
private |
Definition at line 50 of file inet6vpn_route.h.
|
private |
Definition at line 51 of file inet6vpn_route.h.
|
private |
Definition at line 49 of file inet6vpn_route.h.