File nut/net/pppsm.c


Included Files


Preprocessor definitions

#define NUT_THREAD_PPPSMSTACK 512

Global Variable new_magic

u_long new_magic
Visible in:   nut/net/lcpin.c
    nut/net/lcpout.c
    nut/net/pppsm.c
Used in: LcpResetOptions() nut/net/lcpout.c
  LcpRxConfReq() nut/net/lcpin.c
  NutPppSm() nut/net/pppsm.c

Local Variables

pppThread
static HANDLE pppThread
Used in: NutPppInitStateMachine()  

Global Function IpcpClose()

void IpcpClose ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: NutEventPost() nut/os/event.c
  NutIpcpOutput() nut/net/ipcpout.c
Called by: NutPppClose() nut/dev/ppp.c

Global Function IpcpLowerDown()

void IpcpLowerDown ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: NutEventPost() nut/os/event.c
  _ioctl() nut/crt/ioctl.c
Called by: IpcpRxConfAck() nut/net/ipcpin.c
  IpcpRxConfNakRej() nut/net/ipcpin.c
  IpcpRxConfReq() nut/net/ipcpin.c
  IpcpRxProtRej() nut/net/ipcpin.c
  IpcpRxTermAck() nut/net/ipcpin.c
  IpcpRxTermReq() nut/net/ipcpin.c
  LcpClose() nut/net/pppsm.c
  LcpLowerDown() nut/net/pppsm.c
  LcpRxConfAck() nut/net/lcpin.c
  LcpRxConfNakRej() nut/net/lcpin.c
  LcpRxConfReq() nut/net/lcpin.c
  LcpRxProtRej() nut/net/lcpin.c
  LcpRxTermAck() nut/net/lcpin.c
  LcpRxTermReq() nut/net/lcpin.c
  PapRxAuthNak() nut/net/papin.c

Global Function IpcpLowerUp()

void IpcpLowerUp ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: IpcpTxConfReq() nut/net/ipcpout.c
Called by: LcpRxConfAck() nut/net/lcpin.c
  LcpRxConfReq() nut/net/lcpin.c
  PapRxAuthAck() nut/net/papin.c

Global Function IpcpOpen()

void IpcpOpen ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: IpcpTxConfReq() nut/net/ipcpout.c
  LcpOpen() nut/net/pppsm.c
Called by: NutPppOpen() nut/dev/ppp.c

Global Function LcpClose()

void LcpClose ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: IpcpLowerDown() nut/net/pppsm.c
  NutLcpOutput() nut/net/lcpout.c
Called by: NutPppIOCtl() nut/dev/ppp.c

Global Function LcpLowerDown()

void LcpLowerDown ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: IpcpLowerDown() nut/net/pppsm.c
Called by: NutPppIOCtl() nut/dev/ppp.c

Global Function LcpLowerUp()

void LcpLowerUp ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: LcpTxConfReq() nut/net/lcpout.c
Called by: NutPppIOCtl() nut/dev/ppp.c

Global Function LcpOpen()

void LcpOpen ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: LcpTxConfReq() nut/net/lcpout.c
Called by: IpcpOpen() nut/net/pppsm.c
  NutPppIOCtl() nut/dev/ppp.c

Global Function NutPppInitStateMachine()

int NutPppInitStateMachine ( NUTDEVICE* dev )
Prototyped in: nut/include/netinet/ppp_fsm.h
Calls: NutThreadCreate() nut/arch/avr/os/context_gcc.c
Called by: NutPppInit() nut/dev/ppp.c
References Functions: NutPppSm() nut/net/pppsm.c
References Variables: pppThread nut/net/pppsm.c

Global Function NutPppSm()

void NutPppSm ( void* arg )
Prototyped in: nut/net/pppsm.c
Calls: IpcpTxConfReq() nut/net/ipcpout.c
  LcpTxConfReq() nut/net/lcpout.c
  NutIpcpOutput() nut/net/ipcpout.c
  NutLcpOutput() nut/net/lcpout.c
  NutSleep() nut/os/timer.c
  PapTxAuthReq() nut/net/papout.c
Used in: NutPppInitStateMachine() nut/net/pppsm.c
References Variables: new_magic nut/net/pppsm.c