2.2.1.2.82 DHCPV6_BIND_ELEMENT
The DHCPV6_BIND_ELEMENT structure defines an IPv6 interface binding for the DHCP server over which it receives DHCPv6 packets. This structure is used in DHCPV6_BIND_ELEMENT_ARRAY (section 2.2.1.2.83) structure.
-
typedef struct _DHCPV6_BIND_ELEMENT { ULONG Flags; BOOL fBoundToDHCPServer; DHCP_IPV6_ADDRESS AdapterPrimaryAddress; DHCP_IPV6_ADDRESS AdapterSubnetAddress; LPWSTR IfDescription; DWORD IpV6IfIndex; ULONG IfIdSize; [size_is(IfIdSize)] LPBYTE IfId; } DHCPV6_BIND_ELEMENT, *LPDHCPV6_BIND_ELEMENT;
Flags: This is of type ULONG, specifying a set of bit flags indicating properties of the interface binding.
-
Value
Meaning
DHCP_ENDPOINT_FLAG_CANT_MODIFY
0x00000001
The endpoints cannot be modified.
fBoundToDHCPServer: This is of type BOOL, specifying whether the interface is bound to the DHCP server.
-
Value
Meaning
FALSE
0x00000000
It specifies that the interface is not bound to the DHCP server.
TRUE
0x00000001
It specifies that the interface is bound to the DHCP server.
AdapterPrimaryAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28) structure, specifying the IPv6 address assigned to the interface over which the DHCP server is receiving DHCPv6 packets.
AdapterSubnetAddress: This is of type DHCP_IPV6_ADDRESS (section 2.2.1.2.28) structure, specifying the IPv6 prefix ID of the subnet from which this interface is receiving DHCPv6 packets.
IfDescription: A pointer, of type LPWSTR, to a null-terminated Unicode string that specifies the name assigned to this interface. The maximum number of characters allowed in this string is 256, excluding the terminating null character.
IpV6IfIndex: This is of type DWORD, containing the IPv6 interface index of the current interface.
IfIdSize: This is of type ULONG, containing the size of the interface GUID stored in the IfId member.
IfId: This is a pointer to a BYTE, containing the interface GUID assigned to this interface.