An IP version 6 style address.
class ipv6_address ;
Declared in file <boost/url/ipv6_address.hpp> at line 64
Name | Description |
---|---|
bytes_type | The type used to represent an address as an array of bytes. |
Name | Description |
---|---|
ipv6_address | Constructor. |
ipv6_address | Constructor. |
operator= | Copy Assignment |
ipv6_address | Construct from an array of bytes. |
ipv6_address | Construct from an IPv4 address. |
ipv6_address | Construct from a string. |
to_bytes | Return the address as bytes, in network byte order |
to_string | Return the address as a string. |
to_buffer | Write a dotted decimal string representing the address to a buffer |
is_unspecified | Return true if the address is unspecified |
is_loopback | Return true if the address is a loopback address |
is_v4_mapped | Return true if the address is a mapped IPv4 address |
Objects of this type are used to construct, parse, and manipulate IP version 6 addresses.
IPv6address = 6( h16 ":" ) ls32
/ "::" 5( h16 ":" ) ls32
/ [ h16 ] "::" 4( h16 ":" ) ls32
/ [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32
/ [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32
/ [ *3( h16 ":" ) h16 ] "::" h16 ":" ls32
/ [ *4( h16 ":" ) h16 ] "::" ls32
/ [ *5( h16 ":" ) h16 ] "::" h16
/ [ *6( h16 ":" ) h16 ] "::"
ls32 = ( h16 ":" h16 ) / IPv4address
; least-significant 32 bits of address
h16 = 1*4HEXDIG
; 16 bits of address represented in hexadecimal