From 9f69bf82df6263aefa0be099e32c1d74483c201e Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Wed, 11 May 2016 10:48:01 +0200 Subject: [PATCH] PPP, documentation, updated to recent changes Fixed PPPAPI include path. Improved note about SIO's farewell. --- doc/ppp.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/ppp.txt b/doc/ppp.txt index e789fcfd..d9a927e1 100644 --- a/doc/ppp.txt +++ b/doc/ppp.txt @@ -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 -enable LWIP_PPP_API in your lwipopts.h file, then see include/lwip/pppapi.h, -this is actually pretty obvious. +enable LWIP_PPP_API in your lwipopts.h file, then see +include/netif/ppp/pppapi.h, this is actually pretty obvious. @@ -392,7 +392,7 @@ from previous lwIP version is pretty easy: callback function * 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/pppoe.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 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