Lines Matching defs:authproto
1771 u_short authproto;
1816 authproto = (p[2] << 8) + p[3];
1817 if (authproto == PPP_CHAP && p[1] != 5) {
1917 authproto = (p[2] << 8) + p[3];
1918 if (sp->myauth.proto != authproto) {
1923 sppp_proto_name(authproto));
1928 if (authproto == PPP_CHAP && p[4] != CHAP_MD5) {
2218 u_short authproto;
2239 authproto = sp->hisauth.proto;
2241 opt[i++] = authproto == PPP_CHAP? 5: 4;
2242 opt[i++] = authproto >> 8;
2243 opt[i++] = authproto;
2244 if (authproto == PPP_CHAP)
3372 /* challenge, failure and success are his authproto */
3463 /* response is my authproto */
3764 /* PAP request is my authproto */
3823 /* ack and nak are his authproto */