:orphan: .. index:: pair: struct; iscsi_connection_data .. _doxid-structiscsi__connection__data: struct iscsi_connection_data ============================ .. toctree:: :hidden: Overview ~~~~~~~~ Parameters of an iSCSI connection, including its iSCSI operational and security parameters, its status (DOWN, UP etc) and a SCSI device name associated with that connection. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct iscsi_connection_data { // fields :ref:`iscsi_connection_status` :ref:`status`; int :ref:`conf_params`; char :ref:`initiator_name`[ISCSI_MAX_NAME_LENGTH]; char :ref:`initiator_alias`[ISCSI_MAX_NAME_LENGTH]; int :ref:`max_connections`; char :ref:`initial_r2t`[ISCSI_BOOLEAN_LENGTH]; char :ref:`header_digest`[ISCSI_DIGEST_LENGTH]; char :ref:`data_digest`[ISCSI_DIGEST_LENGTH]; char :ref:`immediate_data`[ISCSI_BOOLEAN_LENGTH]; int :ref:`max_recv_data_segment_length`; int :ref:`first_burst_length`; int :ref:`max_burst_length`; int :ref:`default_time2wait`; int :ref:`default_time2retain`; int :ref:`max_outstanding_r2t`; char :ref:`data_pdu_in_order`[ISCSI_BOOLEAN_LENGTH]; char :ref:`data_sequence_in_order`[ISCSI_BOOLEAN_LENGTH]; int :ref:`error_recovery_level`; char :ref:`session_type`[ISCSI_SESSION_TYPE_LENGTH]; :ref:`iscsi_tgt_chap_data_t` :ref:`chap`; char :target:`device_name`[ISCSI_MAX_DEVICE_NAME_LEN]; char :target:`scsi_generic_device_name`[ISCSI_MAX_DEVICE_NAME_LEN]; char :ref:`connection_id`[ISCSI_SESSION_ID_LENGTH]; int :ref:`prepare_device_attempts`; pthread_mutex_t :ref:`status_mutex`; }; .. _details-structiscsi__connection__data: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Parameters of an iSCSI connection, including its iSCSI operational and security parameters, its status (DOWN, UP etc) and a SCSI device name associated with that connection. Fields ------ .. index:: pair: variable; status .. _doxid-structiscsi__connection__data_1a0b9c57640c5935b56be4f73171d30e87: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_connection_status` status Connection status (UP, DOWN etc) .. index:: pair: variable; conf_params .. _doxid-structiscsi__connection__data_1aeb8d922708cdfb4c3226f03c61622be5: .. ref-code-block:: cpp :class: doxyrest-title-code-block int conf_params OR of OFFER_XXX flags .. index:: pair: variable; initiator_name .. _doxid-structiscsi__connection__data_1a78a0e34954a9bd7b1f76fbbe05178d75: .. ref-code-block:: cpp :class: doxyrest-title-code-block char initiator_name[ISCSI_MAX_NAME_LENGTH] InitiatorName .. index:: pair: variable; initiator_alias .. _doxid-structiscsi__connection__data_1a72b6d367ed22db9080318f0684d8d283: .. ref-code-block:: cpp :class: doxyrest-title-code-block char initiator_alias[ISCSI_MAX_NAME_LENGTH] InitiatorAlias .. index:: pair: variable; max_connections .. _doxid-structiscsi__connection__data_1a9fdcfec054dcd04a1db6fe9488481cf1: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_connections MaxConnections .. index:: pair: variable; initial_r2t .. _doxid-structiscsi__connection__data_1a854a4ed813561b47c70ec651277e0123: .. ref-code-block:: cpp :class: doxyrest-title-code-block char initial_r2t[ISCSI_BOOLEAN_LENGTH] InitialR2T .. index:: pair: variable; header_digest .. _doxid-structiscsi__connection__data_1ab73d9563d7cf62e6952a6672f138b77d: .. ref-code-block:: cpp :class: doxyrest-title-code-block char header_digest[ISCSI_DIGEST_LENGTH] HeaderDigest .. index:: pair: variable; data_digest .. _doxid-structiscsi__connection__data_1a1b3ef07c34c9d2f3bc4afe4c87ae0f03: .. ref-code-block:: cpp :class: doxyrest-title-code-block char data_digest[ISCSI_DIGEST_LENGTH] DataDigest .. index:: pair: variable; immediate_data .. _doxid-structiscsi__connection__data_1af73ff73bcdf083e3acb9a01654d73165: .. ref-code-block:: cpp :class: doxyrest-title-code-block char immediate_data[ISCSI_BOOLEAN_LENGTH] ImmediateData .. index:: pair: variable; max_recv_data_segment_length .. _doxid-structiscsi__connection__data_1a115a696ca970f6d43c8c6d4f0c7442cf: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_recv_data_segment_length MaxRecvDataSegmentLength .. index:: pair: variable; first_burst_length .. _doxid-structiscsi__connection__data_1af040a60408ad6b0b7ee48f866ead762b: .. ref-code-block:: cpp :class: doxyrest-title-code-block int first_burst_length FirstBurstLength .. index:: pair: variable; max_burst_length .. _doxid-structiscsi__connection__data_1aa054b3ff4abc09ce1941540678c95cca: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_burst_length MaxBurstLength (>= FirstBurstLength) .. index:: pair: variable; default_time2wait .. _doxid-structiscsi__connection__data_1af96ee230a0ac92e801b2d0c4f4100348: .. ref-code-block:: cpp :class: doxyrest-title-code-block int default_time2wait DefaultTime2Wait .. index:: pair: variable; default_time2retain .. _doxid-structiscsi__connection__data_1a95339e0457ce6f05c33b6a0da46882d7: .. ref-code-block:: cpp :class: doxyrest-title-code-block int default_time2retain DefaultTime2Retain .. index:: pair: variable; max_outstanding_r2t .. _doxid-structiscsi__connection__data_1a285ef1b99f9b0a00e7fa919a4dcfdbd2: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_outstanding_r2t MaxOutstandingR2T .. index:: pair: variable; data_pdu_in_order .. _doxid-structiscsi__connection__data_1a7dd135316c5c2d3f18489607f80fb0b9: .. ref-code-block:: cpp :class: doxyrest-title-code-block char data_pdu_in_order[ISCSI_BOOLEAN_LENGTH] DataPDUInOrder .. index:: pair: variable; data_sequence_in_order .. _doxid-structiscsi__connection__data_1a83589f51350975e007a82ace82b01e9d: .. ref-code-block:: cpp :class: doxyrest-title-code-block char data_sequence_in_order[ISCSI_BOOLEAN_LENGTH] DataSequenceInOrder .. index:: pair: variable; error_recovery_level .. _doxid-structiscsi__connection__data_1acbc3173a56f1aa824e05735f45a37628: .. ref-code-block:: cpp :class: doxyrest-title-code-block int error_recovery_level ErrorRecoveryLevel .. index:: pair: variable; session_type .. _doxid-structiscsi__connection__data_1a8ce6cb9b35c21be0c3beecf845496e5d: .. ref-code-block:: cpp :class: doxyrest-title-code-block char session_type[ISCSI_SESSION_TYPE_LENGTH] SessionType .. index:: pair: variable; chap .. _doxid-structiscsi__connection__data_1a3ce873dd06ae8d0ecc36155d5f211103: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_tgt_chap_data_t` chap Security related data .. index:: pair: variable; connection_id .. _doxid-structiscsi__connection__data_1aef16f158293bdd1c2e7bfe9e9d4bf1af: .. ref-code-block:: cpp :class: doxyrest-title-code-block char connection_id[ISCSI_SESSION_ID_LENGTH] Windows iSCSI connection ID .. index:: pair: variable; prepare_device_attempts .. _doxid-structiscsi__connection__data_1ad143997f9a2cf871302d29e1911b72a2: .. ref-code-block:: cpp :class: doxyrest-title-code-block int prepare_device_attempts How many checks were made for device readiness .. index:: pair: variable; status_mutex .. _doxid-structiscsi__connection__data_1a3c930e6d9272caf49ef7924e33b56f59: .. ref-code-block:: cpp :class: doxyrest-title-code-block pthread_mutex_t status_mutex Mutex to guard status field