2.2.2.1 IPADDR_INFO
The IPADDR_INFO structure specifies the IP addresses of the interface.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Flags |
|||||||||||||||||||||||||||||||
IPV4 |
|||||||||||||||||||||||||||||||
IPV6 |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Flags (4 bytes): The Flags field SHOULD<1> be set to a combination of one or more of the following values.
-
Value
Description
0x00000001
IPADDR_V4
If set, the IPV4 field contains a valid address. When this bit is set, the IPADDR_IPV6 bit MUST NOT be set.
0x00000002
IPADDR_V6
If set, the IPV6 field contains a valid address. When this bit is set, the IPADDR_IPV4 bit MUST NOT be set.
0x00000008
IPADDR_ONLINE
If set, the IPV4 or IPV6 address is available. This flag is applicable only for the servers that implement version 2.
0x00000010
IPADDR_OFFLINE
If set, the IPV4 or IPV6 address is not available. This flag is applicable only for the server that implement version 2.
IPV4 (4 bytes): The IPv4 address of the interface, if the IPADDR_V4 flag is set in the Flags field.
IPV6 (16 bytes): The IPv6 address of the interface, if the IPADDR_V6 flag is set in the Flags field.