Lines Matching refs:u_char
93 static void upap_input (int, u_char *, int);
96 static int upap_printpkt (u_char *, int, void (*)(void *, char *, ...), void *);
125 static void upap_rauthreq (upap_state *, u_char *, u_char, int);
126 static void upap_rauthack (upap_state *, u_char *, int, int);
127 static void upap_rauthnak (upap_state *, u_char *, int, int);
129 static void upap_sresp (upap_state *, u_char, u_char, char *, int);
334 upap_input(int unit, u_char *inpacket, int l)
337 u_char *inp;
338 u_char code, id;
390 upap_rauthreq(upap_state *u, u_char *inp, u_char id, int len)
392 u_char ruserlen, rpasswdlen;
394 u_char retcode;
420 if (len < (int)sizeof (u_char)) {
425 len -= sizeof (u_char) + ruserlen + sizeof (u_char);
466 upap_rauthack(upap_state *u, u_char *inp, int id, int len)
468 u_char msglen;
483 if (len < (int)sizeof (u_char)) {
488 len -= sizeof (u_char);
508 upap_rauthnak(upap_state *u, u_char *inp, int id, int len)
510 u_char msglen;
524 if (len < sizeof (u_char)) {
529 len -= sizeof (u_char);
552 u_char *outp;
555 outlen = UPAP_HEADERLEN + 2 * sizeof (u_char)
584 upap_sresp(upap_state *u, u_char code, u_char id, char *msg, int msglen)
586 u_char *outp;
589 outlen = UPAP_HEADERLEN + sizeof (u_char) + msglen;
612 u_char *p,