DHCP_CLIENT_INFO_V6 structure

The DHCP_CLIENT_INFO_V6 structure contains information on DHCPv6 clients.

Syntax


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, *PDHCP_CLIENT_INFO_V6;

Members

ClientIpAddress

This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28), containing the DHCPv6 client's IPv6 address.

ClientDUID

This is of type DHCP_CLIENT_UID (section 2.2.1.2.5), containing the DHCPv6 client identifier.

AddressType

This is of type DWORD, specifying the type of IPv6 address.

ValueMeaning
ADDRESS_TYPE_IANA
0x00000000

Indicates an IANA address. [RFC3315]

ADDRESS_TYPE_IATA
0x00000001

Indicates an IATA address. [RFC3315]

 

IAID

This is of type DWORD, specifying the interface identifier of the DHCPv6 client interface.

ClientName

A pointer to a null-terminated Unicode string containing the name of the DHCPv6 client.

ClientComment

A pointer to a null-terminated Unicode string containing a comment relating to the DHCPv6 client.

ClientValidLeaseExpires

This is of type DATE_TIME (section 2.2.1.2.11), containing the valid lifetime of the DHCPv6 IPv6 client lease.

ClientPrefLeaseExpires

This is of type DATE_TIME, containing the preferred lifetime of the DHCPv6 client lease.

OwnerHost

This of type DHCP_HOST_INFO_V6 (section 2.2.1.2.63), containing information about the host machine (DHCPv6 server machine) that has given this IPv6 lease to this DHCPv6 client.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dhcpsapi.h

See also

DHCP_IPV6_ADDRESS
DHCP_HOST_INFO_V6

 

 

Show: