Jump to main content

##

# PPP_EVENT Enumeration

## C

    typedef enum
    {
        PPP_EVENT_NONE      = 0,
        PPP_EVENT_UP,
        PPP_EVENT_DOWN,
        PPP_EVENT_OPEN,
        PPP_EVENT_CLOSE,
        PPP_EVENT_TMO_P,
        PPP_EVENT_TMO_N,
        PPP_EVENT_RCR_P,
        PPP_EVENT_RCR_N_NAK,
        PPP_EVENT_RCR_N_REJ,
        PPP_EVENT_RCA,
        PPP_EVENT_RCN,
        PPP_EVENT_RTR,
        PPP_EVENT_RTA,
        PPP_EVENT_RUC,
        PPP_EVENT_RXJ_P,
        PPP_EVENT_RXJ_N,
        PPP_EVENT_RXR,
        PPP_EVENT_RUP,
        PPP_EVENT_IP,
    }PPP_EVENT;

## Members

Members | Description
--- | ---
PPP_EVENT_NONE | no event/invalid
PPP_EVENT_UP | lower layer is Up
PPP_EVENT_DOWN | lower layer is down
PPP_EVENT_OPEN | administrative Open
PPP_EVENT_CLOSE | administrative Close
PPP_EVENT_TMO_P | Timeout with counter > 0
PPP_EVENT_TMO_N | Timeout with counter expired
PPP_EVENT_RCR_P | Receive-Configure-Request (Good)
PPP_EVENT_RCR_N_NAK | Receive-Configure-Request (Bad) that needs to be NAK-ed
PPP_EVENT_RCR_N_REJ | Receive-Configure-Request (Bad) that needs to be rejected
PPP_EVENT_RCA | Receive-Configure-Ack
PPP_EVENT_RCN | Receive-Configure-Nak/Rej
PPP_EVENT_RTR | Receive-Terminate-Request
PPP_EVENT_RTA | Receive-Terminate-Ack
PPP_EVENT_RUC | Receive-Unknown-Code
PPP_EVENT_RXJ_P | Receive-Code-Reject (permitted) or Receive-Protocol-Reject
PPP_EVENT_RXJ_N | Receive-Code-Reject (catastrophic) or Receive-Protocol-Reject
PPP_EVENT_RXR | Receive-Echo-Request or Receive-Echo-Reply or Receive-Discard-Request
PPP_EVENT_RUP | Receive-Unknown-Protocol
PPP_EVENT_IP | Receive IP Protocol frame

## Description

PPP event occurring during the driver operation