Searched refs:PPP_HDRLEN (Results 1 – 10 of 10) sorted by relevance
/third_party/lwip/src/netif/ppp/ |
D | chap-new.c | 270 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);
|
D | demand.c | 91 framemax += PPP_HDRLEN + PPP_FCSLEN; in demand_conf() 292 if (len < PPP_HDRLEN) 441 if (len < PPP_HDRLEN)
|
D | fsm.c | 738 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()
|
D | eap.c | 254 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()
|
D | upap.c | 536 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()
|
D | ipv6cp.c | 1516 len -= PPP_HDRLEN; 1517 pkt += PPP_HDRLEN;
|
D | ipcp.c | 2400 len -= PPP_HDRLEN; 2401 pkt += PPP_HDRLEN;
|
/third_party/lwip/src/include/netif/ppp/ |
D | chap-new.h | 75 #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)
|
D | ppp.h | 110 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
|
/third_party/FreeBSD/sys/net/ |
D | ppp_defs.h | 37 #define PPP_HDRLEN 4 /* octets for standard ppp header */ macro
|