2.2.36.1 IN6_ADDR (IPv6)
The IN6_ADDR structure specifies an IPv6 transport address whose bytes are in network byte order (big-endian). The IPv6 transport address 2001:0db8:85a3:0000:0000:8a2e:0370:7334, when converted into a 16-byte binary IN6_ADDR structure, would have the value 00100000 00000001 00001101 10111000 10000101 10100011 00000000 00000000 00000000 00000000 10001010 00101110 00000011 01110000 01110011 00110100.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b1 |
b2 |
b3 |
b4 |
||||||||||||||||||||||||||||
b5 |
b6 |
b7 |
b8 |
||||||||||||||||||||||||||||
b9 |
b10 |
b11 |
b12 |
||||||||||||||||||||||||||||
b13 |
b14 |
b15 |
b16 |
b1 (1 byte): High byte of the first 4-digit hexadecimal portion of the IPv6 network address.
b2 (1 byte): Low byte of the first 4-digit hexadecimal portion of the IPv6 network address.
b3 (1 byte): High byte of the second 4-digit hexadecimal portion of the IPv6 network address.
b4 (1 byte): Low byte of the second 4-digit hexadecimal portion of the IPv6 network address.
b5 (1 byte): High byte of the third 4-digit hexadecimal portion of the IPv6 network address.
b6 (1 byte): Low byte of the third 4-digit hexadecimal portion of the IPv6 network address.
b7 (1 byte): High byte of the fourth 4-digit hexadecimal portion of the IPv6 network address.
b8 (1 byte): Low byte of the fourth 4-digit hexadecimal portion of the IPv6 network address.
b9 (1 byte): High byte of the fifth 4-digit hexadecimal portion of the IPv6 network address.
b10 (1 byte): Low byte of the fifth 4-digit hexadecimal portion of the IPv6 network address.
b11 (1 byte): High byte of the sixth 4-digit hexadecimal portion of the IPv6 network address.
b12 (1 byte): Low byte of the sixth 4-digit hexadecimal portion of the IPv6 network address.
b13 (1 byte): High byte of the seventh 4-digit hexadecimal portion of the IPv6 network address.
b14 (1 byte): Low byte of the seventh 4-digit hexadecimal portion of the IPv6 network address.
b15 (1 byte): High byte of the eighth 4-digit hexadecimal portion of the IPv6 network address.
b16 (1 byte): Low byte of the eighth 4-digit hexadecimal portion of the IPv6 network address.