Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_iscsi_spec.h File Reference

Go to the source code of this file.

Detailed Description

Defines the iSCSI (HAL) interface functions to the os specific code This code should be OS independant.

Definition in file ocs_iscsi_spec.h.

Data Structures

struct  iscsi_isid_tsid_t
 Defines the iSCSI initiator and target session IDs in the PDU header. More...
 
struct  iscsi_hdr_dw2_t
 Defines the iSCSI AHS and data segment length in the PDU header. More...
 
union  iscsi_lun_t
 Defines a union to decode the SCSI LUN field in various ways. More...
 
struct  iscsi_bhs_t
 Defines the generic iSCSI basic header segment. More...
 
struct  iscsi_login_cmd_hdr_t
 Defines the iSCSI login PDU header. More...
 
struct  iscsi_login_response_hdr_t
 Defines the iSCSI login response PDU header. More...
 
struct  iscsi_logout_cmd_hdr_t
 Defines the iSCSI logout PDU header. More...
 
struct  iscsi_logout_response_hdr_t
 Defines the iSCSI logout response PDU header. More...
 
struct  iscsi_text_cmd_hdr_t
 Defines the iSCSI text command PDU header. More...
 
struct  iscsi_text_response_hdr_t
 Defines the iSCSI text response PDU header. More...
 
struct  iscsi_cmd_hdr_t
 Defines the iSCSI command PDU header. More...
 
struct  iscsi_r2t_hdr_t
 Defines the iSCSI R2T PDU header. More...
 
struct  iscsi_data_in_hdr_t
 Defines the iSCSI data-in PDU header. More...
 
struct  iscsi_data_out_hdr_t
 Defines the iSCSI data-out PDU header. More...
 
struct  iscsi_response_hdr_t
 Defines the iSCSI response PDU header. More...
 
struct  iscsi_async_hdr_t
 Defines the iSCSI header for the async PDU. More...
 
struct  iscsi_nopout_hdr_t
 Defines the iSCSI nop-out PDU header. More...
 
struct  iscsi_nopin_hdr_t
 Defines the iSCSI nop-in PDU header. More...
 
struct  iscsi_reject_hdr_t
 Defines the iSCSI reject PDU header. More...
 
struct  iscsi_task_mgmt_hdr_t
 Defines the iSCSI task management PDU header. More...
 
struct  iscsi_task_mgmt_response_t
 Defines the iSCSI task management response PDU header. More...
 

Macros

#define ISCSI_ABORT_TASK   (1)
 
#define ISCSI_ABORT_TASK_SET   (2)
 
#define ISCSI_CLEAR_ACA   (3)
 
#define ISCSI_CLEAR_TASK_SET   (4)
 
#define ISCSI_LUN_RESET   (5)
 
#define ISCSI_TARGET_WARM_RESET   (6)
 
#define ISCSI_TARGET_COLD_RESET   (7)
 
#define ISCSI_TASK_REASSIGN   (8)
 
#define ISCSI_MAX_TMF_OPCODE   (9)
 
#define ISCSI_VERSION_MAX   (0)
 
#define ISCSI_VERSION_MIN   (0)
 
#define LOGIN_STAGE_NEGOTIATE_SECURITY   (0)
 
#define LOGIN_STAGE_NEGOTIATE_OPERATIONAL   (1)
 
#define LOGIN_STAGE_FULL_FEATURE   (3)
 
#define ISCSI_CMD_NOOP   (0)
 
#define ISCSI_CMD_CMD   (1)
 
#define ISCSI_CMD_TASK   (2)
 
#define ISCSI_CMD_LOGIN   (3)
 
#define ISCSI_CMD_TEXT   (4)
 
#define ISCSI_CMD_DATA_OUT   (5)
 
#define ISCSI_CMD_LOGOUT   (6)
 
#define ISCSI_CMD_SNACK   (16)
 
#define ISCSI_RESP_NOOP   (32)
 
#define ISCSI_RESP_RESP   (33)
 
#define ISCSI_RESP_TASK   (34)
 
#define ISCSI_RESP_LOGIN   (35)
 
#define ISCSI_RESP_TEXT   (36)
 
#define ISCSI_RESP_DATAIN   (37)
 
#define ISCSI_RESP_LOGOUT   (38)
 
#define ISCSI_RESP_R2T   (49)
 
#define ISCSI_RESP_ASYNC   (50)
 
#define ISCSI_RESP_REJECT   (63)
 
#define ISCSI_UNTAGGED_TAG   (0)
 
#define ISCSI_SIMPLE_TAG   (1)
 
#define ISCSI_ORDERED_QUEUE_TAG   (2)
 
#define ISCSI_HEAD_OF_QUEUE_TAG   (3)
 
#define ISCSI_ACA_TAG   (4)
 
#define ISCSI_RESERVED_TTT   (4294967295)
 
#define ISCSI_STATUS_GOOD   (0)
 
#define ISCSI_STATUS_CHECK   (2)
 
#define ISCSI_STATUS_BUSY   (8)
 
#define ISCSI_STATUS_RESERVATION_CONFLICT   (24)
 
#define ISCSI_STATUS_TASKSET_FULL   (40)
 
#define ISCSI_STATUS_ACA_ACTIVE   (48)
 
#define ISCSI_STATUS_TASK_ABORTED   (64)
 
#define ISCSI_RESPONSE_CMD_COMPLETED   (0)
 
#define ISCSI_RESPONSE_TARGET_FAILURE   (1)
 
#define ISCSI_REJECT_REASON_DATA_DIGEST_ERR   (2)
 
#define ISCSI_REJECT_REASON_SNACK_REJECT   (3)
 
#define ISCSI_REJECT_REASON_PROTOCOL_ERR   (4)
 
#define ISCSI_REJECT_REASON_CMD_NOT_SUPPORTED   (5)
 
#define ISCSI_REJECT_REASON_IMM_CMD_REJECT   (6)
 
#define ISCSI_REJECT_REASON_TASK_IN_PROGRESS   (7)
 
#define ISCSI_REJECT_REASON_INVALID_DATA_ACK   (8)
 
#define ISCSI_REJECT_REASON_INVALID_PDU_FIELD   (9)
 
#define ISCSI_REJECT_REASON_LONG_OPERATION   (10)
 
#define ISCSI_REJECT_REASON_NEG_RESET   (11)
 
#define ISCSI_REJECT_REASON_WAITING_FOR_LOGOUT   (12)
 
#define ISCSI_MAXCONNECTIONS_DEFAULT   (1)
 
#define ISCSI_DEFAULT_TIME2WAIT   (2)
 
#define ISCSI_DEFAULT_TIME2RETAIN   (20)
 
#define ISCSI_FIRSTBURSTSIZE_DEFAULT   (8192)
 
#define ISCSI_MAXRXDATALENGTH_DEFAULT   (8192)
 
#define ISCSI_MAXTXDATALENGTH_DEFAULT   (8192)
 
#define ISCSI_MAXBURSTSIZE_DEFAULT   (65536)
 
#define ISCSI_MAXCONNECTIONS_MIN   (1)
 
#define ISCSI_MAXBURSTSIZE_MIN   (512)
 
#define ISCSI_FIRSTBURSTSIZE_MIN   (512)
 
#define ISCSI_MAXRXDATALENGTH_MIN   (512)
 
#define ISCSI_MAXTXDATALENGTH_MIN   (512)
 
#define ISCSI_TASK_MGMT_FUNCTION_COMPLETE   (0)
 
#define ISCSI_TASK_MGMT_TASK_DOES_NOT_EXIST   (1)
 
#define ISCSI_TASK_MGMT_LUN_DOES_NOT_EXIST   (2)
 
#define ISCSI_TASK_MGMT_TASK_STILL_ALLEGIANT   (3)
 
#define ISCSI_TASK_MGMT_TASK_REASSIGN_NOT_SUPPORTED   (4)
 
#define ISCSI_TASK_MGMT_NOT_SUPPORTED   (5)
 
#define ISCSI_TASK_MGMT_FUNCTION_AUTHORIZATION_FAILED   (6)
 
#define ISCSI_TASK_MGMT_FUNCTION_REJECTED   (255)
 
#define SESS_STATE_FREE   (1)
 
#define SESS_STATE_ACTIVE   (2)
 
#define SESS_STATE_LOGGED_IN   (3)
 
#define SESS_STATE_IN_CLEANUP   (4)
 
#define SESS_STATE_FAILED   (5)
 
#define SESS_STATE_IN_CONTINUE   (6)
 
#define CONN_STATE_FREE   (1)
 
#define CONN_STATE_NEW_CONN   (2)
 
#define CONN_STATE_LOGIN_PROGRESS   (3)
 
#define CONN_STATE_LOGIN_FAILED   (4)
 
#define CONN_STATE_FULL_FEATURE   (5)
 
#define CONN_STATE_IN_LOGOUT   (6)
 
#define CONN_STATE_LOGOUT_REQUESTED   (7)
 
#define CONN_STATE_CLEANUP   (8)
 
#define ASYNC_EVENT_SENSE_DATA   (0)
 
#define ASYNC_EVENT_LOGOUT   (1)
 
#define ASYNC_EVENT_CONN_CLOSE   (2)
 
#define ASYNC_EVENT_SESS_CLOSE   (3)
 
#define ASYNC_EVENT_PARAM_NEGOTIATE   (4)
 
#define ASYNC_EVENT_VENDOR_SPECIFIC   (255)
 
#define LOGIN_STATUS_SUCCESS   (0)
 
#define LOGIN_STATUS_REDIRECTION   (1)
 
#define LOGIN_STATUS_INI_ERROR   (2)
 
#define LOGIN_STATUS_TGT_ERROR   (3)
 
#define LOGIN_STATUS_DETAIL_INI_MISC   (0)
 
#define LOGIN_STATUS_DETAIL_INI_AUTHENTICATION   (1)
 
#define LOGIN_STATUS_DETAIL_INI_AUTHORIZATION   (2)
 
#define LOGIN_STATUS_DETAIL_INI_NOT_FOUND   (3)
 
#define LOGIN_STATUS_DETAIL_INI_TGT_REMOVED   (4)
 
#define LOGIN_STATUS_DETAIL_INI_UNSUPPORTED_VERSION   (5)
 
#define LOGIN_STATUS_DETAIL_INI_TOO_MANY_CXN   (6)
 
#define LOGIN_STATUS_DETAIL_INI_MISSING_PARAM   (7)
 
#define LOGIN_STATUS_DETAIL_INI_CANT_INCL_SESSION   (8)
 
#define LOGIN_STATUS_DETAIL_INI_SESSION_TYPE_NOT_SUP   (9)
 
#define LOGIN_STATUS_DETAIL_INI_SESSION_NOT_EXIST   (0xA)
 
#define LOGIN_STATUS_DETAIL_INI_INVALID_DURING_LGN   (0xB)
 
#define LOGIN_STATUS_DETAIL_TGT_MISC   (0)
 
#define LOGIN_STATUS_DETAIL_TGT_SERVICE_UNAVAILABLE   (1)
 
#define LOGIN_STATUS_DETAIL_TGT_OUT_OF_RSRC   (2)
 
#define LOGOUT_REASON_CLOSE_SESS   (0)
 
#define LOGOUT_REASON_CLOSE_CONN   (1)
 
#define LOGOUT_REASON_CLOSE_CONN_FOR_RECOVERY   (2)
 
#define LOGOUT_RESP_CONN_SESS_CLOSE_SUCCESS   (0)
 
#define LOGOUT_RESP_CID_NOT_FOUND   (1)
 
#define LOGOUT_RESP_CONN_RECOVERY_NOT_SUPPORTED   (2)
 
#define LOGOUT_RESP_LOGOUT_FAILED   (3)
 
#define SESSION_TYPE_NORMAL   (1)
 
#define SESSION_TYPE_DISCOVERY   (2)
 

Macro Details

#define ASYNC_EVENT_CONN_CLOSE   (2)

Definition at line 183 of file ocs_iscsi_spec.h.

#define ASYNC_EVENT_LOGOUT   (1)

Definition at line 182 of file ocs_iscsi_spec.h.

#define ASYNC_EVENT_PARAM_NEGOTIATE   (4)

Definition at line 185 of file ocs_iscsi_spec.h.

#define ASYNC_EVENT_SENSE_DATA   (0)

Definition at line 181 of file ocs_iscsi_spec.h.

#define ASYNC_EVENT_SESS_CLOSE   (3)

Definition at line 184 of file ocs_iscsi_spec.h.

#define ASYNC_EVENT_VENDOR_SPECIFIC   (255)

Definition at line 186 of file ocs_iscsi_spec.h.

#define CONN_STATE_CLEANUP   (8)

Definition at line 177 of file ocs_iscsi_spec.h.

#define CONN_STATE_FREE   (1)

Definition at line 170 of file ocs_iscsi_spec.h.

#define CONN_STATE_FULL_FEATURE   (5)

Definition at line 174 of file ocs_iscsi_spec.h.

#define CONN_STATE_IN_LOGOUT   (6)

Definition at line 175 of file ocs_iscsi_spec.h.

#define CONN_STATE_LOGIN_FAILED   (4)

Definition at line 173 of file ocs_iscsi_spec.h.

#define CONN_STATE_LOGIN_PROGRESS   (3)

Definition at line 172 of file ocs_iscsi_spec.h.

#define CONN_STATE_LOGOUT_REQUESTED   (7)

Definition at line 176 of file ocs_iscsi_spec.h.

#define CONN_STATE_NEW_CONN   (2)

Definition at line 171 of file ocs_iscsi_spec.h.

#define ISCSI_ABORT_TASK   (1)

Definition at line 43 of file ocs_iscsi_spec.h.

#define ISCSI_ABORT_TASK_SET   (2)

Definition at line 44 of file ocs_iscsi_spec.h.

#define ISCSI_ACA_TAG   (4)

Definition at line 94 of file ocs_iscsi_spec.h.

#define ISCSI_CLEAR_ACA   (3)

Definition at line 45 of file ocs_iscsi_spec.h.

#define ISCSI_CLEAR_TASK_SET   (4)

Definition at line 46 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_CMD   (1)

Definition at line 67 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_DATA_OUT   (5)

Definition at line 71 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_LOGIN   (3)

Definition at line 69 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_LOGOUT   (6)

Definition at line 72 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_NOOP   (0)

Definition at line 66 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_SNACK   (16)

Definition at line 73 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_TASK   (2)

Definition at line 68 of file ocs_iscsi_spec.h.

#define ISCSI_CMD_TEXT   (4)

Definition at line 70 of file ocs_iscsi_spec.h.

#define ISCSI_DEFAULT_TIME2RETAIN   (20)

Definition at line 134 of file ocs_iscsi_spec.h.

#define ISCSI_DEFAULT_TIME2WAIT   (2)

Definition at line 133 of file ocs_iscsi_spec.h.

#define ISCSI_FIRSTBURSTSIZE_DEFAULT   (8192)

Definition at line 135 of file ocs_iscsi_spec.h.

#define ISCSI_FIRSTBURSTSIZE_MIN   (512)

Definition at line 144 of file ocs_iscsi_spec.h.

#define ISCSI_HEAD_OF_QUEUE_TAG   (3)

Definition at line 93 of file ocs_iscsi_spec.h.

#define ISCSI_LUN_RESET   (5)

Definition at line 47 of file ocs_iscsi_spec.h.

#define ISCSI_MAX_TMF_OPCODE   (9)

Definition at line 51 of file ocs_iscsi_spec.h.

#define ISCSI_MAXBURSTSIZE_DEFAULT   (65536)

Definition at line 138 of file ocs_iscsi_spec.h.

#define ISCSI_MAXBURSTSIZE_MIN   (512)

Definition at line 143 of file ocs_iscsi_spec.h.

#define ISCSI_MAXCONNECTIONS_DEFAULT   (1)

Definition at line 132 of file ocs_iscsi_spec.h.

#define ISCSI_MAXCONNECTIONS_MIN   (1)

Definition at line 142 of file ocs_iscsi_spec.h.

#define ISCSI_MAXRXDATALENGTH_DEFAULT   (8192)

Definition at line 136 of file ocs_iscsi_spec.h.

#define ISCSI_MAXRXDATALENGTH_MIN   (512)

Definition at line 145 of file ocs_iscsi_spec.h.

#define ISCSI_MAXTXDATALENGTH_DEFAULT   (8192)

Definition at line 137 of file ocs_iscsi_spec.h.

#define ISCSI_MAXTXDATALENGTH_MIN   (512)

Definition at line 146 of file ocs_iscsi_spec.h.

#define ISCSI_ORDERED_QUEUE_TAG   (2)

Definition at line 92 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_CMD_NOT_SUPPORTED   (5)

Definition at line 121 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_DATA_DIGEST_ERR   (2)

Definition at line 118 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_IMM_CMD_REJECT   (6)

Definition at line 122 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_INVALID_DATA_ACK   (8)

Definition at line 124 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_INVALID_PDU_FIELD   (9)

Definition at line 125 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_LONG_OPERATION   (10)

Definition at line 126 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_NEG_RESET   (11)

Definition at line 127 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_PROTOCOL_ERR   (4)

Definition at line 120 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_SNACK_REJECT   (3)

Definition at line 119 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_TASK_IN_PROGRESS   (7)

Definition at line 123 of file ocs_iscsi_spec.h.

#define ISCSI_REJECT_REASON_WAITING_FOR_LOGOUT   (12)

Definition at line 128 of file ocs_iscsi_spec.h.

#define ISCSI_RESERVED_TTT   (4294967295)

Definition at line 98 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_ASYNC   (50)

Definition at line 85 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_DATAIN   (37)

Definition at line 82 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_LOGIN   (35)

Definition at line 80 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_LOGOUT   (38)

Definition at line 83 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_NOOP   (32)

Definition at line 77 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_R2T   (49)

Definition at line 84 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_REJECT   (63)

Definition at line 86 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_RESP   (33)

Definition at line 78 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_TASK   (34)

Definition at line 79 of file ocs_iscsi_spec.h.

#define ISCSI_RESP_TEXT   (36)

Definition at line 81 of file ocs_iscsi_spec.h.

#define ISCSI_RESPONSE_CMD_COMPLETED   (0)

Definition at line 113 of file ocs_iscsi_spec.h.

#define ISCSI_RESPONSE_TARGET_FAILURE   (1)

Definition at line 114 of file ocs_iscsi_spec.h.

#define ISCSI_SIMPLE_TAG   (1)

Definition at line 91 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_ACA_ACTIVE   (48)

Definition at line 107 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_BUSY   (8)

Definition at line 104 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_CHECK   (2)

Definition at line 103 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_GOOD   (0)

Definition at line 102 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_RESERVATION_CONFLICT   (24)

Definition at line 105 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_TASK_ABORTED   (64)

Definition at line 108 of file ocs_iscsi_spec.h.

#define ISCSI_STATUS_TASKSET_FULL   (40)

Definition at line 106 of file ocs_iscsi_spec.h.

#define ISCSI_TARGET_COLD_RESET   (7)

Definition at line 49 of file ocs_iscsi_spec.h.

#define ISCSI_TARGET_WARM_RESET   (6)

Definition at line 48 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_FUNCTION_AUTHORIZATION_FAILED   (6)

Definition at line 156 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_FUNCTION_COMPLETE   (0)

Definition at line 150 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_FUNCTION_REJECTED   (255)

Definition at line 157 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_LUN_DOES_NOT_EXIST   (2)

Definition at line 152 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_NOT_SUPPORTED   (5)

Definition at line 155 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_TASK_DOES_NOT_EXIST   (1)

Definition at line 151 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_TASK_REASSIGN_NOT_SUPPORTED   (4)

Definition at line 154 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_MGMT_TASK_STILL_ALLEGIANT   (3)

Definition at line 153 of file ocs_iscsi_spec.h.

#define ISCSI_TASK_REASSIGN   (8)

Definition at line 50 of file ocs_iscsi_spec.h.

#define ISCSI_UNTAGGED_TAG   (0)

Definition at line 90 of file ocs_iscsi_spec.h.

#define ISCSI_VERSION_MAX   (0)

Definition at line 55 of file ocs_iscsi_spec.h.

#define ISCSI_VERSION_MIN   (0)

Definition at line 56 of file ocs_iscsi_spec.h.

#define LOGIN_STAGE_FULL_FEATURE   (3)

Definition at line 62 of file ocs_iscsi_spec.h.

#define LOGIN_STAGE_NEGOTIATE_OPERATIONAL   (1)

Definition at line 61 of file ocs_iscsi_spec.h.

#define LOGIN_STAGE_NEGOTIATE_SECURITY   (0)

Definition at line 60 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_AUTHENTICATION   (1)

Definition at line 198 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_AUTHORIZATION   (2)

Definition at line 199 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_CANT_INCL_SESSION   (8)

Definition at line 205 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_INVALID_DURING_LGN   (0xB)

Definition at line 208 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_MISC   (0)

Definition at line 197 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_MISSING_PARAM   (7)

Definition at line 204 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_NOT_FOUND   (3)

Definition at line 200 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_SESSION_NOT_EXIST   (0xA)

Definition at line 207 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_SESSION_TYPE_NOT_SUP   (9)

Definition at line 206 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_TGT_REMOVED   (4)

Definition at line 201 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_TOO_MANY_CXN   (6)

Definition at line 203 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_INI_UNSUPPORTED_VERSION   (5)

Definition at line 202 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_TGT_MISC   (0)

Definition at line 212 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_TGT_OUT_OF_RSRC   (2)

Definition at line 214 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_DETAIL_TGT_SERVICE_UNAVAILABLE   (1)

Definition at line 213 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_INI_ERROR   (2)

Definition at line 192 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_REDIRECTION   (1)

Definition at line 191 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_SUCCESS   (0)

Definition at line 190 of file ocs_iscsi_spec.h.

#define LOGIN_STATUS_TGT_ERROR   (3)

Definition at line 193 of file ocs_iscsi_spec.h.

#define LOGOUT_REASON_CLOSE_CONN   (1)

Definition at line 219 of file ocs_iscsi_spec.h.

#define LOGOUT_REASON_CLOSE_CONN_FOR_RECOVERY   (2)

Definition at line 220 of file ocs_iscsi_spec.h.

#define LOGOUT_REASON_CLOSE_SESS   (0)

Definition at line 218 of file ocs_iscsi_spec.h.

#define LOGOUT_RESP_CID_NOT_FOUND   (1)

Definition at line 225 of file ocs_iscsi_spec.h.

#define LOGOUT_RESP_CONN_RECOVERY_NOT_SUPPORTED   (2)

Definition at line 226 of file ocs_iscsi_spec.h.

#define LOGOUT_RESP_CONN_SESS_CLOSE_SUCCESS   (0)

Definition at line 224 of file ocs_iscsi_spec.h.

#define LOGOUT_RESP_LOGOUT_FAILED   (3)

Definition at line 227 of file ocs_iscsi_spec.h.

#define SESS_STATE_ACTIVE   (2)

Definition at line 162 of file ocs_iscsi_spec.h.

#define SESS_STATE_FAILED   (5)

Definition at line 165 of file ocs_iscsi_spec.h.

#define SESS_STATE_FREE   (1)

Definition at line 161 of file ocs_iscsi_spec.h.

#define SESS_STATE_IN_CLEANUP   (4)

Definition at line 164 of file ocs_iscsi_spec.h.

#define SESS_STATE_IN_CONTINUE   (6)

Definition at line 166 of file ocs_iscsi_spec.h.

#define SESS_STATE_LOGGED_IN   (3)

Definition at line 163 of file ocs_iscsi_spec.h.

#define SESSION_TYPE_DISCOVERY   (2)

Definition at line 232 of file ocs_iscsi_spec.h.

#define SESSION_TYPE_NORMAL   (1)

Definition at line 231 of file ocs_iscsi_spec.h.