Expand Minimize

DHCP_SUBNET_ELEMENT_DATA_V5 structure

The DHCP_SUBNET_ELEMENT_DATA_V5 structure defines an element that describes a feature or restriction of a subnet. Together, a set of elements describes the set of IP addresses served for a subnet by DHCP or BOOTP. DHCP_SUBNET_ELEMENT_DATA_V5 specifically allows for the definition of BOOTP-served addresses.

Syntax


typedef struct _DHCP_SUBNET_ELEMENT_DATA_V5 {
  DHCP_SUBNET_ELEMENT_TYPE ElementType;
  union {
    DHCP_BOOTP_IP_RANGE    *IpRange;
    DHCP_HOST_INFO         *SecondaryHost;
    DHCP_IP_RESERVATION_V4 *ReservedIp;
    DHCP_IP_RANGE          *ExcludeIpRange;
  } Element;
} DHCP_SUBNET_ELEMENT_DATA_V5, *LPDHCP_SUBNET_ELEMENT_DATA_V5;

Members

ElementType

DHCP_SUBNET_ELEMENT_TYPE enumeration value describing the type of element in the subsequent field.

Element
IpRange

DHCP_BOOTP_IP_RANGE structure that contains the set of BOOTP-served IP addresses. This member is present if ElementType is set to DhcpIpRangesBootpOnly.

SecondaryHost

DHCP_HOST_INFO structure that contains the IP addresses of secondary DHCP servers available on the subnet. This member is present if ElementType is set to DhcpSecondaryHosts.

ReservedIp

DHCP_IP_RESERVATION_V4 structure that contains the set of reserved IP addresses for the subnet. This member is present if ElementType is set to DhcpReservedIps.

ExcludeIpRange

DHCP_IP_RANGE structure that contains a range of IP addresses. This member is present if ElementType is set to DhcpIpRanges or DhcpExcludedIpRanges.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dhcpsapi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft