35#if PPP_SUPPORT && PPPOS_SUPPORT
60typedef u32_t (*pppos_output_cb_fn)(ppp_pcb *pcb, u8_t *data, u32_t len,
void *ctx);
65typedef u8_t ext_accm[32];
70typedef struct pppos_pcb_s pppos_pcb;
74 pppos_output_cb_fn output_cb;
86 unsigned int pcomp :1;
87 unsigned int accomp :1;
91 struct pbuf *in_head, *in_tail;
99ppp_pcb *pppos_create(
struct netif *pppif, pppos_output_cb_fn output_cb,
100 ppp_link_status_cb_fn link_status_cb,
void *ctx_cb);
102#if !NO_SYS && !PPP_INPROC_IRQ_SAFE
104err_t pppos_input_tcpip(ppp_pcb *ppp, u8_t *s,
int l);
108void pppos_input(ppp_pcb *ppp, u8_t* data,
int len);
115#if !NO_SYS && !PPP_INPROC_IRQ_SAFE
116err_t pppos_input_sys(
struct pbuf *p,
struct netif *inp);