Home
last modified time | relevance | path

Searched refs:CHAP_HDRLEN (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/src/netif/ppp/
Dchap-new.c263 p += CHAP_HDRLEN; in chap_generate_challenge()
269 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge()
329 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN,
333 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN,
347 len = CHAP_HDRLEN + mlen;
364 memcpy(outp + CHAP_HDRLEN, message, mlen);
476 outp += CHAP_HDRLEN;
487 len = CHAP_HDRLEN + clen + 1 + nlen;
539 if (pktlen < CHAP_HDRLEN)
544 if (len < CHAP_HDRLEN || len > pktlen)
[all …]
/third_party/lwip/src/include/netif/ppp/
Dchap-new.h46 #define CHAP_HDRLEN 4 macro
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)