mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
PPP, MPPE, compile-out unused mppe_incomp() function
This commit is contained in:
parent
42fb74ce22
commit
33838b8c1c
@ -173,7 +173,9 @@ void mppe_comp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
|
|||||||
err_t mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol);
|
err_t mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol);
|
||||||
void mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
|
void mppe_decomp_reset(ppp_pcb *pcb, ppp_mppe_state *state);
|
||||||
err_t mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb);
|
err_t mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb);
|
||||||
|
#if 0 /* unused */
|
||||||
void mppe_incomp(ppp_pcb *pcb, ppp_mppe_state *state, unsigned char *ibuf, int icnt);
|
void mppe_incomp(ppp_pcb *pcb, ppp_mppe_state *state, unsigned char *ibuf, int icnt);
|
||||||
|
#endif /* unused */
|
||||||
|
|
||||||
#endif /* MPPE_H */
|
#endif /* MPPE_H */
|
||||||
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
||||||
|
@ -389,6 +389,7 @@ mppe_decompress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb)
|
|||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* unused */
|
||||||
/*
|
/*
|
||||||
* Incompressible data has arrived (this should never happen!).
|
* Incompressible data has arrived (this should never happen!).
|
||||||
* We should probably drop the link if the protocol is in the range
|
* We should probably drop the link if the protocol is in the range
|
||||||
@ -406,5 +407,6 @@ void mppe_incomp(ppp_pcb *pcb, ppp_mppe_state *state, unsigned char *ibuf, int i
|
|||||||
"(proto %04x)\n", pcb->netif->num, PPP_PROTOCOL(ibuf)));
|
"(proto %04x)\n", pcb->netif->num, PPP_PROTOCOL(ibuf)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* unused */
|
||||||
|
|
||||||
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user