53 #include "netif/ppp/ppp_opts.h" 54 #if PPP_SUPPORT && PPPOS_SUPPORT 77 typedef u32_t (*pppos_output_cb_fn)(ppp_pcb *pcb, u8_t *data, u32_t len,
void *ctx);
82 typedef u8_t ext_accm[32];
87 typedef struct pppos_pcb_s pppos_pcb;
91 pppos_output_cb_fn output_cb;
102 unsigned int open :1;
103 unsigned int pcomp :1;
104 unsigned int accomp :1;
108 struct pbuf *in_head, *in_tail;
116 ppp_pcb *pppos_create(
struct netif *pppif, pppos_output_cb_fn output_cb,
117 ppp_link_status_cb_fn link_status_cb,
void *ctx_cb);
119 #if !NO_SYS && !PPP_INPROC_IRQ_SAFE 121 err_t pppos_input_tcpip(ppp_pcb *ppp, u8_t *s,
int l);
125 void pppos_input(ppp_pcb *ppp, u8_t* data,
int len);
132 #if !NO_SYS && !PPP_INPROC_IRQ_SAFE