Searched refs:sess_auth (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsiAuthClientGlue.c | 61 if (strcmp(username, isp->sess_auth.username_in) != 0) { in iscsiAuthClientChapAuthRequest() 109 isp->sess_auth.username_in, in iscsiAuthClientChapAuthRequest() 110 isp->sess_auth.username, in iscsiAuthClientChapAuthRequest() 142 if ((isp->sess_auth.password_length_in < 1) || in iscsiAuthClientChapAuthRequest() 143 (isp->sess_auth.password_in[0] == '\0')) { in iscsiAuthClientChapAuthRequest() 171 (uchar_t *)isp->sess_auth.password_in, in iscsiAuthClientChapAuthRequest() 172 isp->sess_auth.password_length_in); in iscsiAuthClientChapAuthRequest()
|
H A D | iscsi_sess.c | 706 bzero(&isp->sess_auth, sizeof (iscsi_auth_t)); in iscsi_sess_set_auth() 756 isp->sess_auth.password_length = 0; in iscsi_sess_set_auth() 761 bcopy(chap->c_user, isp->sess_auth.username, in iscsi_sess_set_auth() 763 bcopy(chap->c_secret, isp->sess_auth.password, in iscsi_sess_set_auth() 765 isp->sess_auth.password_length = chap->c_secret_len; in iscsi_sess_set_auth() 768 isp->sess_auth.password_length = 0; in iscsi_sess_set_auth() 778 isp->sess_auth.bidirectional_auth = 1; in iscsi_sess_set_auth() 785 isp->sess_auth.password_in, in iscsi_sess_set_auth() 787 bcopy(chap->c_user, isp->sess_auth.username_in, in iscsi_sess_set_auth() 789 isp->sess_auth.password_length_in = in iscsi_sess_set_auth() [all …]
|
H A D | iscsi_login.c | 411 if (isp->sess_auth.num_auth_buffers != 0) { in iscsi_login() 414 sess_auth.auth_buffers[0].address; in iscsi_login() 420 isp->sess_auth.num_auth_buffers, in iscsi_login() 421 isp->sess_auth.auth_buffers) != in iscsi_login() 440 isp->sess_auth.username) != iscsiAuthStatusNoError) { in iscsi_login() 447 isp->sess_auth.password, isp->sess_auth.password_length) != in iscsi_login() 462 isp->sess_auth.bidirectional_auth) != in iscsi_login() 689 if (isp->sess_auth.num_auth_buffers != 0) { in iscsi_make_login_pdu() 691 (IscsiAuthClient *)isp->sess_auth.auth_buffers[0].address; in iscsi_make_login_pdu() 1082 if (isp->sess_auth.num_auth_buffers != 0) { in iscsi_process_login_response() [all …]
|
H A D | iscsi.h | 996 iscsi_auth_t sess_auth; member
|
H A D | iscsi.c | 2512 (void) memset(sessp->sess_auth.password, in iscsi_ioctl() 2514 sessp->sess_auth.password_length = 0; in iscsi_ioctl() 2563 (void) memset(isp->sess_auth.password_in, in iscsi_ioctl() 2565 isp->sess_auth.password_length_in = 0; in iscsi_ioctl()
|