mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 17:17:03 +08:00
PPP, CCP, add dummy ccp_ functions in ppp.c so it builds if CCP_SUPPORT is set
This commit is contained in:
@@ -472,6 +472,12 @@ int sifnpmode(ppp_pcb *pcb, int proto, enum NPmode mode);
|
||||
void netif_set_mtu(ppp_pcb *pcb, int mtu);
|
||||
int netif_get_mtu(ppp_pcb *pcb);
|
||||
|
||||
#if CCP_SUPPORT
|
||||
int ccp_test(ppp_pcb *pcb, u_char *opt_ptr, int opt_len, int for_transmit);
|
||||
void ccp_flags_set(ppp_pcb *pcb, int isopen, int isup);
|
||||
int ccp_fatal_error(ppp_pcb *pcb);
|
||||
#endif /* CCP_SUPPORT */
|
||||
|
||||
#if PPP_IDLETIMELIMIT
|
||||
int get_idle_time(ppp_pcb *pcb, struct ppp_idle *ip);
|
||||
#endif /* PPP_IDLETIMELIMIT */
|
||||
|
||||
Reference in New Issue
Block a user