5 #ifndef SRC_BGP_L3VPN_INETVPN_ADDRESS_H_
6 #define SRC_BGP_L3VPN_INETVPN_ADDRESS_H_
8 #include <boost/system/error_code.hpp>
28 const BgpAttr *attr, uint32_t *label);
37 boost::system::error_code *errorp = NULL);
47 const BgpAttr *attr = NULL)
const;
55 #endif // SRC_BGP_L3VPN_INETVPN_ADDRESS_H_
const RouteDistinguisher & route_distinguisher() const
std::string ToString() const
static InetVpnPrefix FromString(const std::string &str, boost::system::error_code *errorp=NULL)
bool IsMoreSpecific(const InetVpnPrefix &rhs) const
InetVpnPrefix(const RouteDistinguisher &rd, Ip4Address ip, int prefixlen)
boost::intrusive_ptr< const BgpAttr > BgpAttrPtr
bool operator==(const InetVpnPrefix &rhs) const
static int FromProtoPrefix(const BgpProtoPrefix &proto_prefix, InetVpnPrefix *prefix, const BgpAttr *attr, uint32_t *label)
boost::asio::ip::address_v4 Ip4Address
void BuildProtoPrefix(uint32_t label, BgpProtoPrefix *proto_prefix, const BgpAttr *attr=NULL) const