using addr6_type = u128IPv6 address representation unsigned integer type.
IPv6 address class.
using size_type = size_tAlias to std::size_t.
using const_iterator = const_pointerConstant iterator.
using iterator = pointerIterator.
using reference = value_type &Reference to octet.
using pointer = value_type *Pointer to octet.
using rep_type = addr6_typeUnsigned 16-byte integer type.
using value_type = u8Octet type (1-byte unsigned integer).
using hex_type = u16Hextet type (2-byte unsigned integer).
char _bytes[16]value_type _octets[16]hex_type _hextets[8]u64 _integers[2]inet6_type _addressaddr6_type _integerconst typedef value_type & const_referenceConstant reference to octet.
const typedef value_type * const_pointerConstant pointer to octet.
size() -> constexpr static size_typeGet the number of octets.
from_prefix(prefix_type prefix) -> ipv6_addressCreate network mask from network prefix.
position(const ipv6_address & netmask) const -> constexpr addr6_type
Compute address position in the subnetwork specified by netmask.
clear() -> voidFill with noughts.
back() const -> value_typeGet last octet.
back() -> referenceGet last octet.
front() const -> value_typeGet first octet.
front() -> referenceGet first octet.
end() const -> const_iteratorGet iterator to the end of octet array.
end() -> iteratorGet iterator to the end of octet array.
begin() const -> const_iteratorGet iterator to the beginning of octet array.
begin() -> iteratorGet iterator to the beginning of octet array.
data() const -> const_pointerGet pointer to the first octet.
data() -> pointerGet pointer to the first octet.
to_prefix() const -> prefix_typeReturn network prefix assuming that this address is network mask.
operator!() const -> constexpr boolReturns true if integer representations is nought.
operator bool() const -> constexprexplicitReturns true if integer representations is non-nought.
operator!=(ipv6_address rhs) const -> boolCompare address integer representations.
operator==(const ipv6_address & rhs) const -> boolCompare address integer representations.
operator>=(const ipv6_address & rhs) const -> booloperator>(const ipv6_address & rhs) const -> booloperator<=(const ipv6_address & rhs) const -> booloperator<(const ipv6_address & rhs) const -> boolCompare address integer representations.
operator[](size_t i) const -> constexpr value_typeGet address octet by index.
rep() const -> constexpr const addr6_type &Get integer representation of the address.
integers() const -> constexpr const u64 *operator const inet6_type &() const -> constexpr
Automatically cast to in6_addr system type.
ipv6_address(const char * rhs)explicitipv6_address(hex_type h1, hex_type h2, hex_type h3, hex_type h4, hex_type h5, hex_type h6, hex_type h7, hex_type h8) -> constexprConstruct IPv4 address manually specifying each hextet.
ipv6_address(const inet6_type & rhs) -> constexprexplicit
Construct IPv4 address from in6_addr system type.
ipv6_address(addr6_type rhs) -> constexprexplicitConstruct IPv6 address from integer type.
ipv6_address(const ipv6_address & rhs) -> constexprCopy-constructor.
ipv6_address() -> constexprSpecialisation of ipaddr_traits for ipv6_address.
using socket_address_type = ipv6_socket_addressSocket address type.
using value_type = ipv6_address::value_typeOctet type.
constexpr const sa_family_type familyIP-address family.
constexpr const value_type loopback_first_octetFirst octet of loopback address.
port(const socket_address & rhs) -> port_typeGet IPv6 port from socket_address.
address(const socket_address & rhs) -> ipv6_addressGet IPv6 address from socket_address.
widearea_mask() -> constexpr ipv6_addressWide area network mask.
loopback_mask() -> constexpr ipv6_addressLoopback network mask.
localhost() -> constexpr ipv6_addressLocalhost address.
Specialisation of std::hash for sys::ipv6_address.
public std::hash< sys::ipv6_address::rep_type >using argument_type = sys::ipv6_addressHash function argument type.
using result_type = size_tHash function return value type.
operator()(const argument_type & rhs) const -> result_typeReturn hash of 16-byte integer that represents the address.
operator<<(std::ostream & out, const ipv6_address & rhs) -> std::ostream &Print textual representation of the address.
operator>>(std::istream & in, ipv6_address & rhs) -> std::istream &Parse textual representation of the address.