2.2.1.2.64 DHCP_CLIENT_INFO_V6

The DHCP_CLIENT_INFO_V6 structure contains information on DHCPv6 client. This structure is used in the R_DhcpGetClientInfoV6 (section 3.2.4.73) method.

 typedef struct _DHCP_CLIENT_INFO_V6 {
   DHCP_IPV6_ADDRESS ClientIpAddress;
   DHCP_CLIENT_UID ClientDUID;
   DWORD AddressType;
   DWORD IAID;
   LPWSTR ClientName;
   LPWSTR ClientComment;
   DATE_TIME ClientValidLeaseExpires;
   DATE_TIME ClientPrefLeaseExpires;
   DHCP_HOST_INFO_V6 OwnerHost;
 } DHCP_CLIENT_INFO_V6,
  *LPDHCP_CLIENT_INFO_V6;

ClientIpAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28), a structure that contains the DHCPv6 client's IPv6 address.

ClientDUID: This is of type DHCP_CLIENT_UID (section 2.2.1.2.5), a structure that represents the DHCPv6 client-identifier (section 2.2.1.2.5.3).

AddressType: This is of type DWORD that specifies the type of IPv6 address.

Value

Meaning

ADDRESS_TYPE_IANA

0x00000000

Indicates an IANA address. [RFC3315]

ADDRESS_TYPE_IATA

0x00000001

Indicates an IATA address. [RFC3315]

IAID: This is of type DWORD that specifies the interface identifier of the DHCPv6 client interface.

ClientName: A pointer to a null-terminated Unicode string that contains the name of the DHCPv6 client. There is no restriction on the length of this Unicode string.

ClientComment: A pointer to a null-terminated Unicode string that contains a comment relating to the DHCPv6 client. There is no restriction on the length of this Unicode string.

ClientValidLeaseExpires: This is of type DATE_TIME (section 2.2.1.2.11), a structure that contains the valid lifetime of the DHCPv6 client lease.

ClientPrefLeaseExpires: This is of type DATE_TIME, a structure that contains the preferred lifetime of the DHCPv6 client lease.

OwnerHost: This is of type DHCP_HOST_INFO_V6 (section 2.2.1.2.63), a structure that contains information about the DHCPv6 server machine that has given this IPv6 lease to this DHCPv6 client.