Lines Matching defs:iscsi_conn
153 struct iscsi_conn { struct
154 struct iscsi_cls_conn *cls_conn; /* ptr to class connection */
155 void *dd_data; /* iscsi_transport data */
156 struct iscsi_session *session; /* parent session */
160 int stop_stage;
161 struct timer_list transport_timer;
162 unsigned long last_recv;
163 unsigned long last_ping;
164 int ping_timeout;
165 int recv_timeout;
166 struct iscsi_task *ping_task;
169 uint32_t exp_statsn;
170 uint32_t statsn;
173 int id; /* CID */
174 int c_stage; /* connection state */
182 char *data;
183 struct iscsi_task *login_task; /* mtask used for login/text */
184 struct iscsi_task *task; /* xmit task in progress */
187 spinlock_t taskqueuelock; /* protects the next three lists */
188 struct list_head mgmtqueue; /* mgmt (control) xmit queue */
189 struct list_head cmdqueue; /* data-path cmd queue */
190 struct list_head requeue; /* tasks needing another run */
191 struct work_struct xmitwork; /* per-conn. xmit workqueue */
192 unsigned long suspend_tx; /* suspend Tx */
193 unsigned long suspend_rx; /* suspend Rx */
196 wait_queue_head_t ehwait; /* used in eh_abort() */
197 struct iscsi_tm tmhdr;
198 struct timer_list tmf_timer;
199 int tmf_state; /* see TMF_INITIAL, etc.*/
202 unsigned max_recv_dlength; /* initiator_max_recv_dsl*/
203 unsigned max_xmit_dlength; /* target_max_recv_dsl */
204 int hdrdgst_en;
205 int datadgst_en;
206 int ifmarker_en;
207 int ofmarker_en;
209 int persistent_port;
210 char *persistent_address;
212 unsigned max_segment_size;
213 unsigned tcp_xmit_wsf;
214 unsigned tcp_recv_wsf;
215 uint16_t keepalive_tmo;
216 uint16_t local_port;
217 uint8_t tcp_timestamp_stat;
218 uint8_t tcp_nagle_disable;
219 uint8_t tcp_wsf_disable;
220 uint8_t tcp_timer_scale;
221 uint8_t tcp_timestamp_en;
222 uint8_t fragment_disable;
223 uint8_t ipv4_tos;
224 uint8_t ipv6_traffic_class;
225 uint8_t ipv6_flow_label;
226 uint8_t is_fw_assigned_ipv6;
227 char *local_ipaddr;
230 uint64_t txdata_octets;
231 uint64_t rxdata_octets;
232 uint32_t scsicmd_pdus_cnt;
233 uint32_t dataout_pdus_cnt;
234 uint32_t scsirsp_pdus_cnt;
235 uint32_t datain_pdus_cnt;
236 uint32_t r2t_pdus_cnt;
237 uint32_t tmfcmd_pdus_cnt;
238 int32_t tmfrsp_pdus_cnt;
241 uint32_t eh_abort_cnt;
242 uint32_t fmr_unalign_cnt;