:orphan: .. index:: pair: struct; iscsi_initiator_data .. _doxid-structiscsi__initiator__data: struct iscsi_initiator_data =========================== .. toctree:: :hidden: Overview ~~~~~~~~ Initiator data structure. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct iscsi_initiator_data { // fields :ref:`iscsi_initiator_type` :ref:`init_type`; :ref:`iscsi_initiator_control_t` :ref:`handler`; int :ref:`host_bus_adapter`; int :ref:`verbosity`; int :target:`win32_service_restart`; unsigned long :ref:`retry_timeout`; int :ref:`retry_attempts`; char :ref:`script_path`[ISCSI_MAX_CMD_SIZE]; int :ref:`n_targets`; int :ref:`n_connections`; :ref:`iscsi_target_data_t` :ref:`targets`[ISCSI_MAX_TARGETS_NUMBER]; pthread_mutex_t :ref:`mutex`; sem_t :ref:`request_sem`; bool :target:`request_thread_started`; pthread_t :target:`request_thread`; pthread_t :target:`timer_thread`; :ref:`iscsi_connection_req`* :ref:`request_queue_head`; :ref:`iscsi_connection_req`* :ref:`request_queue_tail`; }; .. _details-structiscsi__initiator__data: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Initiator data structure. Contains general information about the Initiator and per target data. Fields ------ .. index:: pair: variable; init_type .. _doxid-structiscsi__initiator__data_1a206cce5b5dbd6cab77b7fbc9699cbf42: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_initiator_type` init_type Type of the Initiator .. index:: pair: variable; handler .. _doxid-structiscsi__initiator__data_1ab92ba97ccfaff13729b8c65caa37c792: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_initiator_control_t` handler Connection request handler .. index:: pair: variable; host_bus_adapter .. _doxid-structiscsi__initiator__data_1abf8d929a1624d563b09728d8ab0460b4: .. ref-code-block:: cpp :class: doxyrest-title-code-block int host_bus_adapter Number of the host bus adapter. Usually 0 .. index:: pair: variable; verbosity .. _doxid-structiscsi__initiator__data_1aba51cd160f563b67423a3f7456ef458a: .. ref-code-block:: cpp :class: doxyrest-title-code-block int verbosity Initiator verbosity level Win32 iSCSI Service Restart Requirement .. index:: pair: variable; retry_timeout .. _doxid-structiscsi__initiator__data_1aa9ed6df05dd3113a002de4bc1df0d158: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned long retry_timeout A time slice to wait for device readiness (usecs) .. index:: pair: variable; retry_attempts .. _doxid-structiscsi__initiator__data_1a4f0a58c4c2b5e5d4719542e43666a2b7: .. ref-code-block:: cpp :class: doxyrest-title-code-block int retry_attempts Number of times to probe iSCSI device readiness .. index:: pair: variable; script_path .. _doxid-structiscsi__initiator__data_1acf6306e02df3edf75686d6d1f493669c: .. ref-code-block:: cpp :class: doxyrest-title-code-block char script_path[ISCSI_MAX_CMD_SIZE] Path to iSCSI config scripts .. index:: pair: variable; n_targets .. _doxid-structiscsi__initiator__data_1a0668a58be479046824abcb21ef1ca1b2: .. ref-code-block:: cpp :class: doxyrest-title-code-block int n_targets Number of configured targets .. index:: pair: variable; n_connections .. _doxid-structiscsi__initiator__data_1a626c152fc12ddd345b065e46d069a154: .. ref-code-block:: cpp :class: doxyrest-title-code-block int n_connections Total number of brought up connections .. index:: pair: variable; targets .. _doxid-structiscsi__initiator__data_1a45275e566af812648836768c9ff81740: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_target_data_t` targets[ISCSI_MAX_TARGETS_NUMBER] Per target data .. index:: pair: variable; mutex .. _doxid-structiscsi__initiator__data_1a6b5007cb60984ef9f030c11f2ad7e7a0: .. ref-code-block:: cpp :class: doxyrest-title-code-block pthread_mutex_t mutex Structure mutex .. index:: pair: variable; request_sem .. _doxid-structiscsi__initiator__data_1a17f8cfa8125ad68b5a85afbafc898161: .. ref-code-block:: cpp :class: doxyrest-title-code-block sem_t request_sem Pending request semaphore .. index:: pair: variable; request_queue_head .. _doxid-structiscsi__initiator__data_1a6e7916eed496978dc4b757f1a737ef59: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_connection_req`* request_queue_head Request queue head .. index:: pair: variable; request_queue_tail .. _doxid-structiscsi__initiator__data_1a3369e979cca8f882678afe7267187665: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`iscsi_connection_req`* request_queue_tail Request queue tail