Lines Matching defs:iscsi_conn
166 struct iscsi_conn { struct
167 struct iscsi_cls_conn *cls_conn; /* ptr to class connection */
168 void *dd_data; /* iscsi_transport data */
169 struct iscsi_session *session; /* parent session */
173 int stop_stage;
174 struct timer_list transport_timer;
175 unsigned long last_recv;
176 unsigned long last_ping;
177 int ping_timeout;
178 int recv_timeout;
179 struct iscsi_task *ping_task;
182 uint32_t exp_statsn;
183 uint32_t statsn;
186 int id; /* CID */
187 int c_stage; /* connection state */
195 char *data;
196 struct iscsi_task *login_task; /* mtask used for login/text */
197 struct iscsi_task *task; /* xmit task in progress */
200 spinlock_t taskqueuelock; /* protects the next three lists */
201 struct list_head mgmtqueue; /* mgmt (control) xmit queue */
202 struct list_head cmdqueue; /* data-path cmd queue */
203 struct list_head requeue; /* tasks needing another run */
204 struct work_struct xmitwork; /* per-conn. xmit workqueue */
205 unsigned long suspend_tx; /* suspend Tx */
206 unsigned long suspend_rx; /* suspend Rx */
209 wait_queue_head_t ehwait; /* used in eh_abort() */
210 struct iscsi_tm tmhdr;
211 struct timer_list tmf_timer;
212 int tmf_state; /* see TMF_INITIAL, etc.*/
215 unsigned max_recv_dlength; /* initiator_max_recv_dsl*/
216 unsigned max_xmit_dlength; /* target_max_recv_dsl */
217 int hdrdgst_en;
218 int datadgst_en;
219 int ifmarker_en;
220 int ofmarker_en;
222 int persistent_port;
223 char *persistent_address;
225 unsigned max_segment_size;
226 unsigned tcp_xmit_wsf;
227 unsigned tcp_recv_wsf;
228 uint16_t keepalive_tmo;
229 uint16_t local_port;
230 uint8_t tcp_timestamp_stat;
231 uint8_t tcp_nagle_disable;
232 uint8_t tcp_wsf_disable;
233 uint8_t tcp_timer_scale;
234 uint8_t tcp_timestamp_en;
235 uint8_t fragment_disable;
236 uint8_t ipv4_tos;
237 uint8_t ipv6_traffic_class;
238 uint8_t ipv6_flow_label;
239 uint8_t is_fw_assigned_ipv6;
240 char *local_ipaddr;
243 uint64_t txdata_octets;
244 uint64_t rxdata_octets;
245 uint32_t scsicmd_pdus_cnt;
246 uint32_t dataout_pdus_cnt;
247 uint32_t scsirsp_pdus_cnt;
248 uint32_t datain_pdus_cnt;
249 uint32_t r2t_pdus_cnt;
250 uint32_t tmfcmd_pdus_cnt;
251 int32_t tmfrsp_pdus_cnt;
254 uint32_t eh_abort_cnt;
255 uint32_t fmr_unalign_cnt;