Lines Matching refs:rp
1306 struct fc_ba_rjt *rp; in fc_exch_send_ba_rjt() local
1311 fp = fc_frame_alloc(lport, sizeof(*rp)); in fc_exch_send_ba_rjt()
1317 memset(fh, 0, sizeof(*fh) + sizeof(*rp)); in fc_exch_send_ba_rjt()
1319 rp = fc_frame_payload_get(fp, sizeof(*rp)); in fc_exch_send_ba_rjt()
1320 rp->br_reason = reason; in fc_exch_send_ba_rjt()
1321 rp->br_explan = explan; in fc_exch_send_ba_rjt()
1951 struct fc_els_rec *rp; in fc_exch_els_rec() local
1960 rp = fc_frame_payload_get(rfp, sizeof(*rp)); in fc_exch_els_rec()
1962 if (!rp) in fc_exch_els_rec()
1964 sid = ntoh24(rp->rec_s_id); in fc_exch_els_rec()
1965 rxid = ntohs(rp->rec_rx_id); in fc_exch_els_rec()
1966 oxid = ntohs(rp->rec_ox_id); in fc_exch_els_rec()
1984 acc->reca_ox_id = rp->rec_ox_id; in fc_exch_els_rec()
1985 memcpy(acc->reca_ofid, rp->rec_s_id, 3); in fc_exch_els_rec()
2192 struct fc_els_rrq *rp; in fc_exch_els_rrq() local
2198 rp = fc_frame_payload_get(fp, sizeof(*rp)); in fc_exch_els_rrq()
2200 if (!rp) in fc_exch_els_rrq()
2206 sid = ntoh24(rp->rrq_s_id); /* subject source */ in fc_exch_els_rrq()
2208 ntohs(rp->rrq_ox_id) : ntohs(rp->rrq_rx_id); in fc_exch_els_rrq()
2214 if (ep->oxid != ntohs(rp->rrq_ox_id)) in fc_exch_els_rrq()
2216 if (ep->rxid != ntohs(rp->rrq_rx_id) && in fc_exch_els_rrq()