Lines Matching refs:cur_char
482 u8_t cur_char; in pppos_input() local
491 cur_char = *s++; in pppos_input()
503 escaped = ESCAPE_P(pppos->in_accm, cur_char); in pppos_input()
512 if (cur_char == PPP_ESCAPE) { in pppos_input()
515 } else if (cur_char == PPP_FLAG) { in pppos_input()
583 ("pppos_input[%d]: Dropping ACCM char <%d>\n", ppp->netif->num, cur_char)); in pppos_input()
590 cur_char ^= PPP_TRANS; in pppos_input()
598 if (cur_char != PPP_ALLSTATIONS) { in pppos_input()
611 if (cur_char == PPP_ALLSTATIONS) { in pppos_input()
622 if (cur_char == PPP_UI) { in pppos_input()
631 ("pppos_input[%d]: Invalid control <%d>\n", ppp->netif->num, cur_char)); in pppos_input()
640 if (cur_char & 1) { in pppos_input()
641 pppos->in_protocol = cur_char; in pppos_input()
644 pppos->in_protocol = (u16_t)cur_char << 8; in pppos_input()
649 pppos->in_protocol |= cur_char; in pppos_input()
701 ((u8_t*)pppos->in_tail->payload)[pppos->in_tail->len++] = cur_char; in pppos_input()
708 pppos->in_fcs = PPP_FCS(pppos->in_fcs, cur_char); in pppos_input()