File nut/include/dev/ppp.h


Included Files


Preprocessor definitions

#define _DEV_PPP_H_

#define REJ_IPCP_DNS1 0x00000100

#define REJ_IPCP_DNS2 0x00000200

#define PPP_PFC 0x01

#define PPP_ACFC 0x02

#define LCP_DEFOPT_ASYNCMAP 0x000A0000UL

#define LCP_OPEN 1

#define LCP_CLOSE 2

#define LCP_LOWERUP 3

#define LCP_LOWERDOWN 4


Typedef PPPDCB

typedef struct _PPPDCB PPPDCB
See: Type struct _PPPDCB

Type struct _PPPDCB

struct _PPPDCB
struct _PPPDCB  
   {  
      HANDLE dcb_state_chg;  
      u_char dcb_lcp_state;  
      u_char dcb_reqid;  
      u_char dcb_rejid;  
      u_char dcb_acked;  
      u_short dcb_loc_mru;  
      u_short dcb_rem_mru;  
      u_long dcb_accm;  
      u_char dcb_compr;  
      u_short dcb_auth;  
      u_long dcb_neg_magic;  
      u_long dcb_loc_magic;  
      u_long dcb_rem_magic;  
      u_char* dcb_user;  
      u_char* dcb_pass;  
      u_long dcb_local_ip;  
      u_long dcb_remote_ip;  
      u_long dcb_ip_mask;  
      u_long dcb_ip_dns1;  
      u_long dcb_ip_dns2;  
      u_long dcb_rejects;  
      u_char dcb_retries;  
      u_char dcb_lcp_naks;  
      u_char dcb_lcp_reqid;  
      u_char dcb_ipcp_state;  
      u_char dcb_ipcp_naks;  
      u_char dcb_auth_state;  
      int dcb_fd;  
   }  

External Variables

devPpp
extern NUTDEVICE devPpp
Defined in: nut/dev/ppp.c