Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 1 | #ifndef ISCSI_TARGET_ERL0_H |
| 2 | #define ISCSI_TARGET_ERL0_H |
| 3 | |
Bart Van Assche | 8dcf07b | 2016-11-14 15:47:14 -0800 | [diff] [blame] | 4 | #include <linux/types.h> |
| 5 | |
| 6 | struct iscsi_cmd; |
| 7 | struct iscsi_conn; |
| 8 | struct iscsi_session; |
| 9 | |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 10 | extern void iscsit_set_dataout_sequence_values(struct iscsi_cmd *); |
| 11 | extern int iscsit_check_pre_dataout(struct iscsi_cmd *, unsigned char *); |
| 12 | extern int iscsit_check_post_dataout(struct iscsi_cmd *, unsigned char *, u8); |
| 13 | extern void iscsit_start_time2retain_handler(struct iscsi_session *); |
| 14 | extern int iscsit_stop_time2retain_timer(struct iscsi_session *); |
| 15 | extern void iscsit_connection_reinstatement_rcfr(struct iscsi_conn *); |
| 16 | extern void iscsit_cause_connection_reinstatement(struct iscsi_conn *, int); |
| 17 | extern void iscsit_fall_back_to_erl0(struct iscsi_session *); |
Jiang Yi | 5e0cf5e | 2017-05-16 17:57:55 +0800 | [diff] [blame] | 18 | extern void iscsit_take_action_for_connection_exit(struct iscsi_conn *, bool *); |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 19 | |
| 20 | #endif /*** ISCSI_TARGET_ERL0_H ***/ |