blob: 3822d9cd12302071467af03d4920fda601fdd351 [file] [log] [blame]
Nicholas Bellingere48354c2011-07-23 06:43:04 +00001#ifndef ISCSI_TARGET_ERL0_H
2#define ISCSI_TARGET_ERL0_H
3
Bart Van Assche8dcf07b2016-11-14 15:47:14 -08004#include <linux/types.h>
5
6struct iscsi_cmd;
7struct iscsi_conn;
8struct iscsi_session;
9
Nicholas Bellingere48354c2011-07-23 06:43:04 +000010extern void iscsit_set_dataout_sequence_values(struct iscsi_cmd *);
11extern int iscsit_check_pre_dataout(struct iscsi_cmd *, unsigned char *);
12extern int iscsit_check_post_dataout(struct iscsi_cmd *, unsigned char *, u8);
13extern void iscsit_start_time2retain_handler(struct iscsi_session *);
14extern int iscsit_stop_time2retain_timer(struct iscsi_session *);
15extern void iscsit_connection_reinstatement_rcfr(struct iscsi_conn *);
16extern void iscsit_cause_connection_reinstatement(struct iscsi_conn *, int);
17extern void iscsit_fall_back_to_erl0(struct iscsi_session *);
Jiang Yi5e0cf5e2017-05-16 17:57:55 +080018extern void iscsit_take_action_for_connection_exit(struct iscsi_conn *, bool *);
Nicholas Bellingere48354c2011-07-23 06:43:04 +000019
20#endif /*** ISCSI_TARGET_ERL0_H ***/