|
| ipv6_address () |
| Constructs an all-zero address.
|
|
| ipv6_address (uint16_ilist prefix, uint16_ilist suffix) |
| Constructs an address from given prefix and suffix. More...
|
|
| ipv6_address (ipv4_address addr) |
| Embeds an IPv4 address into an IPv6 address.
|
|
| ipv6_address (array_type bytes) |
| Constructs an IPv6 address from given bytes.
|
|
int | compare (ipv6_address other) const noexcept |
| Returns a negative number if *this < other , zero if *this == other and a positive number if *this > other . More...
|
|
int | compare (ipv4_address other) const noexcept |
| Returns a negative number if *this < other , zero if *this == other and a positive number if *this > other . More...
|
|
bool | embeds_v4 () const noexcept |
| Returns whether this address embeds an IPv4 address.
|
|
ipv4_address | embedded_v4 () const noexcept |
| Returns an embedded IPv4 address. More...
|
|
bool | is_loopback () const noexcept |
| Returns whether this is a loopback address.
|
|
array_type & | bytes () noexcept |
| Returns the bytes of the IP address as array.
|
|
const array_type & | bytes () const noexcept |
| Returns the bytes of the IP address as array.
|
|
array_type & | data () noexcept |
| Alias for bytes() .
|
|
const array_type & | data () const noexcept |
| Alias for bytes() .
|
|
bool | zero () const noexcept |
| Returns whether this address contains only zeros, i.e., equals :: .
|
|
uint8_t & | operator[] (size_t index) noexcept |
| Returns the byte at given index.
|
|
const uint8_t & | operator[] (size_t index) const noexcept |
| Returns the byte at given index.
|
|
size_t | size () const noexcept |
| Returns the number of bytes of the address.
|
|
ipv6_address | network_address (size_t prefix_length) const noexcept |
|
ipv6_address & | operator&= (const ipv6_address &other) |
| Bitwise ANDs *this and other .
|
|
ipv6_address & | operator|= (const ipv6_address &other) |
| Bitwise ORs *this and other .
|
|
ipv6_address & | operator^= (const ipv6_address &other) |
| Bitwise XORs *this and other .
|
|