Lines Matching refs:inp
147 static void ChapReceiveSuccess(chap_state *cstate, u_char *inp, u_char id, int len);
148 static void ChapReceiveFailure(chap_state *cstate, u_char *inp, u_char id, int len);
366 u_char *inp;
374 inp = inpacket;
379 GETCHAR(code, inp);
380 GETCHAR(id, inp);
381 GETSHORT(len, inp);
397 ChapReceiveChallenge(cstate, inp, id, len);
401 ChapReceiveResponse(cstate, inp, id, len);
405 ChapReceiveFailure(cstate, inp, id, len);
409 ChapReceiveSuccess(cstate, inp, id, len);
423 ChapReceiveChallenge(chap_state *cstate, u_char *inp, u_char id, int len)
446 GETCHAR(rchallenge_len, inp);
452 rchallenge = inp;
453 INCPTR(rchallenge_len, inp);
458 BCOPY(inp, rhostname, len);
521 ChapReceiveResponse(chap_state *cstate, u_char *inp, int id, int len)
562 GETCHAR(remmd_len, inp); /* get length of MD */
563 remmd = inp; /* get pointer to MD */
564 INCPTR(remmd_len, inp);
577 BCOPY(inp, rhostname, len);
640 ChapReceiveSuccess(chap_state *cstate, u_char *inp, u_char id, int len)
643 LWIP_UNUSED_ARG(inp);
665 PRINTMSG(inp, len);
678 ChapReceiveFailure(chap_state *cstate, u_char *inp, u_char id, int len)
681 LWIP_UNUSED_ARG(inp);
698 PRINTMSG(inp, len);