Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_cxn_t Struct Reference

Connection object. More...

#include <ocs_common.h>

Detailed Description

Connection object.

The connection object represents the connection between the driver and the remote port. It is possible to have multiple connections to the same remote port.

Definition at line 304 of file ocs_common.h.

Data Fields

ocs_t * ocs
 
uint32_t instance_index
 
char display_name [OCS_DISPLAY_NAME_LENGTH]
 
ocs_sport_t * sport
 
uint32_t hold_frames:1
 
ocs_rlock_t lock
 
ocs_lock_t active_ios_lock
 
ocs_list_t active_ios
 
uint32_t max_wr_xfer_size
 
ocs_scsi_ini_node_t ini_node
 
ocs_scsi_tgt_node_t tgt_node
 
ocs_mgmt_functions_t * mgmt_functions
 
ocs_list_link_t link
 
ocs_list_link_t sess_link
 
ocs_sm_ctx_t sm
 
ocs_timer_t sm_retry_timer
 
uint32_t conn_hdl
 
uint16_t wq_id
 
uint16_t wq_index
 
uint16_t cq_index
 
ocs_dma_t dataout_tmpl
 
uint16_t cid
 
uint16_t rqindex
 
uint32_t hdr_digest:1
 
uint32_t data_digest:1
 
uint32_t max_rcv_dsl
 
uint32_t max_xmit_dsl
 
uint8_t data_digest_error
 
struct ocs_hal_rq_buffer_s * hdr_buf
 
uint16_t hdr_length
 
uint8_t source_ip_type
 
uint8_t source_ip [16]
 
uint16_t source_port
 
uint8_t dest_ip_type
 
uint8_t dest_ip [16]
 
uint16_t dest_port
 
uint32_t tcp_mss
 
uint8_t tcp_wscale
 
ocs_session_t * session
 
uint8_t is_ini_cxn
 
void * iscsi
 
ocs_dma_t login_hdr_mem
 
ocs_dma_t login_data_mem
 
ocs_atomic_t login_mem_in_use
 
uint8_t cxn_state
 
uint8_t is_leading_login
 
uint8_t is_first_login_rsp
 
uint8_t send_logout_rsp
 
uint8_t logout_rsp
 
uint32_t logout_itt
 
uint8_t sendRst
 
uint8_t idle_count
 
uint64_t lgn_parms_sent
 
uint64_t lgn_parms_recv
 
uint32_t stat_sn
 
uint8_t no_idle_timer
 
ocs_list_t aborted_ios
 
ocs_atomic_t nop_abort_counter
 
uint8_t nop_sent_for_tm
 
ocs_list_t cbit_list
 
char * cbit_recv
 
uint32_t cbit_recv_len
 
char * cbit_rsp
 
uint32_t cbit_rsp_alloc_size
 
uint32_t cbit_rsp_len
 
uint32_t cbit_rsp_offset
 
uint8_t use_chap
 
uint32_t chap_state
 
uint8_t chap_ident_sent
 
uint8_t chap_challenge_sent [OCS_CHAP_CHALLENGE_SIZE]
 
uint8_t chap_ident_recv
 
char * chap_challenge_recv
 
char * chap_response
 
char * chap_name_recv
 
char * chap_name_send
 
uint8_t ffp_is_neg_active
 
uint32_t ffp_itt
 
ocs_timer_t ffp_timer
 
uint8_t text_hdr [48]
 

Field Documentation

ocs_list_t ocs_cxn_t::aborted_ios

aborted I/O's for this node

Definition at line 385 of file ocs_common.h.

ocs_list_t ocs_cxn_t::active_ios

active I/O's for this node

Definition at line 313 of file ocs_common.h.

ocs_lock_t ocs_cxn_t::active_ios_lock

active SCSI and XPORT I/O's for this node

Definition at line 312 of file ocs_common.h.

ocs_list_t ocs_cxn_t::cbit_list

Definition at line 390 of file ocs_common.h.

char* ocs_cxn_t::cbit_recv

Definition at line 391 of file ocs_common.h.

uint32_t ocs_cxn_t::cbit_recv_len

Definition at line 392 of file ocs_common.h.

char* ocs_cxn_t::cbit_rsp

Definition at line 393 of file ocs_common.h.

uint32_t ocs_cxn_t::cbit_rsp_alloc_size

Definition at line 394 of file ocs_common.h.

uint32_t ocs_cxn_t::cbit_rsp_len

Definition at line 395 of file ocs_common.h.

uint32_t ocs_cxn_t::cbit_rsp_offset

Definition at line 396 of file ocs_common.h.

char* ocs_cxn_t::chap_challenge_recv

Definition at line 404 of file ocs_common.h.

uint8_t ocs_cxn_t::chap_challenge_sent[OCS_CHAP_CHALLENGE_SIZE]

Definition at line 402 of file ocs_common.h.

uint8_t ocs_cxn_t::chap_ident_recv

Definition at line 403 of file ocs_common.h.

uint8_t ocs_cxn_t::chap_ident_sent

Definition at line 401 of file ocs_common.h.

char* ocs_cxn_t::chap_name_recv

Definition at line 406 of file ocs_common.h.

char* ocs_cxn_t::chap_name_send

Definition at line 407 of file ocs_common.h.

char* ocs_cxn_t::chap_response

Definition at line 405 of file ocs_common.h.

uint32_t ocs_cxn_t::chap_state

Definition at line 400 of file ocs_common.h.

uint16_t ocs_cxn_t::cid

Definition at line 331 of file ocs_common.h.

uint32_t ocs_cxn_t::conn_hdl

Definition at line 326 of file ocs_common.h.

uint16_t ocs_cxn_t::cq_index

Definition at line 329 of file ocs_common.h.

uint8_t ocs_cxn_t::cxn_state

Definition at line 371 of file ocs_common.h.

uint32_t ocs_cxn_t::data_digest

Definition at line 334 of file ocs_common.h.

uint8_t ocs_cxn_t::data_digest_error

Definition at line 340 of file ocs_common.h.

ocs_dma_t ocs_cxn_t::dataout_tmpl

Definition at line 330 of file ocs_common.h.

uint8_t ocs_cxn_t::dest_ip[16]

Definition at line 351 of file ocs_common.h.

uint8_t ocs_cxn_t::dest_ip_type

Definition at line 350 of file ocs_common.h.

uint16_t ocs_cxn_t::dest_port

Definition at line 352 of file ocs_common.h.

char ocs_cxn_t::display_name[OCS_DISPLAY_NAME_LENGTH]

Node display name

Definition at line 308 of file ocs_common.h.

uint8_t ocs_cxn_t::ffp_is_neg_active

Definition at line 410 of file ocs_common.h.

uint32_t ocs_cxn_t::ffp_itt

Definition at line 411 of file ocs_common.h.

ocs_timer_t ocs_cxn_t::ffp_timer

Definition at line 412 of file ocs_common.h.

struct ocs_hal_rq_buffer_s* ocs_cxn_t::hdr_buf

Definition at line 341 of file ocs_common.h.

uint32_t ocs_cxn_t::hdr_digest

Definition at line 334 of file ocs_common.h.

uint16_t ocs_cxn_t::hdr_length

Definition at line 342 of file ocs_common.h.

uint32_t ocs_cxn_t::hold_frames

hold incoming frames if true

Definition at line 310 of file ocs_common.h.

uint8_t ocs_cxn_t::idle_count

Definition at line 378 of file ocs_common.h.

ocs_scsi_ini_node_t ocs_cxn_t::ini_node

backend initiator private node data

Definition at line 315 of file ocs_common.h.

uint32_t ocs_cxn_t::instance_index

unique instance index value

Definition at line 307 of file ocs_common.h.

uint8_t ocs_cxn_t::is_first_login_rsp

Definition at line 373 of file ocs_common.h.

uint8_t ocs_cxn_t::is_ini_cxn

Definition at line 362 of file ocs_common.h.

uint8_t ocs_cxn_t::is_leading_login

Definition at line 372 of file ocs_common.h.

void* ocs_cxn_t::iscsi

Definition at line 367 of file ocs_common.h.

uint64_t ocs_cxn_t::lgn_parms_recv

Definition at line 380 of file ocs_common.h.

uint64_t ocs_cxn_t::lgn_parms_sent

Definition at line 379 of file ocs_common.h.

ocs_list_link_t ocs_cxn_t::link

Definition at line 322 of file ocs_common.h.

ocs_rlock_t ocs_cxn_t::lock

node wide lock

Definition at line 311 of file ocs_common.h.

ocs_dma_t ocs_cxn_t::login_data_mem

Definition at line 369 of file ocs_common.h.

ocs_dma_t ocs_cxn_t::login_hdr_mem

Definition at line 368 of file ocs_common.h.

ocs_atomic_t ocs_cxn_t::login_mem_in_use

Definition at line 370 of file ocs_common.h.

uint32_t ocs_cxn_t::logout_itt

Definition at line 376 of file ocs_common.h.

uint8_t ocs_cxn_t::logout_rsp

Definition at line 375 of file ocs_common.h.

uint32_t ocs_cxn_t::max_rcv_dsl

Definition at line 336 of file ocs_common.h.

uint32_t ocs_cxn_t::max_wr_xfer_size

Max write IO size per phase for the transport

Definition at line 314 of file ocs_common.h.

uint32_t ocs_cxn_t::max_xmit_dsl

Definition at line 337 of file ocs_common.h.

ocs_mgmt_functions_t* ocs_cxn_t::mgmt_functions

Definition at line 317 of file ocs_common.h.

uint8_t ocs_cxn_t::no_idle_timer

Definition at line 382 of file ocs_common.h.

ocs_atomic_t ocs_cxn_t::nop_abort_counter

Definition at line 386 of file ocs_common.h.

uint8_t ocs_cxn_t::nop_sent_for_tm

Definition at line 387 of file ocs_common.h.

ocs_t* ocs_cxn_t::ocs

pointer back to ocs structure

Definition at line 306 of file ocs_common.h.

uint16_t ocs_cxn_t::rqindex

Definition at line 332 of file ocs_common.h.

uint8_t ocs_cxn_t::send_logout_rsp

Definition at line 374 of file ocs_common.h.

uint8_t ocs_cxn_t::sendRst

Definition at line 377 of file ocs_common.h.

ocs_list_link_t ocs_cxn_t::sess_link

Definition at line 323 of file ocs_common.h.

ocs_session_t* ocs_cxn_t::session

Definition at line 361 of file ocs_common.h.

ocs_sm_ctx_t ocs_cxn_t::sm

Definition at line 324 of file ocs_common.h.

ocs_timer_t ocs_cxn_t::sm_retry_timer

Definition at line 325 of file ocs_common.h.

uint8_t ocs_cxn_t::source_ip[16]

Definition at line 348 of file ocs_common.h.

uint8_t ocs_cxn_t::source_ip_type

Definition at line 347 of file ocs_common.h.

uint16_t ocs_cxn_t::source_port

Definition at line 349 of file ocs_common.h.

ocs_sport_t* ocs_cxn_t::sport

Definition at line 309 of file ocs_common.h.

uint32_t ocs_cxn_t::stat_sn

Definition at line 381 of file ocs_common.h.

uint32_t ocs_cxn_t::tcp_mss

Definition at line 353 of file ocs_common.h.

uint8_t ocs_cxn_t::tcp_wscale

Definition at line 354 of file ocs_common.h.

uint8_t ocs_cxn_t::text_hdr[48]

Definition at line 413 of file ocs_common.h.

ocs_scsi_tgt_node_t ocs_cxn_t::tgt_node

backend target private node data

Definition at line 316 of file ocs_common.h.

uint8_t ocs_cxn_t::use_chap

Definition at line 399 of file ocs_common.h.

uint16_t ocs_cxn_t::wq_id

Definition at line 327 of file ocs_common.h.

uint16_t ocs_cxn_t::wq_index

Definition at line 328 of file ocs_common.h.


The documentation for this struct was generated from the following file: