DHCP_IP_RESERVATION_V4 structure

The DHCP_IP_RESERVATION_V4 structure defines a client IP reservation. This structure extends an IP reservation by including the type of client (DHCP or BOOTP) holding the reservation.

Syntax


typedef struct _DHCP_IP_RESERVATION_V4 {
  DHCP_IP_ADDRESS ReservedIpAddress;
  DHCP_CLIENT_UID *ReservedForClient;
  BYTE            bAllowedClientTypes;
} DHCP_IP_RESERVATION_V4, *LPDHCP_IP_RESERVATION_V4;

Members

ReservedIpAddress

DHCP_IP_ADDRESS value that contains the reserved IP address.

ReservedForClient

DHCP_CLIENT_UID structure that contains the hardware address (MAC address) of the DHCPv4 client that holds this reservation.

bAllowedClientTypes

Value that specifies the DHCPv4 reserved client type. The possible values are below:

ValueMeaning
CLIENT_TYPE_DHCP
1

The DHCPv4 client supports the DHCP protocol only.

CLIENT_TYPE_BOOTP
2

The DHCPv4 client supports the BOOTP protocol only.

CLIENT_TYPE_BOTH
3

The DHCPv4 client supports both the DHCPv4 and the BOOTP protocols.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Dhcpsapi.h

See also

DHCP_IP_ADDRESS
DHCP_IP_RESERVATION_INFO
DHCP_IP_RESERVATION_V6

 

 

Show: