Lines Matching refs:msglen
399 int msglen;
450 msglen = strlen(msg);
451 if (msglen > 255)
452 msglen = 255;
455 u->us_msglen = msglen;
485 u_char msglen;
509 GETCHAR(msglen, inp);
510 if (msglen > 0) {
512 if (len < msglen) {
513 error("PAP: Discarding short packet (%d < %d)", len, msglen);
517 PRINTMSG(msg, msglen);
538 u_char msglen;
562 GETCHAR(msglen, inp);
563 if (msglen > 0) {
565 if (len < msglen) {
566 error("PAP: Discarding short packet (%d < %d)", len, msglen);
570 PRINTMSG(msg, msglen);
635 upap_sresp(u, code, id, msg, msglen)
639 int msglen;
644 outlen = UPAP_HEADERLEN + sizeof (u_char) + msglen;
651 PUTCHAR(msglen, outp);
652 BCOPY(msg, outp, msglen);