mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-01 13:20:45 +00:00
PPP, PPPoX, added warnings about functions in headers which should not be called from lwIP user application
This commit is contained in:
parent
f511bec26c
commit
02cf50063e
@ -167,6 +167,10 @@ ppp_pcb *pppoe_create(struct netif *pppif,
|
|||||||
const char *service_name, const char *concentrator_name,
|
const char *service_name, const char *concentrator_name,
|
||||||
ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
|
ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Functions called from lwIP
|
||||||
|
* DO NOT CALL FROM lwIP USER APPLICATION.
|
||||||
|
*/
|
||||||
void pppoe_disc_input(struct netif *netif, struct pbuf *p);
|
void pppoe_disc_input(struct netif *netif, struct pbuf *p);
|
||||||
void pppoe_data_input(struct netif *netif, struct pbuf *p);
|
void pppoe_data_input(struct netif *netif, struct pbuf *p);
|
||||||
|
|
||||||
|
@ -97,6 +97,11 @@ ppp_pcb *pppos_create(struct netif *pppif, sio_fd_t fd,
|
|||||||
void pppos_input(ppp_pcb *ppp, u_char* data, int len);
|
void pppos_input(ppp_pcb *ppp, u_char* data, int len);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Functions called from PPP CORE
|
||||||
|
*
|
||||||
|
* You may use them if you REALLY know what you are doing.
|
||||||
|
*/
|
||||||
void pppos_accm_out_config(pppos_pcb *pppos, u32_t accm);
|
void pppos_accm_out_config(pppos_pcb *pppos, u32_t accm);
|
||||||
void pppos_accm_in_config(pppos_pcb *pppos, u32_t accm);
|
void pppos_accm_in_config(pppos_pcb *pppos, u32_t accm);
|
||||||
sio_fd_t pppos_get_fd(pppos_pcb *pppos);
|
sio_fd_t pppos_get_fd(pppos_pcb *pppos);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user