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()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()751 PUTSHORT(cilen + HEADERLEN, outp); 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()[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()
2395 if (plen < HEADERLEN) in lcp_printpkt()2401 if (len < HEADERLEN || len > plen) in lcp_printpkt()2409 len -= HEADERLEN; in lcp_printpkt()
60 #define HEADERLEN 4 macro