5 #ifndef SRC_BGP_INET_INET_ROUTE_H_
6 #define SRC_BGP_INET_INET_ROUTE_H_
38 boost::system::error_code *errorp = NULL);
78 uint32_t l3_label = 0)
const;
98 #endif // SRC_BGP_INET_INET_ROUTE_H_
static int FromProtoPrefix(const BgpProtoPrefix &proto_prefix, Ip4Prefix *prefix)
int CompareTo(const Ip4Prefix &rhs) const
bool operator!=(const Ip4Prefix &rhs) const
virtual bool IsMoreSpecific(const std::string &match) const
bool operator==(const Ip4Prefix &rhs) const
boost::asio::ip::address IpAddress
std::unique_ptr< DBRequestKey > KeyPtr
boost::intrusive_ptr< const BgpAttr > BgpAttrPtr
Ip4Address ip4_addr() const
virtual void BuildBgpProtoNextHop(std::vector< uint8_t > &nh, IpAddress nexthop) const
static Ip4Prefix FromString(const std::string &str, boost::system::error_code *errorp=NULL)
virtual int CompareTo(const Route &rhs) const
std::string ToString() const
virtual bool IsLessSpecific(const std::string &match) const
const Ip4Prefix & GetPrefix() const
virtual KeyPtr GetDBRequestKey() const
boost::asio::ip::address_v4 Ip4Address
bool operator<(const Ip4Prefix &rhs) const
bool operator>(const Ip4Prefix &rhs) const
virtual void SetKey(const DBRequestKey *reqkey)
bool IsMoreSpecific(const Ip4Prefix &rhs) const
Ip4Prefix(Ip4Address addr, int prefixlen)
virtual void BuildProtoPrefix(BgpProtoPrefix *prefix, const BgpAttr *attr=NULL, uint32_t label=0, uint32_t l3_label=0) const
InetRoute(const Ip4Prefix &prefix)
virtual bool IsLess(const DBEntry &genrhs) const
virtual std::string ToString() const
DISALLOW_COPY_AND_ASSIGN(InetRoute)