connection_t
static connection_t *
connection_t *conn;
conn = (connection_t *)(void *)
connection_t *conn;
connection_t *conn;
connection_t *conn;
connection_t *conn;
verify_connection(connection_t * conn)
(connection_t *)(void *)find_id(&session->connections, id)
(connection_t *)(void *)find_name(&session->connections, name)
(connection_t *)(void *)find_sym_id(&session->connections, sid)
connection_t *conn;
conn = (connection_t *)(void *)TAILQ_FIRST(&sess->connections);
nosess = verify_connection((connection_t *) curr) == ISCSI_STATUS_INVALID_SESSION_ID;
connection_t *conn;
conn = (connection_t *)(void *)curr;
connection_t *conn;
conn = (connection_t *)(void *)TAILQ_FIRST(&sess->connections);
connection_t *conn;
while ((conn = (connection_t *)(void *)TAILQ_FIRST(&sess->connections)) != NULL) {
connection_t *conn;
connection_t *pdu_connection;
connection_t *ccb_connection; /* connection for CCB */
connection_t *s_mru_connection;
void kill_connection(connection_t *, uint32_t, int, bool);
void handle_connection_error(connection_t *, uint32_t, int);
void add_connection_cleanup(connection_t *);
connection_t *find_connection(session_t *, uint32_t);
connection_t *assign_connection(session_t *session, bool waitok);
int send_login(connection_t *);
int send_logout(connection_t *, connection_t *, int, bool);
int send_data_out(connection_t *, pdu_t *, ccb_t *, ccb_disp_t, bool);
int send_task_management(connection_t *, ccb_t *, struct scsipi_xfer *, int);
void negotiate_login(connection_t *, pdu_t *, ccb_t *);
void acknowledge_text(connection_t *, pdu_t *, ccb_t *);
void start_text_negotiation(connection_t *);
void negotiate_text(connection_t *, pdu_t *, ccb_t *);
int send_nop_out(connection_t *, pdu_t *);
void snack_missing(connection_t *, ccb_t *, uint8_t, uint32_t, uint32_t);
void send_snack(connection_t *, pdu_t *, ccb_t *, uint8_t);
void connection_timeout(connection_t *);
void connection_timeout_start(connection_t *, int);
void connection_timeout_stop(connection_t *);
ccb_t *get_ccb(connection_t *, bool);
void create_pdus(connection_t *);
pdu_t *get_pdu(connection_t *, bool);
int assemble_login_parameters(connection_t *, ccb_t *, pdu_t *);
int assemble_security_parameters(connection_t *, ccb_t *, pdu_t *, pdu_t *);
int assemble_negotiation_parameters(connection_t *, ccb_t *, pdu_t *, pdu_t *);
int init_text_parameters(connection_t *, ccb_t *);
connection_t *conn;
connection_t *conn;
connection_t *conn;
handle_connection_error(connection_t *conn, uint32_t status, int dologout)
add_connection_cleanup(connection_t *conn)
connection_t *conn = par;
connection_timeout_start(connection_t *conn, int ticks)
connection_timeout_stop(connection_t *conn)
connection_t *conn, *nxtc;
connection_t *
connection_t *conn;
kill_connection(connection_t *conn, uint32_t status, int logout, bool recover)
connection_t *conn;
connection_t *conn;
connection_t *conn, struct lwp *l)
receive_nop_in_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
receive_pdu(connection_t *conn, pdu_t *pdu)
try_resynch_receive(connection_t *conn)
connection_t *conn = (connection_t *) par;
ccb_from_itt(connection_t *conn, uint32_t itt)
connection_t *conn = pdu->pdu_connection;
check_StatSN(connection_t *conn, uint32_t nw_sn, bool ack)
check_CmdSN(connection_t *conn, uint32_t nw_sn)
receive_login_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
receive_text_response_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
my_soo_read(connection_t *conn, struct uio *u, int flags)
receive_logout_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
connection_t *refconn = (otherconn) ? req_ccb->ccb_par : conn;
receive_data_in_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
receive_r2t_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
receive_command_response_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
receive_asynch_pdu(connection_t *conn, pdu_t *pdu)
receive_reject_pdu(connection_t *conn, pdu_t *pdu)
receive_task_management_pdu(connection_t *conn, pdu_t *pdu, ccb_t *req_ccb)
send_nop_out(connection_t *conn, pdu_t *rx_pdu)
snack_missing(connection_t *conn, ccb_t *ccb, uint8_t type,
send_snack(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb, uint8_t type)
send_login(connection_t *conn)
send_logout(connection_t *conn, connection_t *refconn, int reason,
send_task_management(connection_t *conn, ccb_t *ref_ccb, struct scsipi_xfer *xs,
send_data_out(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb,
connection_t *conn = ccb->ccb_connection;
reassign_tasks(connection_t *oldconn)
connection_t *conn;
connection_t *conn;
connection_t *conn;
connection_timeout(connection_t *conn)
connection_t *conn = ccb->ccb_connection;
connection_t *conn = (connection_t *) par;
connection_t *conn = pdu->pdu_connection;
my_soo_write(connection_t *conn, struct uio *u)
connection_t *conn = ccb->ccb_connection;
connection_t *conn = pdu->pdu_connection;
init_login_pdu(connection_t *conn, ccb_t *ccb, pdu_t *ppdu, bool next)
negotiate_login(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb)
init_text_pdu(connection_t *conn, ccb_t *ccb, pdu_t *ppdu, pdu_t *rx_pdu)
acknowledge_text(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb)
start_text_negotiation(connection_t *conn)
negotiate_text(connection_t *conn, pdu_t *rx_pdu, ccb_t *tx_ccb)
connection_t *
connection_t *conn;
connection_t *conn, *next;
eval_parameter(connection_t *conn, negotiation_state_t *state,
assemble_login_parameters(connection_t *conn, ccb_t *ccb, pdu_t *pdu)
assemble_security_parameters(connection_t *conn, ccb_t *ccb, pdu_t *rx_pdu,
set_first_opnegs(connection_t *conn, negotiation_state_t *state)
assemble_negotiation_parameters(connection_t *conn, ccb_t *ccb, pdu_t *rx_pdu,
init_text_parameters(connection_t *conn, ccb_t *ccb)
connection_t *conn = ccb->ccb_connection;
get_ccb(connection_t *conn, bool waitok)
connection_t *conn = ccb->ccb_connection;
connection_t *conn;
connection_t *conn;
get_pdu(connection_t *conn, bool waitok)
connection_t *conn = pdu->pdu_connection;
create_pdus(connection_t *conn)