PPP state machine. More...
#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>
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 |
PPP state machine.
* $Id: pppsm.c 3686 2011-12-04 14:20:38Z haraldkipp $ *
#define NUT_THREAD_PPPSMSTACK 512 |
Referenced by NutPppInitStateMachine().