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

MembersDescription
PPP_STATE_INITInitial state, the lower layer is unavailable (Down), and no Open has occurred
PPP_STATE_STARTINGAn administrative Open has been initiated, but the lower layer is still unavailable (Down)
PPP_STATE_CLOSEDIn the Closed state, the link is available (Up), but no Open has occurred.
PPP_STATE_STOPPEDStopped 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_CLOSINGIn the Closing state, an attempt is made to terminate the connection
PPP_STATE_STOPPINGIn 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_SENTIn the Request-Sent state an attempt is made to configure the connection.
PPP_STATE_ACK_RCVDIn the Ack-Received state, a Configure-Request has been sent and a Configure-Ack has been received.
PPP_STATE_ACK_SENTIn 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_OPENEDIn the Opened state, a Configure-Ack has been both sent and received.

Description

PPP Transition States