Linux Kernel
3.7.1
|
#include <linux/in.h>
#include <linux/configfs.h>
#include <net/sock.h>
#include <net/tcp.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/iscsi_proto.h>
#include <target/target_core_base.h>
#include "iscsi_target_stat.h"
Go to the source code of this file.
Data Structures | |
struct | iscsi_conn_ops |
struct | iscsi_sess_ops |
struct | iscsi_queue_req |
struct | iscsi_data_count |
struct | iscsi_param_list |
struct | iscsi_datain_req |
struct | iscsi_ooo_cmdsn |
struct | iscsi_datain |
struct | iscsi_r2t |
struct | iscsi_cmd |
struct | iscsi_tmr_req |
struct | iscsi_conn |
struct | iscsi_conn_recovery |
struct | iscsi_session |
struct | iscsi_login |
struct | iscsi_node_attrib |
struct | iscsi_node_auth |
struct | iscsi_node_stat_grps |
struct | iscsi_node_acl |
struct | iscsi_tpg_attrib |
struct | iscsi_np |
struct | iscsi_tpg_np |
struct | iscsi_portal_group |
struct | iscsi_wwn_stat_grps |
struct | iscsi_tiqn |
struct | iscsit_global |
Variables | |
struct iscsi_datain_req | ____cacheline_aligned |
#define IPV6_ADDRESS_SPACE 48 |
Definition at line 521 of file iscsi_target_core.h.
#define ISCSI_IOV_DATA_BUFFER 5 |
Definition at line 61 of file iscsi_target_core.h.
#define ISCSI_IQN_LEN 224 |
Definition at line 815 of file iscsi_target_core.h.
#define ISCSI_MAX_DATASN_MISSING_COUNT 16 |
Definition at line 13 of file iscsi_target_core.h.
#define ISCSI_MISC_IOVECS 5 |
Definition at line 445 of file iscsi_target_core.h.
Definition at line 725 of file iscsi_target_core.h.
Definition at line 726 of file iscsi_target_core.h.
#define ISCSI_RX_THREAD_TCP_TIMEOUT 2 |
Definition at line 15 of file iscsi_target_core.h.
#define ISCSI_SENSE_BUFFER_LEN (TRANSPORT_SENSE_BUFFER + 2) |
Definition at line 468 of file iscsi_target_core.h.
Definition at line 802 of file iscsi_target_core.h.
#define ISCSI_TPG_C | ( | c | ) | ((struct iscsi_portal_group *)(c)->tpg) |
Definition at line 799 of file iscsi_target_core.h.
Definition at line 800 of file iscsi_target_core.h.
#define ISCSI_TPG_S | ( | s | ) | ((struct iscsi_portal_group *)(s)->tpg) |
Definition at line 801 of file iscsi_target_core.h.
#define ISCSI_TX_THREAD_TCP_TIMEOUT 2 |
Definition at line 14 of file iscsi_target_core.h.
#define ISCSIT_VERSION "v4.1.0-rc2" |
Definition at line 12 of file iscsi_target_core.h.
#define MAX_PASS_LEN 256 |
Definition at line 702 of file iscsi_target_core.h.
#define MAX_USER_LEN 256 |
Definition at line 701 of file iscsi_target_core.h.
#define NA_DATAOUT_TIMEOUT 3 |
Definition at line 22 of file iscsi_target_core.h.
#define NA_DATAOUT_TIMEOUT_MAX 60 |
Definition at line 23 of file iscsi_target_core.h.
#define NA_DATAOUT_TIMEOUT_MIX 2 |
Definition at line 24 of file iscsi_target_core.h.
#define NA_DATAOUT_TIMEOUT_RETRIES 5 |
Definition at line 25 of file iscsi_target_core.h.
#define NA_DATAOUT_TIMEOUT_RETRIES_MAX 15 |
Definition at line 26 of file iscsi_target_core.h.
#define NA_DATAOUT_TIMEOUT_RETRIES_MIN 1 |
Definition at line 27 of file iscsi_target_core.h.
#define NA_DEFAULT_ERL 0 |
Definition at line 37 of file iscsi_target_core.h.
#define NA_DEFAULT_ERL_MAX 2 |
Definition at line 38 of file iscsi_target_core.h.
#define NA_DEFAULT_ERL_MIN 0 |
Definition at line 39 of file iscsi_target_core.h.
#define NA_NOPIN_RESPONSE_TIMEOUT 30 |
Definition at line 31 of file iscsi_target_core.h.
#define NA_NOPIN_RESPONSE_TIMEOUT_MAX 60 |
Definition at line 32 of file iscsi_target_core.h.
#define NA_NOPIN_RESPONSE_TIMEOUT_MIN 3 |
Definition at line 33 of file iscsi_target_core.h.
#define NA_NOPIN_TIMEOUT 15 |
Definition at line 28 of file iscsi_target_core.h.
#define NA_NOPIN_TIMEOUT_MAX 60 |
Definition at line 29 of file iscsi_target_core.h.
#define NA_NOPIN_TIMEOUT_MIN 3 |
Definition at line 30 of file iscsi_target_core.h.
#define NA_RANDOM_DATAIN_PDU_OFFSETS 0 |
Definition at line 34 of file iscsi_target_core.h.
#define NA_RANDOM_DATAIN_SEQ_OFFSETS 0 |
Definition at line 35 of file iscsi_target_core.h.
#define NA_RANDOM_R2T_OFFSETS 0 |
Definition at line 36 of file iscsi_target_core.h.
#define NODE_STAT_GRPS | ( | nacl | ) | (&(nacl)->node_stat_grps) |
Definition at line 723 of file iscsi_target_core.h.
#define SE_TPG | ( | tpg | ) | (&(tpg)->tpg_se_tpg) |
Definition at line 803 of file iscsi_target_core.h.
#define SECONDS_FOR_ASYNC_LOGOUT 10 |
Definition at line 16 of file iscsi_target_core.h.
#define SECONDS_FOR_ASYNC_TEXT 10 |
Definition at line 17 of file iscsi_target_core.h.
#define SECONDS_FOR_LOGOUT_COMP 15 |
Definition at line 18 of file iscsi_target_core.h.
#define TA_AUTHENTICATION 1 |
Definition at line 42 of file iscsi_target_core.h.
#define TA_CACHE_CORE_NPS 0 |
Definition at line 58 of file iscsi_target_core.h.
#define TA_CACHE_DYNAMIC_ACLS 0 |
Definition at line 53 of file iscsi_target_core.h.
#define TA_DEFAULT_CMDSN_DEPTH 16 |
Definition at line 50 of file iscsi_target_core.h.
#define TA_DEFAULT_CMDSN_DEPTH_MAX 512 |
Definition at line 51 of file iscsi_target_core.h.
#define TA_DEFAULT_CMDSN_DEPTH_MIN 1 |
Definition at line 52 of file iscsi_target_core.h.
#define TA_DEMO_MODE_WRITE_PROTECT 1 |
Definition at line 55 of file iscsi_target_core.h.
#define TA_GENERATE_NODE_ACLS 0 |
Definition at line 49 of file iscsi_target_core.h.
#define TA_LOGIN_TIMEOUT 15 |
Definition at line 43 of file iscsi_target_core.h.
#define TA_LOGIN_TIMEOUT_MAX 30 |
Definition at line 44 of file iscsi_target_core.h.
#define TA_LOGIN_TIMEOUT_MIN 5 |
Definition at line 45 of file iscsi_target_core.h.
#define TA_NETIF_TIMEOUT 2 |
Definition at line 46 of file iscsi_target_core.h.
#define TA_NETIF_TIMEOUT_MAX 15 |
Definition at line 47 of file iscsi_target_core.h.
#define TA_NETIF_TIMEOUT_MIN 2 |
Definition at line 48 of file iscsi_target_core.h.
#define TA_PROD_MODE_WRITE_PROTECT 0 |
Definition at line 57 of file iscsi_target_core.h.
#define WHITE_SPACE " \t\v\f\n\r" |
Definition at line 19 of file iscsi_target_core.h.
#define WWN_STAT_GRPS | ( | tiqn | ) | (&(tiqn)->tiqn_stat_grps) |
Definition at line 835 of file iscsi_target_core.h.
enum cmd_flags_table |
ICF_GOT_LAST_DATAOUT | |
ICF_GOT_DATACK_SNACK | |
ICF_NON_IMMEDIATE_UNSOLICITED_DATA | |
ICF_SENT_LAST_R2T | |
ICF_WITHIN_COMMAND_RECOVERY | |
ICF_CONTIG_MEMORY | |
ICF_ATTACHED_TO_RQUEUE | |
ICF_OOO_CMDSN | |
ICF_REJECT_FAIL_CONN |
Definition at line 126 of file iscsi_target_core.h.
enum cmd_i_state_table |
Definition at line 139 of file iscsi_target_core.h.
enum data_count_type |
Definition at line 93 of file iscsi_target_core.h.
DATAIN_COMPLETE_NORMAL | |
DATAIN_COMPLETE_WITHIN_COMMAND_RECOVERY | |
DATAIN_COMPLETE_CONNECTION_RECOVERY |
Definition at line 99 of file iscsi_target_core.h.
enum datain_req_rec_table |
Definition at line 106 of file iscsi_target_core.h.
DATAOUT_CANNOT_RECOVER | |
DATAOUT_NORMAL | |
DATAOUT_SEND_R2T | |
DATAOUT_SEND_TO_TRANSPORT | |
DATAOUT_WITHIN_COMMAND_RECOVERY |
Definition at line 201 of file iscsi_target_core.h.
IMMEDIATE_DATA_CANNOT_RECOVER | |
IMMEDIATE_DATA_NORMAL_OPERATION | |
IMMEDIATE_DATA_ERL1_CRC_FAILURE |
Definition at line 194 of file iscsi_target_core.h.
Definition at line 218 of file iscsi_target_core.h.
enum naf_flags_table |
Definition at line 210 of file iscsi_target_core.h.
enum np_flags_table |
Definition at line 225 of file iscsi_target_core.h.
ISCSI_NP_THREAD_ACTIVE | |
ISCSI_NP_THREAD_INACTIVE | |
ISCSI_NP_THREAD_RESET | |
ISCSI_NP_THREAD_SHUTDOWN | |
ISCSI_NP_THREAD_EXIT |
Definition at line 230 of file iscsi_target_core.h.
CMDSN_ERROR_CANNOT_RECOVER | |
CMDSN_NORMAL_OPERATION | |
CMDSN_LOWER_THAN_EXP | |
CMDSN_HIGHER_THAN_EXP |
Definition at line 186 of file iscsi_target_core.h.
TARG_CONN_STATE_FREE | |
TARG_CONN_STATE_XPT_UP | |
TARG_CONN_STATE_IN_LOGIN | |
TARG_CONN_STATE_LOGGED_IN | |
TARG_CONN_STATE_IN_LOGOUT | |
TARG_CONN_STATE_LOGOUT_REQUESTED | |
TARG_CONN_STATE_CLEANUP_WAIT |
Definition at line 73 of file iscsi_target_core.h.
TARG_SESS_STATE_FREE | |
TARG_SESS_STATE_ACTIVE | |
TARG_SESS_STATE_LOGGED_IN | |
TARG_SESS_STATE_FAILED | |
TARG_SESS_STATE_IN_CONTINUE |
Definition at line 84 of file iscsi_target_core.h.
enum tiqn_state_table |
Definition at line 120 of file iscsi_target_core.h.
ISCSI_TCP | |
ISCSI_SCTP_TCP | |
ISCSI_SCTP_UDP | |
ISCSI_IWARP_TCP | |
ISCSI_IWARP_SCTP | |
ISCSI_INFINIBAND |
Definition at line 63 of file iscsi_target_core.h.
enum tpg_state_table |
Definition at line 112 of file iscsi_target_core.h.