mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 06:36:51 +08:00
PPP, PPPoS, added sub-ioctl commands
Allow low level drivers to extend ioctl call, moved PPPoS ioctl commands to pppos.c.
This commit is contained in:
@@ -163,6 +163,8 @@ struct link_callbacks {
|
||||
void (*recv_config)(ppp_pcb *pcb, void *ctx, u32_t accm);
|
||||
/* configure TCP header compression */
|
||||
void (*vj_config)(ppp_pcb *pcb, void *ctx, int vjcomp, int cidcomp, int maxcid);
|
||||
/* Get and set parameters for the given connection. */
|
||||
int (*ioctl)(ppp_pcb *pcb, void *ctx, int cmd, void *arg);
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -102,7 +102,6 @@ void pppos_input(ppp_pcb *ppp, u_char* data, int len);
|
||||
*
|
||||
* You may use them if you REALLY know what you are doing.
|
||||
*/
|
||||
sio_fd_t pppos_get_fd(pppos_pcb *pppos);
|
||||
int pppos_vjc_comp(pppos_pcb *pppos, struct pbuf *pb);
|
||||
int pppos_vjc_uncomp(pppos_pcb *pppos, struct pbuf *pb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user