Searched refs:HEADERLEN (Results 1 – 7 of 7) sorted by relevance
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()[all …]
1528 if (plen < HEADERLEN) in ccp_printpkt()1533 if (len < HEADERLEN || len > plen) in ccp_printpkt()1541 len -= HEADERLEN; in ccp_printpkt()1542 p += HEADERLEN; in ccp_printpkt()
1410 if (plen < HEADERLEN)1416 if (len < HEADERLEN || len > plen)1424 len -= HEADERLEN;
718 if (proto == PPP_LCP && pcb->phase == PPP_PHASE_RUNNING && len >= 2 + HEADERLEN) { in ppp_dump_packet()723 && l >= HEADERLEN && l <= len - 2) in ppp_dump_packet()
2248 if (plen < HEADERLEN) in ipcp_printpkt()2254 if (len < HEADERLEN || len > plen) in ipcp_printpkt()2262 len -= HEADERLEN; in ipcp_printpkt()
2391 if (plen < HEADERLEN) in lcp_printpkt()2397 if (len < HEADERLEN || len > plen) in lcp_printpkt()2405 len -= HEADERLEN; in lcp_printpkt()
60 #define HEADERLEN 4 macro