5 #ifndef SRC_BGP_EXTENDED_COMMUNITY_SITE_OF_ORIGIN_H_
6 #define SRC_BGP_EXTENDED_COMMUNITY_SITE_OF_ORIGIN_H_
8 #include <boost/array.hpp>
9 #include <boost/system/error_code.hpp>
49 boost::system::error_code *error = NULL);
55 #endif // SRC_BGP_EXTENDED_COMMUNITY_SITE_OF_ORIGIN_H_
std::string ToString() const
static SiteOfOrigin FromString(const std::string &str, boost::system::error_code *error=NULL)
boost::array< uint8_t, kSize > bytes_type
static uint64_t get_value(const uint8_t *data, int size)
bool operator!=(const SiteOfOrigin &rhs) const
const uint64_t GetExtCommunityValue() const
static SiteOfOrigin null_soo
bool operator<(const SiteOfOrigin &rhs) const
bool operator>(const SiteOfOrigin &rhs) const
bool operator==(const SiteOfOrigin &rhs) const
const bytes_type & GetExtCommunity() const