DHCP_SUBNET_ELEMENT_DATA_V6 structure (dhcpsapi.h)

The DHCP_SUBNET_ELEMENT_DATA_V6 structure contains definitions for the elements of the IPv6 prefix, such as IPv6 reservation, IPv6 exclusion range, and IPv6 range.

Syntax

typedef struct _DHCP_SUBNET_ELEMENT_DATA_V6 {
  DHCP_SUBNET_ELEMENT_TYPE_V6   ElementType;
#if ...
  union {
    DHCP_IP_RANGE_V6       *IpRange;
    DHCP_IP_RESERVATION_V6 *ReservedIp;
    DHCP_IP_RANGE_V6       *ExcludeIpRange;
  } Element;
#if ...
  _DHCP_SUBNET_ELEMENT_UNION_V6 _DHCP_SUBNET_ELEMENT_UNION_V6;
#else
  union {
    DHCP_IP_RANGE_V6       *IpRange;
    DHCP_IP_RESERVATION_V6 *ReservedIp;
    DHCP_IP_RANGE_V6       *ExcludeIpRange;
  } Element;
#endif
#else
  _DHCP_SUBNET_ELEMENT_UNION_V6 _DHCP_SUBNET_ELEMENT_UNION_V6;
#endif
} DHCP_SUBNET_ELEMENT_DATA_V6, *LPDHCP_SUBNET_ELEMENT_DATA_V6;

Members

ElementType

Defines the set of possible prefix element types. This value is used to determine which of the values are chosen from the subsequent union element.

Element

A union of different IPv6 prefix element types. The value of this union is dependent on the ElementType member.

Element.IpRange

Pointer to a DHCP_IP_RANGE_V6 structure that contains the IPv6 range for this IPv6 prefix.

Element.ReservedIp

Pointer to a DHCP_IP_RESERVATION_V6 structure that contains the IPv6 reservation information.

Element.ExcludeIpRange

Pointer to a DHCP_IP_RANGE_V6 structure that contains the IPv6 exclusion range information.

_DHCP_SUBNET_ELEMENT_UNION_V6

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2008 R2 [desktop apps only]
Header dhcpsapi.h

See also

DHCP_IP_RANGE_V6

DHCP_IP_RESERVATION_V6

DHCP_SUBNET_ELEMENT_DATA_V6