mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 03:32:50 +00:00
PPP, moved ppp_init() from public API (ppp.h) to private API (ppp_impl.h)
ppp_init() is called by lwip_init(), users don't need to init PPP by themselves
This commit is contained in:
parent
91356d2d03
commit
b30faa577d
@ -60,7 +60,7 @@
|
||||
#include "lwip/nd6.h"
|
||||
#include "lwip/mld6.h"
|
||||
#include "lwip/api.h"
|
||||
#include "netif/ppp/ppp.h"
|
||||
#include "netif/ppp/ppp_impl.h"
|
||||
|
||||
/* Compile-time sanity checks for configuration errors.
|
||||
* These can be done independently of LWIP_DEBUG, without penalty.
|
||||
|
@ -464,11 +464,6 @@ struct ppp_pcb_s {
|
||||
*** PUBLIC FUNCTIONS ***
|
||||
************************/
|
||||
|
||||
/*
|
||||
* Initialize the PPP subsystem.
|
||||
*/
|
||||
int ppp_init(void);
|
||||
|
||||
/*
|
||||
* Create a new PPP session.
|
||||
*
|
||||
|
@ -365,6 +365,9 @@ struct pppd_stats {
|
||||
|
||||
/* PPP flow functions
|
||||
*/
|
||||
/* initialize the PPP subsystem */
|
||||
int ppp_init(void);
|
||||
|
||||
/* function called by pppoe.c */
|
||||
void ppp_input(ppp_pcb *pcb, struct pbuf *pb);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user