Jump to main content

##

# TCPIP_DHCPS_STATISTICS_DATA Structure

## C

    typedef struct  __attribute__((packed))
    {
        uint16_t        releasedDelCount;
        uint16_t        expiredDelCount;
        uint16_t        cacheFullCount;
        uint16_t        poolEmptyCount;
        uint16_t        declinedCount;
        uint16_t        arpFailCount;
        uint16_t        echoFailCount;
        uint16_t        icmpFailCount;
        uint16_t        msgOvflCount;
        uint16_t        icmpProbeCount;
        uint16_t        arpInjectCount;
        uint16_t        sktNotReadyCount;
    }TCPIP_DHCPS_STATISTICS_DATA;

## Description

Structure: TCPIP_DHCPS_STATISTICS_DATA

DHCP Server module statistics data.

DHCP server statistics maintained at run time

## Remarks

The symbol TCPIP_DHCPS_ENABLE_STATISTICS needs to be defined and != 0

## Members

Members | Description
--- | ---
releasedDelCount | number of released DB entries that have been deleted to make room for other clients
expiredDelCount | number of expired DB entries that have been deleted to make room for other clients
cacheFullCount | number of times the allocation of a new hash entry in the DB failed
poolEmptyCount | number of times the allocation of a new IP address from the pool failed
declinedCount | number of times an IP address has been declined by a client
arpFailCount | number of times an ARP set operation failed
echoFailCount | number of times an ping operation failed
icmpFailCount | number of times ICMP rejected a ping operation
msgOvflCount | number of times a DHCP packet > then the reserved buffer for it was received
icmpProbeCount | number of ICMP probes successfully sent
arpInjectCount | number of ARP injections to send replies directly to clients
sktNotReadyCount | number of failed send messagges because of no socket TX buffer