2.2.1.2.69 DHCP_SEARCH_INFO_V6

The DHCP_SEARCH_INFO_V6 structure contains the DHCPv6 client information search type defined by the SearchType member, along with the data supporting that search. With this structure, a search is performed for a specific DHCPv6 client. This structure is used in the R_DhcpGetClientInfoV6 (section 3.2.4.73) method.

 typedef struct _DHCP_SEARCH_INFO_V6 {
   DHCP_SEARCH_INFO_TYPE_V6 SearchType;
   [switch_is(SearchType), switch_type(DHCP_SEARCH_INFO_TYPE_V6)] 
     union _DHCP_CLIENT_SEARCH_UNION_V6 {
     [case(Dhcpv6ClientIpAddress)] 
       DHCP_IPV6_ADDRESS ClientIpAddress;
     [case(Dhcpv6ClientDUID)] 
       DHCP_CLIENT_UID ClientDUID;
     [case(Dhcpv6ClientName)] 
       LPWSTR ClientName;
   } SearchInfo;
 } DHCP_SEARCH_INFO_V6,
  *LPDHCP_SEARCH_INFO_V6;

SearchType: This is an enumeration value of type DHCP_SEARCH_INFO_TYPE_V6 (section 2.2.1.1.12) enumeration that contains the data type, based on which the search is performed, for a specific DHCPv6 client record on the DHCPv6 server.

SearchInfo: This is a union that can contain one of the following values chosen based on the value of the SearchType member.

ClientIpAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28), a structure that contains the IPv6 address of the DHCPv6 client lease record. It is used for searching in the DHCPv6 server database.

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). It is used to search for the DHCPv6 client lease record in the DHCPv6 server database.

ClientName: A pointer to a null-terminated Unicode string that contains the name of the DHCPv6 client. It is used to search for the DHCPv6 client lease record in the DHCPv6 server database. There is no restriction on the length of this Unicode string.