Home
last modified time | relevance | path

Searched refs:PPP_HDRLEN (Results 1 – 10 of 10) sorted by relevance

/third_party/lwip/src/netif/ppp/
Dchap-new.c270 pcb->chap_server.challenge_pktlen = PPP_HDRLEN + len; in chap_generate_challenge()
272 p = pcb->chap_server.challenge + PPP_HDRLEN; in chap_generate_challenge()
298 if (id != pcb->chap_server.challenge[PPP_HDRLEN+1] || len < 2)
329 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN,
333 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN,
348 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN +len), PPP_CTRL_PBUF_TYPE);
486 outp = (u_char*)p->payload + PPP_HDRLEN;
493 pbuf_realloc(p, PPP_HDRLEN + len);
Ddemand.c91 framemax += PPP_HDRLEN + PPP_FCSLEN; in demand_conf()
292 if (len < PPP_HDRLEN)
441 if (len < PPP_HDRLEN)
Dfsm.c738 p = pbuf_alloc(PBUF_RAW, (u16_t)(cilen + HEADERLEN + PPP_HDRLEN), PPP_CTRL_PBUF_TYPE); in fsm_sconfreq()
754 LWIP_ASSERT("cilen == p->len - HEADERLEN - PPP_HDRLEN", cilen == p->len - HEADERLEN - PPP_HDRLEN); in fsm_sconfreq()
781 p = pbuf_alloc(PBUF_RAW, (u16_t)(outlen + PPP_HDRLEN), PPP_CTRL_PBUF_TYPE); in fsm_sdata()
791 MEMCPY(outp + PPP_HDRLEN + HEADERLEN, data, datalen); in fsm_sdata()
Deap.c254 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + EAP_HEADERLEN), PPP_CTRL_PBUF_TYPE); in eap_send_failure()
285 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + EAP_HEADERLEN), PPP_CTRL_PBUF_TYPE); in eap_send_success()
858 outlen = (outp - (unsigned char*)p->payload) - PPP_HDRLEN; in eap_send_request()
861 pbuf_realloc(p, outlen + PPP_HDRLEN); in eap_send_request()
1021 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); in eap_send_response()
1055 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); in eap_chap_response()
1100 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE);
1142 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE);
1173 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN + msglen), PPP_CTRL_PBUF_TYPE); in eap_send_nak()
Dupap.c536 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN +outlen), PPP_CTRL_PBUF_TYPE); in upap_sauthreq()
573 p = pbuf_alloc(PBUF_RAW, (u16_t)(PPP_HDRLEN +outlen), PPP_CTRL_PBUF_TYPE); in upap_sresp()
Dipv6cp.c1516 len -= PPP_HDRLEN;
1517 pkt += PPP_HDRLEN;
Dipcp.c2400 len -= PPP_HDRLEN;
2401 pkt += PPP_HDRLEN;
/third_party/lwip/src/include/netif/ppp/
Dchap-new.h75 #define CHAL_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_CHALLENGE_LEN + MAXNAMELEN)
76 #define RESP_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_RESPONSE_LEN + MAXNAMELEN)
Dppp.h110 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
/third_party/FreeBSD/sys/net/
Dppp_defs.h37 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro