PPP, PPPoS, renamed *sc pointer to *pppos, renamed *pcb pointers to *pppos and *ppp
It was a bit confusing and error prone having *pcb pointers for both ppp_pcb* and pppos_pcb*, fixed confusion with a strict naming for both.
This commit is contained in:
@@ -57,12 +57,12 @@ ppp_pcb *ppp_over_serial_create(struct netif *pppif, sio_fd_t fd,
|
||||
ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
|
||||
|
||||
/* PPP over Serial: this is the input function to be called for received data. */
|
||||
void pppos_input(ppp_pcb *pcb, u_char* data, int len);
|
||||
void pppos_input(ppp_pcb *ppp, u_char* data, int len);
|
||||
|
||||
|
||||
void pppos_vjc_config(ppp_pcb *pcb, int vjcomp, int cidcomp, int maxcid);
|
||||
int pppos_vjc_comp(ppp_pcb *pcb, struct pbuf *pb);
|
||||
int pppos_vjc_uncomp(ppp_pcb *pcb, struct pbuf *pb);
|
||||
void pppos_vjc_config(ppp_pcb *ppp, int vjcomp, int cidcomp, int maxcid);
|
||||
int pppos_vjc_comp(ppp_pcb *ppp, struct pbuf *pb);
|
||||
int pppos_vjc_uncomp(ppp_pcb *ppp, struct pbuf *pb);
|
||||
|
||||
#endif /* PPPOS_H */
|
||||
#endif /* PPP_SUPPORT && PPPOL2TP_SUPPORT */
|
||||
|
||||
Reference in New Issue
Block a user