Lines Matching refs:CHAP_HDRLEN
263 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)
546 len -= CHAP_HDRLEN;
599 if (plen < CHAP_HDRLEN)
604 if (len < CHAP_HDRLEN || len > plen)
612 len -= CHAP_HDRLEN;
644 return len + CHAP_HDRLEN;