Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 1 | #ifndef ISCSI_TARGET_ERL1_H |
| 2 | #define ISCSI_TARGET_ERL1_H |
| 3 | |
| 4 | extern int iscsit_dump_data_payload(struct iscsi_conn *, u32, int); |
| 5 | extern int iscsit_create_recovery_datain_values_datasequenceinorder_yes( |
| 6 | struct iscsi_cmd *, struct iscsi_datain_req *); |
| 7 | extern int iscsit_create_recovery_datain_values_datasequenceinorder_no( |
| 8 | struct iscsi_cmd *, struct iscsi_datain_req *); |
| 9 | extern int iscsit_handle_recovery_datain_or_r2t(struct iscsi_conn *, unsigned char *, |
Christoph Hellwig | 66c7db6 | 2012-09-26 08:00:39 -0400 | [diff] [blame] | 10 | itt_t, u32, u32, u32); |
| 11 | extern int iscsit_handle_status_snack(struct iscsi_conn *, itt_t, u32, |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 12 | u32, u32); |
| 13 | extern int iscsit_handle_data_ack(struct iscsi_conn *, u32, u32, u32); |
| 14 | extern int iscsit_dataout_datapduinorder_no_fbit(struct iscsi_cmd *, struct iscsi_pdu *); |
| 15 | extern int iscsit_recover_dataout_sequence(struct iscsi_cmd *, u32, u32); |
| 16 | extern void iscsit_clear_ooo_cmdsns_for_conn(struct iscsi_conn *); |
| 17 | extern void iscsit_free_all_ooo_cmdsns(struct iscsi_session *); |
| 18 | extern int iscsit_execute_ooo_cmdsns(struct iscsi_session *); |
| 19 | extern int iscsit_execute_cmd(struct iscsi_cmd *, int); |
| 20 | extern int iscsit_handle_ooo_cmdsn(struct iscsi_session *, struct iscsi_cmd *, u32); |
| 21 | extern void iscsit_remove_ooo_cmdsn(struct iscsi_session *, struct iscsi_ooo_cmdsn *); |
| 22 | extern void iscsit_mod_dataout_timer(struct iscsi_cmd *); |
| 23 | extern void iscsit_start_dataout_timer(struct iscsi_cmd *, struct iscsi_conn *); |
| 24 | extern void iscsit_stop_dataout_timer(struct iscsi_cmd *); |
| 25 | |
| 26 | #endif /* ISCSI_TARGET_ERL1_H */ |