5 #ifndef SRC_BGP_ORIGIN_VN_ORIGIN_VN_H_
6 #define SRC_BGP_ORIGIN_VN_ORIGIN_VN_H_
8 #include <boost/array.hpp>
9 #include <boost/system/error_code.hpp>
50 boost::system::error_code *error = NULL);
90 boost::system::error_code *error = NULL);
96 #endif // SRC_BGP_ORIGIN_VN_ORIGIN_VN_H_
bool operator<(const OriginVn &rhs) const
static const int kMinGlobalId
static OriginVn null_originvn
const uint64_t GetExtCommunityValue() const
const bytes_type & GetExtCommunity() const
bool operator<(const OriginVn4ByteAs &rhs) const
bool operator==(const OriginVn4ByteAs &rhs) const
static OriginVn4ByteAs null_originvn
static uint64_t get_value(const uint8_t *data, int size)
static OriginVn4ByteAs FromString(const std::string &str, boost::system::error_code *error=NULL)
boost::array< uint8_t, kSize > bytes_type
static const int kMinGlobalId
static OriginVn FromString(const std::string &str, boost::system::error_code *error=NULL)
boost::array< uint8_t, kSize > bytes_type
const bytes_type & GetExtCommunity() const
bool operator==(const OriginVn &rhs) const
const uint64_t GetExtCommunityValue() const