2011-07-23 06:43:04 +00:00
|
|
|
#ifndef ISCSI_TARGET_LOGIN_H
|
|
|
|
#define ISCSI_TARGET_LOGIN_H
|
|
|
|
|
|
|
|
extern int iscsi_login_setup_crypto(struct iscsi_conn *);
|
|
|
|
extern int iscsi_check_for_session_reinstatement(struct iscsi_conn *);
|
|
|
|
extern int iscsi_login_post_auth_non_zero_tsih(struct iscsi_conn *, u16, u32);
|
2013-03-07 05:54:13 +00:00
|
|
|
extern int iscsit_setup_np(struct iscsi_np *,
|
2015-08-24 17:26:06 +00:00
|
|
|
struct sockaddr_storage *);
|
2011-07-23 06:43:04 +00:00
|
|
|
extern int iscsi_target_setup_login_socket(struct iscsi_np *,
|
2015-08-24 17:26:06 +00:00
|
|
|
struct sockaddr_storage *);
|
2013-03-07 05:54:13 +00:00
|
|
|
extern int iscsit_accept_np(struct iscsi_np *, struct iscsi_conn *);
|
|
|
|
extern int iscsit_get_login_rx(struct iscsi_conn *, struct iscsi_login *);
|
|
|
|
extern int iscsit_put_login_tx(struct iscsi_conn *, struct iscsi_login *, u32);
|
|
|
|
extern void iscsit_free_conn(struct iscsi_np *, struct iscsi_conn *);
|
2015-07-23 06:14:19 +00:00
|
|
|
extern int iscsit_start_kthreads(struct iscsi_conn *);
|
|
|
|
extern void iscsi_post_login_handler(struct iscsi_np *, struct iscsi_conn *, u8);
|
2013-08-15 19:49:02 +00:00
|
|
|
extern void iscsi_target_login_sess_out(struct iscsi_conn *, struct iscsi_np *,
|
|
|
|
bool, bool);
|
2011-07-23 06:43:04 +00:00
|
|
|
extern int iscsi_target_login_thread(void *);
|
|
|
|
|
|
|
|
#endif /*** ISCSI_TARGET_LOGIN_H ***/
|