Lines Matching refs:rfp
2176 struct fw_pkt *rfp, *sfp = NULL;
2192 rfp = (struct fw_pkt *)xfer->recv.buf;
2193 switch (rfp->mode.hdr.tcode) {
2199 bcopy(rfp->mode.wreqb.payload,
2200 (caddr_t)ntohl(rfp->mode.wreqb.dest_lo),s
2201 ntohs(rfp->mode.wreqb.len));
2209 *((uint32_t *)(ntohl(rfp->mode.wreqb.dest_lo))) =
2210 rfp->mode.wreqq.data;
2214 xfer->send.buf = malloc(16 + rfp->mode.rreqb.len,
2216 xfer->send.len = 16 + ntohs(rfp->mode.rreqb.len);
2218 bcopy((caddr_t)ntohl(rfp->mode.rreqb.dest_lo),
2220 ntohs(rfp->mode.rreqb.len));
2222 sfp->mode.rresb.len = rfp->mode.rreqb.len;
2231 *(uint32_t *)(ntohl(rfp->mode.rreqq.dest_lo));
2239 sfp->mode.hdr.dst = rfp->mode.hdr.src;
2240 xfer->dst = ntohs(rfp->mode.hdr.src);
2243 sfp->mode.hdr.tlrt = rfp->mode.hdr.tlrt;