Lines Matching refs:fh
486 struct fc_frame_header *fh;
493 fh = (struct fc_frame_header *)skb->data;
494 op = *(u8 *)(fh + 1);
572 struct fc_frame_header *fh;
578 fh = (struct fc_frame_header *)skb->data;
579 op = *(u8 *)(fh + 1);
583 fip->flogi_oxid = ntohs(fh->fh_ox_id);
606 if (ntoh24(fh->fh_s_id))
614 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI)
619 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI)
636 fc_fcoe_set_mac(mac, fh->fh_d_id);
652 op, ntoh24(fh->fh_d_id));
653 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id)))
972 struct fc_frame_header *fh = NULL;
1033 if (fh)
1035 if (dlen < sizeof(*els) + sizeof(*fh) + 1)
1039 fh = (struct fc_frame_header *)(els + 1);
1059 if (!fh)
1061 els_op = *(u8 *)(fh + 1);
1074 if (fip->flogi_oxid == ntohs(fh->fh_ox_id))
1088 skb_pull(skb, (u8 *)fh - skb->data);
1115 * @fh: The received FIP header
1121 struct fip_header *fh)
1145 rlen = ntohs(fh->fip_dl_len) * FIP_BPW;
1146 desc = (struct fip_desc *)(fh + 1);
1516 struct fc_frame_header *fh;
1521 fh = fc_frame_header_get(fp);
1522 if (fh->fh_type != FC_TYPE_ELS)
1526 if (op == ELS_LS_ACC && fh->fh_r_ctl == FC_RCTL_ELS_REP &&
1527 fip->flogi_oxid == ntohs(fh->fh_ox_id)) {
1552 fc_fcoe_set_mac(fr_cb(fp)->granted_mac, fh->fh_d_id);
1553 } else if (op == ELS_FLOGI && fh->fh_r_ctl == FC_RCTL_ELS_REQ && sa) {