35 #if PPP_SUPPORT && PPPOS_SUPPORT
62 typedef u32_t (*pppos_output_cb_fn)(ppp_pcb *pcb,
u8_t *data,
u32_t len,
void *ctx);
67 typedef u8_t ext_accm[32];
72 typedef struct pppos_pcb_s pppos_pcb;
76 pppos_output_cb_fn output_cb;
88 unsigned int pcomp :1;
89 unsigned int accomp :1;
93 struct pbuf *in_head, *in_tail;
101 ppp_pcb *pppos_create(
struct netif *pppif, pppos_output_cb_fn output_cb,
102 ppp_link_status_cb_fn link_status_cb,
void *ctx_cb);
104 #if !NO_SYS && !PPP_INPROC_IRQ_SAFE
106 err_t pppos_input_tcpip(ppp_pcb *ppp,
u8_t *s,
int l);
110 void pppos_input(ppp_pcb *ppp,
u8_t* data,
int len);
117 #if !NO_SYS && !PPP_INPROC_IRQ_SAFE
uint32_t u32_t
Definition: arch.h:129
uint8_t u8_t
Definition: arch.h:125
uint16_t u16_t
Definition: arch.h:127
s8_t err_t
Definition: err.h:96
u16_t len
Definition: pbuf.h:203