2.2.1.2.48 DHCP_MIB_INFO

The DHCP_MIB_INFO structure contains counter values for the DHCPv4 server. This structure is used by RPC methods like R_DhcpGetMibInfo (section 3.1.4.23) to find the DHCPv4 server statistics.

 typedef struct _DHCP_MIB_INFO {
   DWORD Discovers;
   DWORD Offers;
   DWORD Requests;
   DWORD Acks;
   DWORD Naks;
   DWORD Declines;
   DWORD Releases;
   DATE_TIME ServerStartTime;
   DWORD Scopes;
   [size_is(Scopes)] LPSCOPE_MIB_INFO ScopeInfo;
 } DHCP_MIB_INFO,
  *LPDHCP_MIB_INFO;

Discovers: This is of type DWORD; it contains the number of DHCPDISCOVER messages [RFC2131] received by the DHCPv4 server from the DHCPv4 clients since the DHCPv4 server was last started. This is used for statistical analysis by the DHCPv4 server.

Offers: This is of type DWORD, containing the number of DHCPOFFER messages sent by the DHCPv4 server to the DHCPv4 client that the DHCPv4 client has not confirmed since the DHCP server was last started. This is used for statistical analysis by the DHCPv4 server.

Requests: This is of type DWORD, containing the number of DHCPREQUEST messages received by the DHCPv4 server from the DHCPv4 clients since the DHCP server was last started. This is used for statistical analysis by the DHCPv4 server.

Acks: This is of type DWORD, containing the number of DHCPACK messages sent by the DHCPv4 server to DHCPv4 clients since the DHCPv4 server was last started. This is used for statistical analysis by the DHCPv4 server.

Naks: This is of type DWORD, containing the number of DHCPNAK messages sent by the DHCPv4 server to DHCPv4 clients since the DHCP server was last started. This is used for statistical analysis by the DHCPv4 server.

Declines: This is of type DWORD, containing the number of DHCPDECLINE messages received by the DHCPv4 server from the DHCPv4 client since the DHCP server was last started. This is used for statistical analysis by the DHCPv4 server.

Releases: This is of type DWORD, containing the number of DHCPRELEASE messages received by the DHCPv4 server from the DHCPv4 client since the DHCP server was last started. This is used for statistical analysis by the DHCPv4 server.

ServerStartTime: This is of type DATE_TIME (section 2.2.1.2.11), containing the start time of the DHCPv4 server.

Scopes: This is of type DWORD, containing the number of IPv4 scopes configured on the current DHCPv4 server. This is used for statistical analysis by the DHCPv4 server. This field defines the number of DHCPv4 scopes in the subsequent field, ScopeInfo.

ScopeInfo: This is a pointer to an array of SCOPE_MIB_INFO (section 2.2.1.2.47) structures of length Scopes that contains the information about the IPv4 scopes configured on the DHCPv4 server.