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

netinet/if_ppp.h File Reference

PPP interface definitions. More...


Data Structures

struct  ppp_header
struct  xcphdr

Defines

#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.


Typedefs

typedef ppp_header PPPHDR
 PPP header type.


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 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 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.


Detailed Description

PPP interface definitions.


Typedef Documentation

PPPHDR
 

PPP header type.


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