PPP_STATISTICS Structure

C

typedef struct
{
    uint32_t    lcpPkts;         
    uint32_t    ipcpPkts;        
    uint32_t    ipPkts;            
    uint32_t    tcpPkts;            
    uint32_t    pppQueued;       
    uint32_t    netQueued;        
    uint32_t    echoReqFree;        
    uint32_t    echoReqQueued;      
    uint32_t    echoDiscardPkts;    
    uint32_t    echoReqPkts;        
    uint32_t    echoReplyPkts;      
    uint32_t    discardPkts;        
    uint32_t    protoErr;           
    uint32_t    lengthErr;          
    uint32_t    mruErr;             
    uint32_t    codeErr;           
    uint32_t    formatErr;          
    uint32_t    rcaMatchErr;        
    uint32_t    rcrIdentErr;        
    uint32_t    rucErr;             
    uint32_t    rxrErr;            
    uint32_t    rxjErr;             
    uint32_t    rxjProtoErr;        
    uint32_t    rxjCodeErr;         
    uint32_t    crossedErr;         
    uint32_t    peerMagicErr;       
    uint32_t    loopbackErr;        
    uint32_t    lcpCodeErr;         
    uint32_t    optionErr;          
    uint32_t    hdlcWriteErr;       
    uint32_t    illegalEvents;      
    uint32_t    buffFail;           

}PPP_STATISTICS;

Members

MembersDescription
uint32_t lcpPkts;number of LCP packets received
uint32_t ipcpPkts;number of IPCP packets received
uint32_t ipPkts;number of IP packets received
uint32_t tcpPkts;number of TCP packets received
uint32_t pppQueued;number of queued LCP/IPCP packets for processing
uint32_t netQueued;number of queued IP/TCP packets for processing
uint32_t echoReqFree;number of available requests to be served
uint32_t echoReqQueued;number of queued echo request packets for processing
uint32_t echoDiscardPkts;number of discard request packets received
uint32_t echoReqPkts;number of ECHO request packets received
uint32_t echoReplyPkts;number of ECHO reply packets received
uint32_t discardPkts;number of silently discarded packets
uint32_t protoErr;number of frames with protocol error
uint32_t lengthErr;number of frames with length error
uint32_t mruErr;number of frames with length > MRU error
uint32_t codeErr;number of frames with unknwon code (RUC) error
uint32_t formatErr;number wrong formatted frames
uint32_t rcaMatchErr;number of ACK frames not matching the REQ ones
uint32_t rcrIdentErr;Configure response frames not matching the REQ identifier
uint32_t rucErr;number of received RUC frames
uint32_t rxrErr;number of wrong RXR received frames
uint32_t rxjErr;number of wrong RXJ received frames
uint32_t rxjProtoErr;number of RXJ frames rejecting LCP, IPCP
uint32_t rxjCodeErr;number of RXJ frames rejecting LCP, IPCP
uint32_t crossedErr;number of received crossed RCA frames
uint32_t peerMagicErr;number of received RXR frames with wrong peer magic number
uint32_t loopbackErr;number of loopbacked RXR frames (our magic number instead of peer's)
uint32_t lcpCodeErr;number of frames with the wrong LCP code
uint32_t optionErr;number of frames with unknown/unsupported option
uint32_t hdlcWriteErr;HDLC write errors
uint32_t illegalEvents;illegal events count; debug only; should not happen
uint32_t buffFail;internal buffer failures; debug only; should not happen

Description

This structure defines the statistic counters maintained by the PPP module

Remarks

None