2.2.3.2.2 Client Address - IPv6

The client address data structure is used to transmit the IP address of a client to a proxy or a server. The encoding of the client address for the IPv6 format is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

AddressType

ClientAddress (16 bytes)

...

...

Padding

...

...

AddressType (4 bytes): MUST be set to the value 1 to indicate IPv6 format.

ClientAddress (16 bytes): MUST contain the IPv6 address of the client in little-endian byte order.

Padding (12 bytes): Senders SHOULD set all bytes in this field to the value 0x00. Receivers MUST ignore this field.