xref: /linux/drivers/target/iscsi/iscsi_target_erl0.h (revision f7c9564a7cfa3ff69be74bcb1867c898772748b6)
1e48354ceSNicholas Bellinger #ifndef ISCSI_TARGET_ERL0_H
2e48354ceSNicholas Bellinger #define ISCSI_TARGET_ERL0_H
3e48354ceSNicholas Bellinger 
48dcf07beSBart Van Assche #include <linux/types.h>
58dcf07beSBart Van Assche 
68dcf07beSBart Van Assche struct iscsi_cmd;
78dcf07beSBart Van Assche struct iscsi_conn;
88dcf07beSBart Van Assche struct iscsi_session;
98dcf07beSBart Van Assche 
10e48354ceSNicholas Bellinger extern void iscsit_set_dataout_sequence_values(struct iscsi_cmd *);
11e48354ceSNicholas Bellinger extern int iscsit_check_pre_dataout(struct iscsi_cmd *, unsigned char *);
12e48354ceSNicholas Bellinger extern int iscsit_check_post_dataout(struct iscsi_cmd *, unsigned char *, u8);
13e48354ceSNicholas Bellinger extern void iscsit_start_time2retain_handler(struct iscsi_session *);
14*f7c9564aSKees Cook extern void iscsit_handle_time2retain_timeout(struct timer_list *t);
15e48354ceSNicholas Bellinger extern int iscsit_stop_time2retain_timer(struct iscsi_session *);
16e48354ceSNicholas Bellinger extern void iscsit_connection_reinstatement_rcfr(struct iscsi_conn *);
17e48354ceSNicholas Bellinger extern void iscsit_cause_connection_reinstatement(struct iscsi_conn *, int);
18e48354ceSNicholas Bellinger extern void iscsit_fall_back_to_erl0(struct iscsi_session *);
195e0cf5e6SJiang Yi extern void iscsit_take_action_for_connection_exit(struct iscsi_conn *, bool *);
20e48354ceSNicholas Bellinger 
21e48354ceSNicholas Bellinger #endif   /*** ISCSI_TARGET_ERL0_H ***/
22