DHCPV6_BIND_ELEMENT structure (dhcpsapi.h)

The DHCPV6_BIND_ELEMENT structure defines an IPv6 interface binding for the DHCP server over which it receives DHCPv6 packets.

Syntax

typedef struct _DHCPV6_BIND_ELEMENT {
  ULONG             Flags;
  BOOL              fBoundToDHCPServer;
  DHCP_IPV6_ADDRESS AdapterPrimaryAddress;
  DHCP_IPV6_ADDRESS AdapterSubnetAddress;
  LPWSTR            IfDescription;
  DWORD             IpV6IfIndex;
  ULONG             IfIdSize;
  LPBYTE            IfId;
} DHCPV6_BIND_ELEMENT, *LPDHCPV6_BIND_ELEMENT;

Members

Flags

A set of bit flags indicating properties of the interface binding.

Value Meaning
DHCP_ENDPOINT_FLAG_CANT_MODIFY
The endpoints cannot be modified.

fBoundToDHCPServer

If TRUE, the interface is bound to the DHCPv6 server; if FALSE, it is not.

AdapterPrimaryAddress

DHCP_IPV6_ADDRESS structure that contains the IPv6 address assigned to the interface over which the DHCP server is receiving DHCPv6 packets.

AdapterSubnetAddress

DHCP_IPV6_ADDRESS structure that contains the IPv6 prefix ID of the subnet from which this interface is receiving DHCPv6 packets.

IfDescription

Pointer to a null-terminated Unicode string that specifies the name assigned to this interface.

IpV6IfIndex

Integer that specifies the IPv6 interface index of the current interface.

IfIdSize

Integer that specifies the size of the interface GUID stored in IfId.

IfId

Pointer to a BYTE blob that contains the GUID value assigned to this interface.

Requirements

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

See also

DHCPV6_BIND_ELEMENT_ARRAY

DHCP_IPV6_ADDRESS