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);
boost::intrusive_ptr< const BgpAttr > BgpAttrPtr
static RTargetPrefix FromString(const std::string &str, boost::system::error_code *errorp=NULL)
RTargetPrefix(const BgpProtoPrefix &prefix)
std::string ToString() const
bool operator==(const RTargetPrefix &rhs) const
static int FromProtoPrefix(const BgpProtoPrefix &proto_prefix, RTargetPrefix *prefix)
RouteTarget rtarget() const
static const std::string kDefaultPrefixString
int CompareTo(const RTargetPrefix &rhs) const
void BuildProtoPrefix(BgpProtoPrefix *prefix) const
RTargetPrefix(as_t as, RouteTarget rtarget)