Nut/OS  4.10.3
API Reference
pppsm.c File Reference
#include <cfg/os.h>
#include <cfg/ppp.h>
#include <string.h>
#include <io.h>
#include <fcntl.h>
#include <dev/uart.h>
#include <sys/thread.h>
#include <sys/heap.h>
#include <sys/event.h>
#include <sys/timer.h>
#include <net/if_var.h>
#include <dev/ppp.h>
#include <netinet/if_ppp.h>
#include <netinet/ppp_fsm.h>
#include <net/netdebug.h>
Include dependency graph for pppsm.c:

Go to the source code of this file.

Defines

#define NUT_THREAD_PPPSMSTACK   512

Functions

void NutPppSm (void *arg)
 PPP state machine timeout thread.
int NutPppInitStateMachine (NUTDEVICE *dev)
 Initialize the PPP state machine.
void LcpOpen (NUTDEVICE *dev)
 Trigger LCP open event.
void LcpClose (NUTDEVICE *dev)
 Trigger LCP close event.
void LcpLowerUp (NUTDEVICE *dev)
 Trigger LCP lower up event.
void LcpLowerDown (NUTDEVICE *dev)
 Trigger LCP lower down event.
void IpcpOpen (NUTDEVICE *dev)
 Trigger IPCP open event.
void IpcpClose (NUTDEVICE *dev)
 Trigger IPCP close event.
void IpcpLowerUp (NUTDEVICE *dev)
void IpcpLowerDown (NUTDEVICE *dev)

Variables

uint32_t new_magic = 0x12345678

Define Documentation

#define NUT_THREAD_PPPSMSTACK   512

Definition at line 100 of file pppsm.c.

Referenced by NutPppInitStateMachine().