Lines Matching refs:nlen
284 int clen = 1, nlen, len; in chap_generate_challenge() local
292 nlen = strlen(ss->name); in chap_generate_challenge()
293 memcpy(p + 1 + clen, ss->name, nlen); in chap_generate_challenge()
295 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge()
441 int clen, nlen; in chap_respond() local
453 nlen = len - (clen + 1); in chap_respond()
456 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); in chap_respond()
477 nlen = strlen(cs->name); in chap_respond()
478 memcpy(p + clen + 1, cs->name, nlen); in chap_respond()
481 len = CHAP_HDRLEN + clen + 1 + nlen; in chap_respond()
593 int clen, nlen; in chap_print_pkt() local
619 nlen = len - clen - 1; in chap_print_pkt()
626 print_string((char *)p, nlen, printer, arg); in chap_print_pkt()