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
1445 if (plen < HEADERLEN)1451 if (len < HEADERLEN || len > plen)1459 len -= HEADERLEN;
1496 if (plen < HEADERLEN)1501 if (len < HEADERLEN || len > plen)1510 len -= HEADERLEN;1511 p += HEADERLEN;
852 && len >= PPP_HDRLEN + HEADERLEN) { in dump_packet()857 && l >= HEADERLEN && l <= len - PPP_HDRLEN) in dump_packet()
1484 if (plen < HEADERLEN)1490 if (len < HEADERLEN || len > plen)1498 len -= HEADERLEN;
2041 if (plen < HEADERLEN)2047 if (len < HEADERLEN || len > plen)2055 len -= HEADERLEN;
1982 if (plen < HEADERLEN)1988 if (len < HEADERLEN || len > plen)1996 len -= HEADERLEN;