Lines Matching defs:accm
66 static void pppos_send_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp);
67 static void pppos_recv_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp);
75 static err_t pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs);
94 #define ESCAPE_P(accm, c) ((accm)[(c) >> 3] & 1 << (c & 0x07))
327 * Default the in and out accm so that escape and flag characters
359 * Default the in and out accm so that escape and flag characters
738 pppos_send_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp)
749 pppos->out_accm[i] = (u8_t)((accm >> (8 * i)) & 0xFF);
758 pppos_recv_config(ppp_pcb *ppp, void *ctx, u32_t accm, int pcomp, int accomp)
770 pppos->in_accm[i] = (u8_t)(accm >> (i * 8));
823 pppos_output_append(pppos_pcb *pppos, err_t err, struct pbuf *nb, u8_t c, u8_t accm, u16_t *fcs)
846 if (accm && ESCAPE_P(pppos->out_accm, c)) {