PPP, PPPoS, using PPPoS PCB pointer on VJ and pppos_ configuration functions

Slightly more consistent this way, and prevent using link_ctx_cb pointer
from PPPoS protocol file.
This commit is contained in:
Sylvain Rochet
2015-02-16 23:14:42 +01:00
parent f98f2890f3
commit cfe04d4453
3 changed files with 23 additions and 28 deletions

View File

@@ -61,9 +61,9 @@ ppp_pcb *ppp_over_serial_create(struct netif *pppif, sio_fd_t fd,
void pppos_input(ppp_pcb *ppp, u_char* data, int len);
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);
void pppos_vjc_config(pppos_pcb *pppos, int vjcomp, int cidcomp, int maxcid);
int pppos_vjc_comp(pppos_pcb *pppos, struct pbuf *pb);
int pppos_vjc_uncomp(pppos_pcb *pppos, struct pbuf *pb);
#endif /* PPPOS_H */
#endif /* PPP_SUPPORT && PPPOL2TP_SUPPORT */