Searched refs:CHAP_HDRLEN (Results 1 – 2 of 2) sorted by relevance
91 #define CHAL_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_CHALLENGE_LEN + MAXNAMELEN)92 #define RESP_MAX_PKTLEN (PPP_HDRLEN + CHAP_HDRLEN + 4 + MAX_RESPONSE_LEN + MAXNAMELEN)290 p += CHAP_HDRLEN; in chap_generate_challenge()296 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge()354 ss->challenge + PPP_HDRLEN + CHAP_HDRLEN, in chap_handle_response()366 len = CHAP_HDRLEN + mlen; in chap_handle_response()372 memcpy(p + CHAP_HDRLEN, message, mlen); in chap_handle_response()455 p += CHAP_HDRLEN; in chap_respond()466 len = CHAP_HDRLEN + clen + 1 + nlen; in chap_respond()521 if (pktlen < CHAP_HDRLEN) in chap_input()[all …]
34 #define CHAP_HDRLEN 4 macro