2.2.1.2.47 SCOPE_MIB_INFO

The SCOPE_MIB_INFO structure defines a structure that contains the address counters for a specific IPv4 subnet. The numbers of free, used, and offered IPv4 addresses are stored in this structure. This structure is used in the DHCP_MIB_INFO (section 2.2.1.2.48) structure.

 typedef struct _SCOPE_MIB_INFO {
   DHCP_IP_ADDRESS Subnet;
   DWORD NumAddressesInuse;
   DWORD NumAddressesFree;
   DWORD NumPendingOffers;
 } SCOPE_MIB_INFO,
  *LPSCOPE_MIB_INFO;

Subnet: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), a DWORD specifying the IPv4 subnet ID for the scope.

NumAddressesInuse: This is of type DWORD, containing the number of IPv4 addresses leased out to DHCPv4 clients for a given IPv4 subnet.

NumAddressesFree: This is of type DWORD, containing the number of IPv4 addresses that are free and can be leased out to DHCPv4 clients in a specific IPv4 subnet.

NumPendingOffers: This is of type DWORD, containing the number of IPv4 addresses that have been offered to DHCPv4 clients in a specific IPv4 subnet but that the DHCP client has not yet confirmed.