Home | History | Annotate | Download | only in iscsi

Lines Matching defs:auth_state

194 	auth_state_t auth_state;				/* authentication state */
1375 if (state->auth_state != AUTH_INITIAL) {
1376 DEBOUT(("AuthMethod received, auth_state = %d\n",
1377 state->auth_state));
1389 state->auth_state = AUTH_METHOD_SELECTED;
1394 if (state->auth_state != AUTH_CHAP_ALG_SENT ||
1396 DEBOUT(("Bad algorithm, auth_state = %d, alg %d\n",
1397 state->auth_state, rxp.val.nval[0]));
1403 if (state->auth_state != AUTH_CHAP_ALG_SENT || !rxp.list_num) {
1404 DEBOUT(("Bad Challenge, auth_state = %d, len %d\n",
1405 state->auth_state, rxp.list_num));
1415 if (state->auth_state != AUTH_CHAP_ALG_SENT) {
1416 DEBOUT(("Bad ID, auth_state = %d, id %d\n",
1417 state->auth_state, rxp.val.nval[0]));
1424 if (state->auth_state != AUTH_CHAP_RSP_SENT) {
1425 DEBOUT(("Bad Name, auth_state = %d, name <%s>\n",
1426 state->auth_state, rxp.val.sval));
1433 if (state->auth_state != AUTH_CHAP_RSP_SENT) {
1434 DEBOUT(("Bad Response, auth_state = %d, size %d\n",
1435 state->auth_state, rxp.list_num));
1455 switch (state->auth_state) {
1462 state->auth_state = AUTH_CHAP_ALG_SENT;
1508 state->auth_state = AUTH_CHAP_RSP_SENT;