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