bhs
text_req_t *tp = (text_req_t *)&spp.ipdu.bhs;
logout_req_t *p = (logout_req_t *)&spp.ipdu.bhs;
lp = (login_req_t *)&spp.ipdu.bhs;
lp = (login_req_t *)&spp.ipdu.bhs;
lp = (login_req_t *)&spp.ipdu.bhs;
cmd = pp->ipdu.bhs.opcode;
sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
opq = i_search_hld(sp, pq->pdu.ipdu.bhs.itt, 1);
sp->sid, ntohl(pq->pdu.ipdu.bhs.itt),
opq = i_search_hld(sp, pq->pdu.ipdu.bhs.itt, 0);
debug(5, "itt=%x pq=%p opq=%p", ntohl(pq->pdu.ipdu.bhs.itt), pq, opq);
sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
opq = i_search_hld(sp, pq->pdu.ipdu.bhs.itt, 1);
sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
bhs_t *bhs = &pp->ipdu.bhs;
bhs->opcode = ISCSI_NOP_OUT;
bhs->I = 1;
bhs->F = 1;
bhs_t *bhp = &pp->ipdu.bhs;
if(pq->pdu.ipdu.bhs.I)
bhs_t *bhs;
bhs = &pq->pdu.ipdu.bhs;
statSN = ntohl(bhs->OpcodeSpecificFields[1]);
sn->maxCmd, sn->expCmd, bhs->opcode, sn->cmd, sp->cws);
sn->maxCmd, sn->expCmd, bhs->opcode, sn->cmd, sp->cws);
bhs->opcode, ntohl(bhs->itt), statSN, sp->sn.maxCmd);
switch(bhs->opcode) {
switch(bhs->opcode) {
bhs->opcode, ntohl(bhs->itt));
bhs_t *bhs;
bhs = &pp->ipdu.bhs;
switch(bhs->opcode) {
bhs->itt = htonl(sn->itt);
bhs->CmdSN = htonl(sn->cmd);
if(bhs->I == 0)
bhs->ExpStSN = htonl(sn->stat);
bhs->opcode,
bhs->opcode,
error, ndone, bhs->opcode, pq->ccb, ntohl(bhs->itt));
itt = pdu->ipdu.bhs.itt;
switch(pq->pdu.ipdu.bhs.opcode) {
pp->ipdu.bhs.opcode, uio->uio_iovcnt, uio->uio_resid,
ntohl(pp->ipdu.bhs.itt));
bhs_t *bhs = &sp->bhs;
iov->iov_base = bhs;
bhs_t *bhs;
bhs = &pp->ipdu.bhs;
if(bhs->AHSLength) {
pp->ahs_len = bhs->AHSLength * 4;
if(bhs->DSLength) {
n = bhs->DSLength;
if(bhs->opcode == ISCSI_READ_DATA) {
opq = i_search_hld(sp, pq->pdu.ipdu.bhs.itt, 1);
bhs_t *bhp = &opp->ipdu.bhs;
ntohl(pq->pdu.ipdu.bhs.itt),
pq->len, bhs->opcode, pp->ahs_len, pp->ds_len);
max = ntohl(bhs->MaxCmdSN);
exp = ntohl(bhs->ExpStSN);
pq->pdu.ipdu.bhs = sp->bhs;
ksprintf(buf, "%03d] %06x\n", i++, ntohl(pq->pdu.ipdu.bhs.itt));
i, ntohl( pq->pdu.ipdu.bhs.CmdSN), \
pq->pdu.ipdu.bhs.opcode, ntohl(pq->pdu.ipdu.bhs.itt),\
i, ntohl( pq->pdu.ipdu.bhs.CmdSN), \
pq->pdu.ipdu.bhs.opcode, ntohl(pq->pdu.ipdu.bhs.itt),\
bhs_t bhs;
n = ntohl(pq->pdu.ipdu.bhs.CmdSN);
bhs_t *bhp = &opp->ipdu.bhs;
ntohl(pq->pdu.ipdu.bhs.itt),
ntohl(pq->pdu.ipdu.bhs.itt),
pq->pdu.ipdu.bhs.opcode, cmd->R);
switch(pq->pdu.ipdu.bhs.opcode) {
bhs_t *bhp = &opp->ipdu.bhs;
bhs_t bhs;
if(pq->pdu.ipdu.bhs.itt == itt) {