Lines Matching defs:authproto
2257 u_short authproto;
2303 authproto = (p[2] << 8) + p[3];
2304 if (authproto == PPP_CHAP && p[1] != 5) {
2410 authproto = (p[2] << 8) + p[3];
2411 if (sp->myauth.proto != authproto) {
2416 sppp_proto_name(authproto));
2421 if (authproto == PPP_CHAP && p[4] != CHAP_MD5) {
2755 u_short authproto;
2776 authproto = sp->hisauth.proto;
2778 opt[i++] = authproto == PPP_CHAP? 5: 4;
2779 opt[i++] = authproto >> 8;
2780 opt[i++] = authproto;
2781 if (authproto == PPP_CHAP)
3997 /* challenge, failure and success are his authproto */
4088 /* response is my authproto */
4397 /* PAP request is my authproto */
4455 /* ack and nak are his authproto */