• Home
  • Raw
  • Download

Lines Matching refs:u_char

86 static void upap_input(ppp_pcb *pcb, u_char *inpacket, int l);
89 static int upap_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), vo…
124 static void upap_rauthreq(ppp_pcb *pcb, u_char *inp, int id, int len);
126 static void upap_rauthack(ppp_pcb *pcb, u_char *inp, int id, int len);
127 static void upap_rauthnak(ppp_pcb *pcb, u_char *inp, int id, int len);
130 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen);
305 static void upap_input(ppp_pcb *pcb, u_char *inpacket, int l) { in upap_input()
306 u_char *inp; in upap_input()
307 u_char code, id; in upap_input()
359 static void upap_rauthreq(ppp_pcb *pcb, u_char *inp, int id, int len) { in upap_rauthreq()
360 u_char ruserlen, rpasswdlen; in upap_rauthreq()
392 len -= sizeof (u_char) + ruserlen + sizeof (u_char); in upap_rauthreq()
458 static void upap_rauthack(ppp_pcb *pcb, u_char *inp, int id, int len) { in upap_rauthack()
459 u_char msglen; in upap_rauthack()
474 len -= sizeof (u_char); in upap_rauthack()
493 static void upap_rauthnak(ppp_pcb *pcb, u_char *inp, int id, int len) { in upap_rauthnak()
494 u_char msglen; in upap_rauthnak()
509 len -= sizeof (u_char); in upap_rauthnak()
531 u_char *outp; in upap_sauthreq()
534 outlen = UPAP_HEADERLEN + 2 * sizeof (u_char) + in upap_sauthreq()
544 outp = (u_char*)p->payload; in upap_sauthreq()
567 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen) { in upap_sresp()
569 u_char *outp; in upap_sresp()
572 outlen = UPAP_HEADERLEN + sizeof (u_char) + msglen; in upap_sresp()
581 outp = (u_char*)p->payload; in upap_sresp()
602 static int upap_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), vo… in upap_printpkt()
605 const u_char *user, *pwd, *msg; in upap_printpkt()
606 const u_char *pstart; in upap_printpkt()
633 user = (const u_char *) (p + 1); in upap_printpkt()
634 pwd = (const u_char *) (p + ulen + 2); in upap_printpkt()
657 msg = (const u_char *) (p + 1); in upap_printpkt()