Searched refs:HEADERLEN (Results 1 – 9 of 9) sorted by relevance
348 if (l < HEADERLEN) {355 if (len < HEADERLEN) {363 len -= HEADERLEN; /* subtract header length */403 fsm_sdata(f, CODEREJ, ++f->id, inpacket, len + HEADERLEN);686 if (len < HEADERLEN) {771 outp = outpacket_buf + PPP_HDRLEN + HEADERLEN;774 if( cilen > peer_mru[f->unit] - HEADERLEN )775 cilen = peer_mru[f->unit] - HEADERLEN;807 if (datalen > peer_mru[f->unit] - HEADERLEN)808 datalen = peer_mru[f->unit] - HEADERLEN;[all …]
236 if (plen < HEADERLEN)242 if (len < HEADERLEN || len > plen)251 len -= HEADERLEN;
48 #define HEADERLEN 4 macro
1500 if (plen < HEADERLEN)1505 if (len < HEADERLEN || len > plen)1514 len -= HEADERLEN;1515 p += HEADERLEN;
1428 if (plen < HEADERLEN)1434 if (len < HEADERLEN || len > plen)1442 len -= HEADERLEN;
818 && len >= PPP_HDRLEN + HEADERLEN) { in dump_packet()823 && l >= HEADERLEN && l <= len - PPP_HDRLEN) in dump_packet()
1484 if (plen < HEADERLEN)1490 if (len < HEADERLEN || len > plen)1498 len -= HEADERLEN;
2006 if (plen < HEADERLEN)2012 if (len < HEADERLEN || len > plen)2020 len -= HEADERLEN;
2158 if (plen < HEADERLEN)2164 if (len < HEADERLEN || len > plen)2172 len -= HEADERLEN;