Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dchap-new.c92 #define CHAL_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_CHALLENGE_LEN + MAXNAMELEN)
93 #define RESP_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_RESPONSE_LEN + MAXNAMELEN)
289 p += CHAP_HDRLEN; in chap_generate_challenge()
295 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge()
349 ss->challenge + PPP_HDRLEN + CHAP_HDRLEN, in chap_handle_response()
362 len = CHAP_HDRLEN + mlen; in chap_handle_response()
368 memcpy(p + CHAP_HDRLEN, ss->message, mlen); in chap_handle_response()
470 p += CHAP_HDRLEN; in chap_respond()
481 len = CHAP_HDRLEN + clen + 1 + nlen; in chap_respond()
537 if (pktlen < CHAP_HDRLEN) in chap_input()
[all …]
Dchap-new.h34 #define CHAP_HDRLEN 4 macro