Home
last modified time | relevance | path

Searched refs:HEADERLEN (Results 1 – 12 of 12) sorted by relevance

/external/ppp/pppd/
Dfsm.c348 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 …]
Dcbcp.c236 if (plen < HEADERLEN)
242 if (len < HEADERLEN || len > plen)
251 len -= HEADERLEN;
Dfsm.h48 #define HEADERLEN 4 macro
Dccp.c1500 if (plen < HEADERLEN)
1505 if (len < HEADERLEN || len > plen)
1514 len -= HEADERLEN;
1515 p += HEADERLEN;
Dipv6cp.c1428 if (plen < HEADERLEN)
1434 if (len < HEADERLEN || len > plen)
1442 len -= HEADERLEN;
Dutils.c818 && len >= PPP_HDRLEN + HEADERLEN) { in dump_packet()
823 && l >= HEADERLEN && l <= len - PPP_HDRLEN) in dump_packet()
Dipxcp.c1484 if (plen < HEADERLEN)
1490 if (len < HEADERLEN || len > plen)
1498 len -= HEADERLEN;
Dipcp.c2158 if (plen < HEADERLEN)
2164 if (len < HEADERLEN || len > plen)
2172 len -= HEADERLEN;
Dlcp.c2006 if (plen < HEADERLEN)
2012 if (len < HEADERLEN || len > plen)
2020 len -= HEADERLEN;
/external/syslinux/core/lwip/src/netif/ppp/
Dfsm.c392 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 …]
Dfsm.h60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short)) macro
Dlcp.c1779 if (plen < HEADERLEN) { in lcp_printpkt()
1786 if (len < HEADERLEN || len > plen) { in lcp_printpkt()
1796 len -= HEADERLEN; in lcp_printpkt()