5 #ifndef SRC_BGP_RTARGET_RTARGET_ADDRESS_H_
6 #define SRC_BGP_RTARGET_RTARGET_ADDRESS_H_
8 #include <boost/array.hpp>
9 #include <boost/system/error_code.hpp>
21 typedef std::set<RouteTarget>
List;
44 boost::system::error_code *error = NULL);
56 #endif // SRC_BGP_RTARGET_RTARGET_ADDRESS_H_
boost::array< uint8_t, kSize > bytes_type
bool operator==(const RouteTarget &rhs) const
const bytes_type & GetExtCommunity() const
static RouteTarget null_rtarget
static RouteTarget FromString(const std::string &str, boost::system::error_code *error=NULL)
boost::asio::ip::address_v4 Ip4Address
std::set< RouteTarget > List
bool operator<(const RouteTarget &rhs) const
bool operator>(const RouteTarget &rhs) const
const uint64_t GetExtCommunityValue() const
std::string ToString() const