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

MembersDescription
PPP_ECHO_OKoperation successful or a reply has been successfully received
PPP_ECHO_TRUNCATEDwarning: data length too big, had to be truncated
PPP_ECHO_BAD_MAC_HANDLEinvalid MAC handle
PPP_ECHO_NOT_READYstate error, module is not ready (opened)
PPP_ECHO_ALLOC_ERRORcould not allocate memory
PPP_ECHO_TRANSMIT_ERRORcould not transmit (dead interface, etc.)
PPP_ECHO_PARAMETER_ERRORnull pointer, etc.
PPP_ECHO_BUSYmodule currently busy
PPP_ECHO_BAD_REQ_HANDLEinvalid request handle, no such request exist
PPP_ECHO_TMOno reply received; the current request timed out and will be deleted

Description

Result of an PPP Echo Request call