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