2.2.1.2.32 DHCP_IP_RESERVATION_V4
The DHCP_IP_RESERVATION_V4 structure defines an IPv4 reservation for a DHCP client. This structure is an extension of DHCP_IP_RESERVATION (section 2.2.1.2.10) structure by including the type of client (DHCP, BOOTP or both) ([RFC2132]) holding this IPv4 reservation. This structure is used in the DHCP_SUBNET_ELEMENT_DATA_V4 (section 2.2.1.2.35) structure.
-
typedef struct _DHCP_IP_RESERVATION_V4 { DHCP_IP_ADDRESS ReservedIpAddress; DHCP_CLIENT_UID* ReservedForClient; BYTE bAllowedClientTypes; } DHCP_IP_RESERVATION_V4, *LPDHCP_IP_RESERVATION_V4;
ReservedIpAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains the IPv4 address of client (DHCP or BOOTP) for which a reservation was created.
ReservedForClient: This is a pointer of type DHCP_CLIENT_UID (section 2.2.1.2.5) that represents the DHCPv4 client-identifier (section 2.2.1.2.5.1).
bAllowedClientTypes: This is of type BYTE that specifies the type of client holding this reservation.
-
Value
Meaning
CLIENT_TYPE_DHCP
0x01
The IPv4 reservation is for a DHCPv4 client.
CLIENT_TYPE_BOOTP
0x02
The IPv4 reservation is for a BOOTP client.
CLIENT_TYPE_BOTH
0x03
The IPv4 reservation is for both kinds of clients.