mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
PPP, moved PPP_INPROC_MULTITHREADED compile time option from ppp.h to opt.h
This commit is contained in:
parent
2350d941a5
commit
cf3162cff1
@ -1700,6 +1700,15 @@
|
|||||||
|
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PPP_INPROC_MULTITHREADED==1 call ppp_input() using tcpip_callback().
|
||||||
|
* Set this to 0 if pppos_input() is called inside tcpip_thread or with NO_SYS==1.
|
||||||
|
* Default is 1 for NO_SYS==0 (multithreaded) and 0 for NO_SYS==1 (single-threaded).
|
||||||
|
*/
|
||||||
|
#ifndef PPP_INPROC_MULTITHREADED
|
||||||
|
#define PPP_INPROC_MULTITHREADED (NO_SYS==0)
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LWIP_PPP_API==1: Support PPP API (in pppapi.c)
|
* LWIP_PPP_API==1: Support PPP API (in pppapi.c)
|
||||||
*/
|
*/
|
||||||
|
@ -50,14 +50,6 @@
|
|||||||
|
|
||||||
#include "vj.h"
|
#include "vj.h"
|
||||||
|
|
||||||
/** PPP_INPROC_MULTITHREADED==1 call pppos_input using tcpip_callback().
|
|
||||||
* Set this to 0 if pppos_input is called inside tcpip_thread or with NO_SYS==1.
|
|
||||||
* Default is 1 for NO_SYS==0 (multithreaded) and 0 for NO_SYS==1 (single-threaded).
|
|
||||||
*/
|
|
||||||
#ifndef PPP_INPROC_MULTITHREADED
|
|
||||||
#define PPP_INPROC_MULTITHREADED (NO_SYS==0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*************************
|
/*************************
|
||||||
*** PUBLIC DEFINITIONS ***
|
*** PUBLIC DEFINITIONS ***
|
||||||
|
Loading…
x
Reference in New Issue
Block a user