Jump to main content

##

# PPP_STATE Enumeration

## C

    typedef enum
    {
        PPP_STATE_INIT      = 0,
        PPP_STATE_STARTING,
        PPP_STATE_CLOSED,
        PPP_STATE_STOPPED,
        PPP_STATE_CLOSING,
        PPP_STATE_STOPPING,
        PPP_STATE_REQ_SENT,
        PPP_STATE_ACK_RCVD,
        PPP_STATE_ACK_SENT,
        PPP_STATE_OPENED,
    }PPP_STATE;

## Members

Members | Description
--- | ---
PPP_STATE_INIT | Initial state, the lower layer is unavailable (Down), and no Open has occurred
PPP_STATE_STARTING | An administrative Open has been initiated, but the lower layer is still unavailable (Down)
PPP_STATE_CLOSED | In the Closed state, the link is available (Up), but no Open has occurred.
PPP_STATE_STOPPED | Stopped state is entered when the automaton is waiting for a Down event after the This-Layer-Finished action, or after sending a Terminate-Ack.
PPP_STATE_CLOSING | In the Closing state, an attempt is made to terminate the connection
PPP_STATE_STOPPING | In the Stopping state A Terminate-Request has been sent and the Restart timer is running, but a Terminate-Ack has not yet been received.
PPP_STATE_REQ_SENT | In the Request-Sent state an attempt is made to configure the connection.
PPP_STATE_ACK_RCVD | In the Ack-Received state, a Configure-Request has been sent and a Configure-Ack has been received.
PPP_STATE_ACK_SENT | In the Ack-Sent state, a Configure-Request and a Configure-Ack have both been sent, but a Configure-Ack has not yet been received.
PPP_STATE_OPENED | In the Opened state, a Configure-Ack has been both sent and received.

## Description

PPP Transition States