mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-12 04:13:55 +00:00
More PPP cleanups
This commit is contained in:
parent
73d8f14ebd
commit
bb908366a5
@ -64,6 +64,7 @@
|
|||||||
#include "lwip/priv/tcpip_priv.h"
|
#include "lwip/priv/tcpip_priv.h"
|
||||||
#include "lwip/netifapi.h"
|
#include "lwip/netifapi.h"
|
||||||
|
|
||||||
|
/* needed by MEMP_NUM_SYS_TIMEOUT */
|
||||||
#include "netif/ppp/ppp_opts.h"
|
#include "netif/ppp/ppp_opts.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -366,38 +366,6 @@
|
|||||||
#define MEMP_NUM_LOCALHOSTLIST 1
|
#define MEMP_NUM_LOCALHOSTLIST 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* MEMP_NUM_PPP_PCB: the number of simultaneously active PPP
|
|
||||||
* connections (requires the PPP_SUPPORT option)
|
|
||||||
*/
|
|
||||||
#ifndef MEMP_NUM_PPP_PCB
|
|
||||||
#define MEMP_NUM_PPP_PCB 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MEMP_NUM_PPPOS_INTERFACES: the number of concurrently active PPPoS
|
|
||||||
* interfaces (only used with PPPOS_SUPPORT==1)
|
|
||||||
*/
|
|
||||||
#ifndef MEMP_NUM_PPPOS_INTERFACES
|
|
||||||
#define MEMP_NUM_PPPOS_INTERFACES MEMP_NUM_PPP_PCB
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MEMP_NUM_PPPOE_INTERFACES: the number of concurrently active PPPoE
|
|
||||||
* interfaces (only used with PPPOE_SUPPORT==1)
|
|
||||||
*/
|
|
||||||
#ifndef MEMP_NUM_PPPOE_INTERFACES
|
|
||||||
#define MEMP_NUM_PPPOE_INTERFACES 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MEMP_NUM_PPPOL2TP_INTERFACES: the number of concurrently active PPPoL2TP
|
|
||||||
* interfaces (only used with PPPOL2TP_SUPPORT==1)
|
|
||||||
*/
|
|
||||||
#ifndef MEMP_NUM_PPPOL2TP_INTERFACES
|
|
||||||
#define MEMP_NUM_PPPOL2TP_INTERFACES 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PBUF_POOL_SIZE: the number of buffers in the pbuf pool.
|
* PBUF_POOL_SIZE: the number of buffers in the pbuf pool.
|
||||||
*/
|
*/
|
||||||
@ -2456,13 +2424,6 @@
|
|||||||
#define TCPIP_DEBUG LWIP_DBG_OFF
|
#define TCPIP_DEBUG LWIP_DBG_OFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* PPP_DEBUG: Enable debugging for PPP.
|
|
||||||
*/
|
|
||||||
#ifndef PPP_DEBUG
|
|
||||||
#define PPP_DEBUG LWIP_DBG_OFF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SLIP_DEBUG: Enable debugging in slipif.c.
|
* SLIP_DEBUG: Enable debugging in slipif.c.
|
||||||
*/
|
*/
|
||||||
|
@ -74,6 +74,45 @@
|
|||||||
|
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MEMP_NUM_PPP_PCB: the number of simultaneously active PPP
|
||||||
|
* connections (requires the PPP_SUPPORT option)
|
||||||
|
*/
|
||||||
|
#ifndef MEMP_NUM_PPP_PCB
|
||||||
|
#define MEMP_NUM_PPP_PCB 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MEMP_NUM_PPPOS_INTERFACES: the number of concurrently active PPPoS
|
||||||
|
* interfaces (only used with PPPOS_SUPPORT==1)
|
||||||
|
*/
|
||||||
|
#ifndef MEMP_NUM_PPPOS_INTERFACES
|
||||||
|
#define MEMP_NUM_PPPOS_INTERFACES MEMP_NUM_PPP_PCB
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MEMP_NUM_PPPOE_INTERFACES: the number of concurrently active PPPoE
|
||||||
|
* interfaces (only used with PPPOE_SUPPORT==1)
|
||||||
|
*/
|
||||||
|
#ifndef MEMP_NUM_PPPOE_INTERFACES
|
||||||
|
#define MEMP_NUM_PPPOE_INTERFACES 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MEMP_NUM_PPPOL2TP_INTERFACES: the number of concurrently active PPPoL2TP
|
||||||
|
* interfaces (only used with PPPOL2TP_SUPPORT==1)
|
||||||
|
*/
|
||||||
|
#ifndef MEMP_NUM_PPPOL2TP_INTERFACES
|
||||||
|
#define MEMP_NUM_PPPOL2TP_INTERFACES 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PPP_DEBUG: Enable debugging for PPP.
|
||||||
|
*/
|
||||||
|
#ifndef PPP_DEBUG
|
||||||
|
#define PPP_DEBUG LWIP_DBG_OFF
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PPP_INPROC_IRQ_SAFE==1 call pppos_input() using tcpip_callback().
|
* PPP_INPROC_IRQ_SAFE==1 call pppos_input() using tcpip_callback().
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user