Home
last modified time | relevance | path

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

/third_party/lwip/src/netif/ppp/
Dfsm.c328 if (l < HEADERLEN) { in fsm_input()
335 if (len < HEADERLEN) { in fsm_input()
343 len -= HEADERLEN; /* subtract header length */ in fsm_input()
383 fsm_sdata(f, CODEREJ, ++f->id, inpacket, len + HEADERLEN); 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()
738 p = pbuf_alloc(PBUF_RAW, (u16_t)(cilen + HEADERLEN + PPP_HDRLEN), PPP_CTRL_PBUF_TYPE); in fsm_sconfreq()
751 PUTSHORT(cilen + HEADERLEN, outp); in fsm_sconfreq()
754 LWIP_ASSERT("cilen == p->len - HEADERLEN - PPP_HDRLEN", cilen == p->len - HEADERLEN - PPP_HDRLEN); in fsm_sconfreq()
[all …]
Dccp.c1528 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()
Dipv6cp.c1410 if (plen < HEADERLEN)
1416 if (len < HEADERLEN || len > plen)
1424 len -= HEADERLEN;
Dutils.c718 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()
Dipcp.c2248 if (plen < HEADERLEN) in ipcp_printpkt()
2254 if (len < HEADERLEN || len > plen) in ipcp_printpkt()
2262 len -= HEADERLEN; in ipcp_printpkt()
Dlcp.c2391 if (plen < HEADERLEN) in lcp_printpkt()
2397 if (len < HEADERLEN || len > plen) in lcp_printpkt()
2405 len -= HEADERLEN; in lcp_printpkt()
/third_party/lwip/src/include/netif/ppp/
Dfsm.h60 #define HEADERLEN 4 macro