Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

include/netinet/if_ppp.h File Reference


Detailed Description

PPP interface definitions.


Data Structures

struct  ppp_header
struct  xcphdr

Defines

#define MAX_NAK_LOOPS
#define MIN_LCPMRU
#define PPP_MRU
#define PPP_IP
#define PPP_AT
#define PPP_IPX
#define PPP_VJC_COMP
#define PPP_VJC_UNCOMP
#define PPP_IPV6
#define PPP_COMP
#define PPP_IPCP
#define PPP_ATCP
#define PPP_IPXCP
#define PPP_IPV6CP
#define PPP_CCP
#define PPP_LCP
#define PPP_PAP
#define PPP_LQR
#define PPP_CHAP
#define PPP_CBCP
#define LCP_MRU
 Maximum Receive Unit.

#define LCP_ASYNCMAP
 Async Control Character Map.

#define LCP_AUTHTYPE
 Authentication Type.

#define LCP_QUALITY
 Quality Protocol.

#define LCP_MAGICNUMBER
 Magic Number.

#define LCP_PCOMPRESSION
 Protocol Field Compression.

#define LCP_ACCOMPRESSION
 Address/Control Field Compression.

#define IPCP_ADDRS
#define IPCP_COMPRESSTYPE
#define IPCP_ADDR
#define IPCP_MS_DNS1
#define IPCP_MS_WINS1
#define IPCP_MS_DNS2
#define IPCP_MS_WINS2

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)


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/