2.2.3.2.1 Client Address - IPv4
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 IPv4 format is as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AddressType |
|||||||||||||||||||||||||||||||
ClientAddress |
|||||||||||||||||||||||||||||||
Padding |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
AddressType (4 bytes): MUST be set to the value 0 to indicate IPv4 format.
ClientAddress (4 bytes): MUST contain the IPv4 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.