2.2.1.2.102 DHCP_IP_RESERVATION_INFO

The DHCP_IP_RESERVATION_INFO structure defines an IPv4 reservation for a DHCPv4 client. This structure is an extension of the DHCP_IP_RESERVATION_V4 structure (section 2.2.1.2.32), which is extended by including the reservation client name and description.

 typedef struct _DHCP_IP_RESERVATION_INFO {
   DHCP_IP_ADDRESS ReservedIpAddress;
   DHCP_CLIENT_UID ReservedForClient;
   LPWSTR ReservedClientName;
   LPWSTR ReservedClientDesc;
   BYTE bAllowedClientTypes;
   BYTE fOptionsPresent;
 } DHCP_IP_RESERVATION_INFO,
  *LPDHCP_IP_RESERVATION_INFO;

ReservedIpAddress: This member is a structure of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains the IPv4 address of the client (DHCP or BOOTP) ([RFC2132]), for which a reservation was created.

ReservedForClient: This member is a pointer of type DHCP_CLIENT_UID structure (section 2.2.1.2.5) that represents the DHCPv4 client-identifier (section 2.2.1.2.5.1).

ReservedClientName: This member is a pointer to a null-terminated Unicode string that represents the host name of the DHCPv4 reservation client. There is no restriction on the length of this Unicode string.

ReservedClientDesc: This member is a pointer to a null-terminated Unicode string that represents the description of the DHCPv4 reservation client. There is no restriction on the length of this Unicode string.

bAllowedClientTypes: This member is of type BYTE and specifies the type of client holding this reservation, as indicated in the following table.

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 ([RFC2132]).

CLIENT_TYPE_BOTH

0x03

The IPv4 reservation is for both kinds of clients.

fOptionsPresent: This member is of type BYTE and specifies whether there are any DHCPv4 options configured on the reservation, as indicated in the following table.

Value

Meaning

0x00000000

No option values are configured on the reservation.

0x00000001

Option values are configured on the reservation.