OpenSDN source code
|
#include <inet6_route.h>
Public Member Functions | |
Inet6Prefix () | |
Inet6Prefix (Ip6Address addr, int prefixlen) | |
int | CompareTo (const Inet6Prefix &rhs) const |
Ip6Address | addr () const |
Ip6Address | ip6_addr () const |
const Ip6Address::bytes_type | ToBytes () const |
int | prefixlen () const |
std::string | ToString () const |
bool | operator== (const Inet6Prefix &rhs) const |
bool | operator!= (const Inet6Prefix &rhs) const |
bool | operator< (const Inet6Prefix &rhs) const |
bool | operator> (const Inet6Prefix &rhs) const |
bool | IsMoreSpecific (const Inet6Prefix &rhs) const |
Inet6Prefix | operator& (const Inet6Prefix &rhs) const |
Static Public Member Functions | |
static int | FromProtoPrefix (const BgpProtoPrefix &proto_prefix, Inet6Prefix *prefix) |
static int | FromProtoPrefix (BgpServer *server, const BgpProtoPrefix &proto_prefix, const BgpAttr *attr, const Address::Family family, Inet6Prefix *prefix, BgpAttrPtr *new_attr, uint32_t *label, uint32_t *l3_label) |
static Inet6Prefix | FromString (const std::string &str, boost::system::error_code *errorp=NULL) |
Static Public Attributes | |
static const uint8_t | kMaxV6PrefixLen = Address::kMaxV6PrefixLen |
Private Member Functions | |
Ip6Address::bytes_type | ToBytes () |
Private Attributes | |
Ip6Address | ip6_addr_ |
int | prefixlen_ |
Definition at line 16 of file inet6_route.h.
|
inline |
Definition at line 20 of file inet6_route.h.
|
inline |
Definition at line 21 of file inet6_route.h.
|
inline |
Definition at line 26 of file inet6_route.h.
int Inet6Prefix::CompareTo | ( | const Inet6Prefix & | rhs | ) | const |
Definition at line 42 of file inet6_route.cc.
|
static |
Definition at line 15 of file inet6_route.cc.
|
static |
|
static |
|
inline |
Definition at line 27 of file inet6_route.h.
bool Inet6Prefix::IsMoreSpecific | ( | const Inet6Prefix & | rhs | ) | const |
|
inline |
Inet6Prefix Inet6Prefix::operator& | ( | const Inet6Prefix & | rhs | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 33 of file inet6_route.h.
|
inline |
Definition at line 29 of file inet6_route.h.
|
inlineprivate |
Definition at line 68 of file inet6_route.h.
string Inet6Prefix::ToString | ( | ) | const |
|
private |
Definition at line 70 of file inet6_route.h.
|
static |
Definition at line 18 of file inet6_route.h.
|
private |
Definition at line 71 of file inet6_route.h.