ReactOS  0.4.15-dev-1207-g698a8e6
lcp.h File Reference

Go to the source code of this file.

Classes

struct  lcp_options
 

Macros

#define CI_MRU   1 /* Maximum Receive Unit */
 
#define CI_ASYNCMAP   2 /* Async Control Character Map */
 
#define CI_AUTHTYPE   3 /* Authentication Type */
 
#define CI_QUALITY   4 /* Quality Protocol */
 
#define CI_MAGICNUMBER   5 /* Magic Number */
 
#define CI_PCOMPRESSION   7 /* Protocol Field Compression */
 
#define CI_ACCOMPRESSION   8 /* Address/Control Field Compression */
 
#define CI_CALLBACK   13 /* callback */
 
#define CI_MRRU   17 /* max reconstructed receive unit; multilink */
 
#define CI_SSNHF   18 /* short sequence numbers for multilink */
 
#define CI_EPDISC   19 /* endpoint discriminator */
 
#define PROTREJ   8 /* Protocol Reject */
 
#define ECHOREQ   9 /* Echo Request */
 
#define ECHOREP   10 /* Echo Reply */
 
#define DISCREQ   11 /* Discard Request */
 
#define CBCP_OPT   6 /* Use callback control protocol */
 
#define DEFLOOPBACKFAIL   10
 

Typedefs

typedef struct lcp_options lcp_options
 

Enumerations

enum  LinkPhase {
  PHASE_DEAD = 0, PHASE_INITIALIZE, PHASE_ESTABLISH, PHASE_AUTHENTICATE,
  PHASE_CALLBACK, PHASE_NETWORK, PHASE_TERMINATE
}
 

Functions

void lcp_init (int)
 
void lcp_open (int)
 
void lcp_close (int, char *)
 
void lcp_lowerup (int)
 
void lcp_lowerdown (int)
 
void lcp_sprotrej (int, u_char *, int)
 

Variables

LinkPhase lcp_phase [NUM_PPP]
 
lcp_options lcp_wantoptions []
 
lcp_options lcp_gotoptions []
 
lcp_options lcp_allowoptions []
 
lcp_options lcp_hisoptions []
 
ext_accm xmit_accm []
 
struct protent lcp_protent
 

Macro Definition Documentation

◆ CBCP_OPT

#define CBCP_OPT   6 /* Use callback control protocol */

Definition at line 78 of file lcp.h.

◆ CI_ACCOMPRESSION

#define CI_ACCOMPRESSION   8 /* Address/Control Field Compression */

Definition at line 65 of file lcp.h.

◆ CI_ASYNCMAP

#define CI_ASYNCMAP   2 /* Async Control Character Map */

Definition at line 60 of file lcp.h.

◆ CI_AUTHTYPE

#define CI_AUTHTYPE   3 /* Authentication Type */

Definition at line 61 of file lcp.h.

◆ CI_CALLBACK

#define CI_CALLBACK   13 /* callback */

Definition at line 66 of file lcp.h.

◆ CI_EPDISC

#define CI_EPDISC   19 /* endpoint discriminator */

Definition at line 69 of file lcp.h.

◆ CI_MAGICNUMBER

#define CI_MAGICNUMBER   5 /* Magic Number */

Definition at line 63 of file lcp.h.

◆ CI_MRRU

#define CI_MRRU   17 /* max reconstructed receive unit; multilink */

Definition at line 67 of file lcp.h.

◆ CI_MRU

#define CI_MRU   1 /* Maximum Receive Unit */

Definition at line 59 of file lcp.h.

◆ CI_PCOMPRESSION

#define CI_PCOMPRESSION   7 /* Protocol Field Compression */

Definition at line 64 of file lcp.h.

◆ CI_QUALITY

#define CI_QUALITY   4 /* Quality Protocol */

Definition at line 62 of file lcp.h.

◆ CI_SSNHF

#define CI_SSNHF   18 /* short sequence numbers for multilink */

Definition at line 68 of file lcp.h.

◆ DEFLOOPBACKFAIL

#define DEFLOOPBACKFAIL   10

Definition at line 149 of file lcp.h.

◆ DISCREQ

#define DISCREQ   11 /* Discard Request */

Definition at line 77 of file lcp.h.

◆ ECHOREP

#define ECHOREP   10 /* Echo Reply */

Definition at line 76 of file lcp.h.

◆ ECHOREQ

#define ECHOREQ   9 /* Echo Request */

Definition at line 75 of file lcp.h.

◆ PROTREJ

#define PROTREJ   8 /* Protocol Reject */

Definition at line 74 of file lcp.h.

Typedef Documentation

◆ lcp_options

Enumeration Type Documentation

◆ LinkPhase

Enumerator
PHASE_DEAD 
PHASE_INITIALIZE 
PHASE_ESTABLISH 
PHASE_AUTHENTICATE 
PHASE_CALLBACK 
PHASE_NETWORK 
PHASE_TERMINATE 

Definition at line 118 of file lcp.h.

Function Documentation

◆ lcp_close()

void lcp_close ( int  ,
char  
)

◆ lcp_init()

void lcp_init ( int  )

◆ lcp_lowerdown()

void lcp_lowerdown ( int  )

◆ lcp_lowerup()

void lcp_lowerup ( int  )

◆ lcp_open()

void lcp_open ( int  )

◆ lcp_sprotrej()

void lcp_sprotrej ( int  ,
u_char ,
int   
)

Variable Documentation

◆ lcp_allowoptions

lcp_options lcp_allowoptions[]

◆ lcp_gotoptions

lcp_options lcp_gotoptions[]

◆ lcp_hisoptions

lcp_options lcp_hisoptions[]

◆ lcp_phase

LinkPhase lcp_phase[NUM_PPP]

◆ lcp_protent

struct protent lcp_protent

◆ lcp_wantoptions

lcp_options lcp_wantoptions[]

◆ xmit_accm

ext_accm xmit_accm[]