Compartir a través de


2.2.2.1 IPADDR_INFO

The IPADDR_INFO structure specifies the IP addresses of the interface.


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

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 implementing version 2.

0x00000010

IPADDR_OFFLINE

If set, the IPV4 or IPV6 address is not available. This flag is applicable only for the server implementing 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.