Lines Matching refs:outp
531 u_char *outp; in upap_sauthreq() local
544 outp = (u_char*)p->payload; in upap_sauthreq()
545 MAKEHEADER(outp, PPP_PAP); in upap_sauthreq()
547 PUTCHAR(UPAP_AUTHREQ, outp); in upap_sauthreq()
548 PUTCHAR(++pcb->upap.us_id, outp); in upap_sauthreq()
549 PUTSHORT(outlen, outp); in upap_sauthreq()
550 PUTCHAR(pcb->upap.us_userlen, outp); in upap_sauthreq()
551 MEMCPY(outp, pcb->upap.us_user, pcb->upap.us_userlen); in upap_sauthreq()
552 INCPTR(pcb->upap.us_userlen, outp); in upap_sauthreq()
553 PUTCHAR(pcb->upap.us_passwdlen, outp); in upap_sauthreq()
554 MEMCPY(outp, pcb->upap.us_passwd, pcb->upap.us_passwdlen); in upap_sauthreq()
569 u_char *outp; in upap_sresp() local
581 outp = (u_char*)p->payload; in upap_sresp()
582 MAKEHEADER(outp, PPP_PAP); in upap_sresp()
584 PUTCHAR(code, outp); in upap_sresp()
585 PUTCHAR(id, outp); in upap_sresp()
586 PUTSHORT(outlen, outp); in upap_sresp()
587 PUTCHAR(msglen, outp); in upap_sresp()
588 MEMCPY(outp, msg, msglen); in upap_sresp()