/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
typedef struct srp_portinfo {
/* initiator */
/* target */
ci_protocol = "ib";
};
pi_initiator = P->ss_i_name;
pi_i_sid = P->ss_i_alias;
pi_t_sid = P->ss_t_alias;
pi_chan_id = 0;
};
};
};
typedef struct srp_logininfo {
send to target */
send to initiator */
that initiator can send on a channel */
li_task_tag = P->lreq_tag;
li_max_ti_iu_len = 0;
li_request_limit = 0;
li_reason_code = 0;
};
li_task_tag = P->lrsp_tag;
};
typedef struct srp_taskinfo {
/* bit 3: DOUNDER */
/* bit 4: DIOVER */
/* bit 5: DIUNDER */
ti_task_tag = P->cr_tag;
((srp_tsk_mgmt_t *)P)->tm_function : 0;
ti_req_limit_delta = 0;
ti_flag = 0;
ti_do_resid_cnt = 0;
ti_di_resid_cnt = 0;
ti_status = 0;
};
ti_task_tag = P->rsp_tag;
};
ti_task_tag = P->iu_tag;
ti_function = 0;
ti_req_limit_delta = 0;
ti_flag = 0;
ti_do_resid_cnt = 0;
ti_di_resid_cnt = 0;
ti_status = 0;
};
xfer_raddr = (arg3 == 0) ? 0 :
xfer_loffset = arg5;
xfer_roffset = arg6;
};