5 #ifndef SRC_BGP_RTARGET_RTARGET_PREFIX_H_
6 #define SRC_BGP_RTARGET_RTARGET_PREFIX_H_
8 #include <boost/system/error_code.hpp>
36 boost::system::error_code *errorp = NULL);
52 #endif // SRC_BGP_RTARGET_RTARGET_PREFIX_H_
int CompareTo(const RTargetPrefix &rhs) const
RouteTarget rtarget() const
static RTargetPrefix FromString(const std::string &str, boost::system::error_code *errorp=NULL)
static int FromProtoPrefix(const BgpProtoPrefix &proto_prefix, RTargetPrefix *prefix)
bool operator==(const RTargetPrefix &rhs) const
RTargetPrefix(as_t as, RouteTarget rtarget)
boost::intrusive_ptr< const BgpAttr > BgpAttrPtr
static const std::string kDefaultPrefixString
void BuildProtoPrefix(BgpProtoPrefix *prefix) const
std::string ToString() const