Searched refs:HEADERLEN (Results 1 – 12 of 12) 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;
2158 if (plen < HEADERLEN)2164 if (len < HEADERLEN || len > plen)2172 len -= HEADERLEN;
2006 if (plen < HEADERLEN)2012 if (len < HEADERLEN || len > plen)2020 len -= HEADERLEN;
392 if (l < HEADERLEN) { in fsm_input()400 if (len < HEADERLEN) { in fsm_input()410 len -= HEADERLEN; /* subtract header length */ in fsm_input()451 fsm_sdata(f, CODEREJ, ++f->id, inpacket, len + HEADERLEN); in fsm_input()740 if (len < HEADERLEN) { in fsm_rcoderej()836 outp = outpacket_buf[f->unit] + PPP_HDRLEN + HEADERLEN; in fsm_sconfreq()839 if( cilen > peer_mru[f->unit] - (int)HEADERLEN ) { in fsm_sconfreq()840 cilen = peer_mru[f->unit] - HEADERLEN; in fsm_sconfreq()874 if (datalen > peer_mru[f->unit] - (int)HEADERLEN) { in fsm_sdata()875 datalen = peer_mru[f->unit] - HEADERLEN; in fsm_sdata()[all …]
60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short)) macro
1779 if (plen < HEADERLEN) { in lcp_printpkt()1786 if (len < HEADERLEN || len > plen) { in lcp_printpkt()1796 len -= HEADERLEN; in lcp_printpkt()