Lines Matching refs:HEADERLEN
328 if (l < HEADERLEN) { in fsm_input()
335 if (len < HEADERLEN) { in fsm_input()
343 len -= HEADERLEN; /* subtract header length */ in fsm_input()
383 fsm_sdata(f, CODEREJ, ++f->id, inpacket, len + HEADERLEN); in fsm_input()
648 if (len < HEADERLEN) { in fsm_rcoderej()
733 if( cilen > pcb->peer_mru - HEADERLEN ) in fsm_sconfreq()
734 cilen = pcb->peer_mru - HEADERLEN; in fsm_sconfreq()
738 p = pbuf_alloc(PBUF_RAW, (u16_t)(cilen + HEADERLEN + PPP_HDRLEN), PPP_CTRL_PBUF_TYPE); in fsm_sconfreq()
751 PUTSHORT(cilen + HEADERLEN, outp); in fsm_sconfreq()
754 LWIP_ASSERT("cilen == p->len - HEADERLEN - PPP_HDRLEN", cilen == p->len - HEADERLEN - PPP_HDRLEN); in fsm_sconfreq()
777 if (datalen > pcb->peer_mru - HEADERLEN) in fsm_sdata()
778 datalen = pcb->peer_mru - HEADERLEN; in fsm_sdata()
779 outlen = datalen + HEADERLEN; in fsm_sdata()
791 MEMCPY(outp + PPP_HDRLEN + HEADERLEN, data, datalen); in fsm_sdata()