(*this)[15] = boost::uint8_t(a7);
}
+prefix_ senf::INet6Address::INet6Address(in6_addr in6addr){
+ senf::INet6Address::from_data(&in6addr.s6_addr[0]);
+}
+
+
+
prefix_ senf::INet6Address senf::INet6Address::from_inet4address(INet4Address addr4)
{
INet6Address addr;
// Custom includes
#include <iostream>
#include <string>
+#include <netinet/in.h>
#include <boost/cstdint.hpp>
#include <boost/array.hpp>
#include <boost/operators.hpp>
boost::uint16_t a3=0u, boost::uint16_t a4=0u, boost::uint16_t a5=0u,
boost::uint16_t a6=0u, boost::uint16_t a7=0u);
///< Construct an address constant
+
+ INet6Address(in6_addr in6addr); ///< Construct from std c struct
static INet6Address from_string(std::string const & s, Resolve_t resolve = ResolveINet6);
///< Convert string to address