Defines | |
#define | MAX_NAK_LOOPS 10 |
#define | MIN_LCPMRU 128 |
#define | PPP_MRU 1500 |
#define | PPP_IP 0x0021 |
#define | PPP_AT 0x0029 |
#define | PPP_IPX 0x002b |
#define | PPP_VJC_COMP 0x002d |
#define | PPP_VJC_UNCOMP 0x002f |
#define | PPP_IPV6 0x0057 |
#define | PPP_COMP 0x00fd |
#define | PPP_IPCP 0x8021 |
#define | PPP_ATCP 0x8029 |
#define | PPP_IPXCP 0x802b |
#define | PPP_IPV6CP 0x8057 |
#define | PPP_CCP 0x80fd |
#define | PPP_LCP 0xc021 |
#define | PPP_PAP 0xc023 |
#define | PPP_LQR 0xc025 |
#define | PPP_CHAP 0xc223 |
#define | PPP_CBCP 0xc029 |
#define | LCP_MRU 1 |
Maximum Receive Unit. | |
#define | LCP_ASYNCMAP 2 |
Async Control Character Map. | |
#define | LCP_AUTHTYPE 3 |
Authentication Type. | |
#define | LCP_QUALITY 4 |
Quality Protocol. | |
#define | LCP_MAGICNUMBER 5 |
Magic Number. | |
#define | LCP_PCOMPRESSION 7 |
Protocol Field Compression. | |
#define | LCP_ACCOMPRESSION 8 |
Address/Control Field Compression. | |
#define | IPCP_ADDRS 1 |
#define | IPCP_COMPRESSTYPE 2 |
#define | IPCP_ADDR 3 |
#define | IPCP_MS_DNS1 129 |
#define | IPCP_MS_WINS1 130 |
#define | IPCP_MS_DNS2 131 |
#define | IPCP_MS_WINS2 132 |
Typedefs | |
typedef ppp_header | PPPHDR |
PPP header type. | |
typedef xcphdr | XCPHDR |
Functions | |
void | NutLcpInput (NUTDEVICE *dev, NETBUF *nb) |
Handle incoming LCP packets. | |
int | NutLcpOutput (NUTDEVICE *dev, u_char code, u_char id, NETBUF *nb) |
Send a LCP packet. | |
void | LcpTxConfReq (NUTDEVICE *dev, u_char id, u_char rejected) |
void | LcpTxProtRej (NUTDEVICE *dev, u_short protocol, NETBUF *nb) |
void | NutPapInput (NUTDEVICE *dev, NETBUF *nb) |
Handle incoming PAP packets. | |
int | NutPapOutput (NUTDEVICE *dev, u_char code, u_char id, NETBUF *nb) |
Send a PAP packet. | |
void | PapTxAuthReq (NUTDEVICE *dev, u_char id) |
void | NutIpcpInput (NUTDEVICE *dev, NETBUF *nb) |
Handle incoming IPCP packets. | |
int | NutIpcpOutput (NUTDEVICE *dev, u_char code, u_char id, NETBUF *nb) |
Send a IPCP packet. | |
void | IpcpTxConfReq (NUTDEVICE *dev, u_char id) |