Watt-32 tcp/ip  2.2 dev-rel.10
Data Structures | Typedefs | Enumerations | Functions
ppp.h File Reference

Go to the source code of this file.

Data Structures

struct  xcp_type
 
struct  option_state
 
struct  ppp_xcp
 
struct  ppp_state
 

Typedefs

typedef void(* xcp_func )(struct ppp_state *state, struct ppp_xcp *xcp, const struct xcp_type *tp, const BYTE *buf, int len)
 
typedef void(* ppp_func )(struct ppp_state *state, struct ppp_xcp *xcp)
 

Enumerations

enum  ppp_phase {
  phDead,
  phEstablish,
  phAuthenticate,
  phNetwork,
  phTerminate
}
 
enum  ppp_event {
  evUp,
  evDown,
  evOpen,
  evClose,
  evTOp,
  evTOm,
  evRCRp,
  evRCRm,
  evRCA,
  evRCN,
  evRTR,
  evRTA,
  evRUC,
  evRXJp,
  evRXJm,
  evRXR
}
 
enum  xcp_state {
  stInitial,
  stStarting,
  stClosed,
  stStopped,
  stClosing,
  stStopping,
  stReqSent,
  stAckRcvd,
  stAckSent,
  stOpened,
  stNoChange
}
 
enum  xcp_action {
  acNull,
  acIrc,
  acScr,
  acTls,
  acTlf,
  acStr,
  acSta,
  acSca,
  acScn,
  acScj,
  acTld,
  acTlu,
  acZrc,
  acSer
}
 
enum  os_state {
  osUsable,
  osUnusable
}
 
enum  parse_state {
  psOK,
  psNak,
  psRej,
  psBad
}
 

Functions

void ppp_start (int debug)
 
void ppp_input (const BYTE *inbuf, WORD len)
 The PPP input handler.