mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 12:13:47 +00:00
PPP, documentation, updated to recent changes
Fixed PPPAPI include path. Improved note about SIO's farewell.
This commit is contained in:
parent
c6949d88d9
commit
9f69bf82df
@ -360,8 +360,8 @@ void pppos_input_tcpip(ppp, buffer, buffer_len);
|
|||||||
==============================
|
==============================
|
||||||
|
|
||||||
There is a thread safe API for all corresponding ppp_* functions, you have to
|
There is a thread safe API for all corresponding ppp_* functions, you have to
|
||||||
enable LWIP_PPP_API in your lwipopts.h file, then see include/lwip/pppapi.h,
|
enable LWIP_PPP_API in your lwipopts.h file, then see
|
||||||
this is actually pretty obvious.
|
include/netif/ppp/pppapi.h, this is actually pretty obvious.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -392,7 +392,7 @@ from previous lwIP version is pretty easy:
|
|||||||
callback function
|
callback function
|
||||||
|
|
||||||
* Only the following include files should now be used in user application:
|
* Only the following include files should now be used in user application:
|
||||||
#include "lwip/pppapi.h"
|
#include "netif/ppp/pppapi.h"
|
||||||
#include "netif/ppp/pppos.h"
|
#include "netif/ppp/pppos.h"
|
||||||
#include "netif/ppp/pppoe.h"
|
#include "netif/ppp/pppoe.h"
|
||||||
#include "netif/ppp/pppol2tp.h"
|
#include "netif/ppp/pppol2tp.h"
|
||||||
@ -418,6 +418,7 @@ from previous lwIP version is pretty easy:
|
|||||||
almost all cases. If you need it conditional contact us and we will made it
|
almost all cases. If you need it conditional contact us and we will made it
|
||||||
conditional.
|
conditional.
|
||||||
|
|
||||||
* PPPoS now requires a serial output callback
|
* PPPoS does not use the SIO API anymore, as such it now requires a serial
|
||||||
|
output callback in place of sio_write
|
||||||
|
|
||||||
* PPP_MAXIDLEFLAG is now in ms instead of jiffies
|
* PPP_MAXIDLEFLAG is now in ms instead of jiffies
|
||||||
|
Loading…
Reference in New Issue
Block a user