#include <evpn_route.h>
|
| EvpnPrefix () |
|
| EvpnPrefix (const RouteDistinguisher &rd, const EthernetSegmentId &esi, uint32_t tag) |
|
| EvpnPrefix (const RouteDistinguisher &rd, const MacAddress &mac_addr, const IpAddress &ip_address) |
|
| EvpnPrefix (const RouteDistinguisher &rd, uint32_t tag, const MacAddress &mac_addr, const IpAddress &ip_address) |
|
| EvpnPrefix (const RouteDistinguisher &rd, uint32_t tag, const IpAddress &ip_address) |
|
| EvpnPrefix (const RouteDistinguisher &rd, const EthernetSegmentId &esi, const IpAddress &ip_address) |
|
| EvpnPrefix (const RouteDistinguisher &rd, const IpAddress &ip_address, uint8_t ip_prefixlen) |
|
| EvpnPrefix (const RouteDistinguisher &rd, uint32_t tag, const IpAddress &source, const IpAddress &group, const IpAddress &originator) |
|
void | BuildProtoPrefix (BgpProtoPrefix *proto_prefix, const BgpAttr *attr, uint32_t label, uint32_t l3_label=0) const |
|
std::string | ToString () const |
|
std::string | ToXmppIdString () const |
|
int | CompareTo (const EvpnPrefix &rhs) const |
|
bool | operator== (const EvpnPrefix &rhs) const |
|
bool | operator!= (const EvpnPrefix &rhs) const |
|
bool | operator< (const EvpnPrefix &rhs) const |
|
bool | operator> (const EvpnPrefix &rhs) const |
|
uint8_t | type () const |
|
const RouteDistinguisher & | route_distinguisher () const |
|
const EthernetSegmentId & | esi () const |
|
uint32_t | tag () const |
|
const MacAddress & | mac_addr () const |
|
Address::Family | family () const |
|
const IpAddress & | addr () const |
|
IpAddress | ip_address () const |
|
IpAddress | group () const |
|
IpAddress | source () const |
|
uint8_t | ip_address_length () const |
|
uint8_t | prefixlen () const |
|
const Ip4Address | ip4_addr () const |
|
const Ip6Address | ip6_addr () const |
|
Ip4Prefix | inet_prefix () const |
|
Inet6Prefix | inet6_prefix () const |
|
void | set_route_distinguisher (const RouteDistinguisher &rd) |
|
bool | IsMoreSpecific (const EvpnPrefix &rhs) const |
|
|
size_t | GetIpAddressSize () const |
|
void | ReadIpAddress (const BgpProtoPrefix &proto_prefix, size_t ip_offset, size_t ip_size, size_t ip_psize) |
|
void | ReadSource (const BgpProtoPrefix &proto_prefix, size_t ip_offset, size_t ip_size) |
|
void | ReadGroup (const BgpProtoPrefix &proto_prefix, size_t ip_offset, size_t ip_size) |
|
void | WriteIpAddress (BgpProtoPrefix *proto_prefix, size_t ip_offset) const |
|
void | WriteSource (BgpProtoPrefix *proto_prefix, size_t ip_offset) const |
|
void | WriteGroup (BgpProtoPrefix *proto_prefix, size_t ip_offset) const |
|
Definition at line 24 of file bgp/evpn/evpn_route.h.
Enumerator |
---|
Unspecified |
|
AutoDiscoveryRoute |
|
MacAdvertisementRoute |
|
InclusiveMulticastRoute |
|
SegmentRoute |
|
IpPrefixRoute |
|
SelectiveMulticastRoute |
|
Definition at line 48 of file bgp/evpn/evpn_route.h.
EvpnPrefix::EvpnPrefix |
( |
| ) |
|
void EvpnPrefix::BuildProtoPrefix |
( |
BgpProtoPrefix * |
proto_prefix, |
|
|
const BgpAttr * |
attr, |
|
|
uint32_t |
label, |
|
|
uint32_t |
l3_label = 0 |
|
) |
| const |
int EvpnPrefix::CompareTo |
( |
const EvpnPrefix & |
rhs | ) |
const |
EvpnPrefix EvpnPrefix::FromString |
( |
const std::string & |
str, |
|
|
boost::system::error_code * |
errorp = NULL |
|
) |
| |
|
static |
bool EvpnPrefix::GetGroupFromString |
( |
EvpnPrefix * |
prefix, |
|
|
const std::string & |
str, |
|
|
size_t |
pos1, |
|
|
size_t * |
pos2, |
|
|
boost::system::error_code * |
errorp |
|
) |
| |
|
staticprivate |
size_t EvpnPrefix::GetIpAddressSize |
( |
| ) |
const |
|
private |
bool EvpnPrefix::GetSourceFromString |
( |
EvpnPrefix * |
prefix, |
|
|
const std::string & |
str, |
|
|
size_t |
pos1, |
|
|
size_t * |
pos2, |
|
|
boost::system::error_code * |
errorp |
|
) |
| |
|
staticprivate |
uint8_t EvpnPrefix::ip_address_length |
( |
| ) |
const |
bool EvpnPrefix::IsMoreSpecific |
( |
const EvpnPrefix & |
rhs | ) |
const |
bool EvpnPrefix::operator!= |
( |
const EvpnPrefix & |
rhs | ) |
const |
|
inline |
bool EvpnPrefix::operator< |
( |
const EvpnPrefix & |
rhs | ) |
const |
|
inline |
bool EvpnPrefix::operator== |
( |
const EvpnPrefix & |
rhs | ) |
const |
|
inline |
bool EvpnPrefix::operator> |
( |
const EvpnPrefix & |
rhs | ) |
const |
|
inline |
uint8_t EvpnPrefix::prefixlen |
( |
| ) |
const |
|
inline |
void EvpnPrefix::ReadGroup |
( |
const BgpProtoPrefix & |
proto_prefix, |
|
|
size_t |
ip_offset, |
|
|
size_t |
ip_size |
|
) |
| |
|
private |
void EvpnPrefix::ReadIpAddress |
( |
const BgpProtoPrefix & |
proto_prefix, |
|
|
size_t |
ip_offset, |
|
|
size_t |
ip_size, |
|
|
size_t |
ip_psize |
|
) |
| |
|
private |
void EvpnPrefix::ReadSource |
( |
const BgpProtoPrefix & |
proto_prefix, |
|
|
size_t |
ip_offset, |
|
|
size_t |
ip_size |
|
) |
| |
|
private |
uint32_t EvpnPrefix::tag |
( |
| ) |
const |
|
inline |
string EvpnPrefix::ToString |
( |
| ) |
const |
string EvpnPrefix::ToXmppIdString |
( |
| ) |
const |
uint8_t EvpnPrefix::type |
( |
| ) |
const |
|
inline |
void EvpnPrefix::WriteGroup |
( |
BgpProtoPrefix * |
proto_prefix, |
|
|
size_t |
ip_offset |
|
) |
| const |
|
private |
void EvpnPrefix::WriteIpAddress |
( |
BgpProtoPrefix * |
proto_prefix, |
|
|
size_t |
ip_offset |
|
) |
| const |
|
private |
void EvpnPrefix::WriteSource |
( |
BgpProtoPrefix * |
proto_prefix, |
|
|
size_t |
ip_offset |
|
) |
| const |
|
private |
uint8_t EvpnPrefix::flags_ |
|
private |
uint8_t EvpnPrefix::ip_prefixlen_ |
|
private |
const uint32_t EvpnPrefix::kInvalidLabel = 0x01000000 |
|
static |
const size_t EvpnPrefix::kIp4AddrSize = 4 |
|
static |
const size_t EvpnPrefix::kIp6AddrSize = 16 |
|
static |
const size_t EvpnPrefix::kLabelSize = BgpProtoPrefix::kLabelSize |
|
static |
const uint32_t EvpnPrefix::kMaxTag = 0xFFFFFFFF |
|
static |
const uint32_t EvpnPrefix::kMaxVni = 0x00FFFFFF |
|
static |
const int32_t EvpnPrefix::kMaxVniSigned |
|
static |
const size_t EvpnPrefix::kMinAutoDiscoveryRouteSize |
|
static |
const size_t EvpnPrefix::kMinInclusiveMulticastRouteSize |
|
static |
const size_t EvpnPrefix::kMinInet6PrefixRouteSize |
|
static |
const size_t EvpnPrefix::kMinInetPrefixRouteSize |
|
static |
const size_t EvpnPrefix::kMinMacAdvertisementRouteSize |
|
static |
const size_t EvpnPrefix::kMinSegmentRouteSize |
|
static |
const size_t EvpnPrefix::kMinSelectiveMulticastRouteSize |
|
static |
const uint32_t EvpnPrefix::kNullTag = 0 |
|
static |
const size_t EvpnPrefix::kTagSize = 4 |
|
static |
uint32_t EvpnPrefix::tag_ |
|
private |
uint8_t EvpnPrefix::type_ |
|
private |
The documentation for this class was generated from the following files: