Jump to main content

##

# PPP_ECHO_RESULT Enumeration

## C

    typedef enum
    {
        PPP_ECHO_OK                = 0,
        PPP_ECHO_TRUNCATED,
        PPP_ECHO_BAD_MAC_HANDLE    = -1,
        PPP_ECHO_NOT_READY         = -2,
        PPP_ECHO_ALLOC_ERROR       = -3,
        PPP_ECHO_TRANSMIT_ERROR    = -4,
        PPP_ECHO_PARAMETER_ERROR   = -5,
        PPP_ECHO_BUSY              = -6,
        PPP_ECHO_BAD_REQ_HANDLE    = -7,
        PPP_ECHO_TMO               = -8,
    }PPP_ECHO_RESULT;

## Members

Members | Description
--- | ---
PPP_ECHO_OK | operation successful or a reply has been successfully received
PPP_ECHO_TRUNCATED | warning: data length too big, had to be truncated
PPP_ECHO_BAD_MAC_HANDLE | invalid MAC handle
PPP_ECHO_NOT_READY | state error, module is not ready (opened)
PPP_ECHO_ALLOC_ERROR | could not allocate memory
PPP_ECHO_TRANSMIT_ERROR | could not transmit (dead interface, etc.)
PPP_ECHO_PARAMETER_ERROR | null pointer, etc.
PPP_ECHO_BUSY | module currently busy
PPP_ECHO_BAD_REQ_HANDLE | invalid request handle, no such request exist
PPP_ECHO_TMO | no reply received; the current request timed out and will be deleted

## Description

Result of an PPP Echo Request call