Jump to main content

##

# TCPIP_DHCP_STATUS Enumeration

## C

    typedef enum {
    TCPIP_DHCP_IDLE = 0,
    TCPIP_DHCP_WAIT_LINK,
    TCPIP_DHCP_SEND_DISCOVERY,
    TCPIP_DHCP_GET_OFFER,
    TCPIP_DHCP_SEND_REQUEST,
    TCPIP_DHCP_GET_REQUEST_ACK,
    TCPIP_DHCP_WAIT_LEASE_CHECK,
    TCPIP_DHCP_WAIT_LEASE_RETRY,
    TCPIP_DHCP_BOUND,
    TCPIP_DHCP_SEND_RENEW,
    TCPIP_DHCP_GET_RENEW_ACK,
    TCPIP_DHCP_SEND_REBIND,
    TCPIP_DHCP_GET_REBIND_ACK
    } TCPIP_DHCP_STATUS;

## Description

Enumeration: TCPIP_DHCP_STATUS.

This enumeration lists the current status of the DHCP module. Used in getting information about the DHCP state machine.

## Members

Members | Description
--- | ---
TCPIP_DHCP_IDLE = 0 | Idle/inactive state.
TCPIP_DHCP_WAIT_LINK | Waiting for an active connection.
TCPIP_DHCP_SEND_DISCOVERY | Sending a Discover message.
TCPIP_DHCP_GET_OFFER | Waiting for a DHCP offer.
TCPIP_DHCP_SEND_REQUEST | Sending a REQUEST message (REQUESTING).
TCPIP_DHCP_GET_REQUEST_ACK | Waiting for a request ACK message.
TCPIP_DHCP_WAIT_LEASE_CHECK | Waiting for received lease verification.
TCPIP_DHCP_WAIT_LEASE_RETRY | Waiting for another attempt after the lease verification failed.
TCPIP_DHCP_BOUND | Bound.
TCPIP_DHCP_SEND_RENEW | Sending a REQUEST message (RENEW state).
TCPIP_DHCP_GET_RENEW_ACK | Waiting for ACK in RENEW state.
TCPIP_DHCP_SEND_REBIND | Sending REQUEST message (REBIND state).
TCPIP_DHCP_GET_REBIND_ACK | Waiting for ACK in REBIND state.