37 copy(data.begin(), data.end(),
data_.begin());
52 string str(
"encapsulation:");
static bool TunnelEncapIsValid(uint16_t value)
static const std::string & TunnelEncapToString(TunnelEncapType::Encap encap)
TunnelEncap(TunnelEncapType::Encap encap)
static uint64_t get_value(const uint8_t *data, int size)
std::string ToXmppString()
TunnelEncapType::Encap tunnel_encap() const
static const std::string & TunnelEncapToXmppString(TunnelEncapType::Encap encap)
boost::array< uint8_t, kSize > bytes_type
static TunnelEncapType::Encap TunnelEncapFromString(const std::string &encap)
static void put_value(uint8_t *data, int size, uint64_t value)