Lines Matching refs:fh

616 	struct fc_frame_header *fh;  in fcoe_ctlr_encaps()  local
623 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_encaps()
624 op = *(u8 *)(fh + 1); in fcoe_ctlr_encaps()
706 struct fc_frame_header *fh; in fcoe_ctlr_els_send() local
712 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_els_send()
713 op = *(u8 *)(fh + 1); in fcoe_ctlr_els_send()
717 fip->flogi_oxid = ntohs(fh->fh_ox_id); in fcoe_ctlr_els_send()
748 if (ntoh24(fh->fh_s_id)) in fcoe_ctlr_els_send()
756 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) in fcoe_ctlr_els_send()
761 if (ntoh24(fh->fh_d_id) != FC_FID_FLOGI) in fcoe_ctlr_els_send()
778 fc_fcoe_set_mac(mac, fh->fh_d_id); in fcoe_ctlr_els_send()
794 op, ntoh24(fh->fh_d_id)); in fcoe_ctlr_els_send()
795 if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) in fcoe_ctlr_els_send()
1143 struct fc_frame_header *fh = NULL; in fcoe_ctlr_recv_els() local
1221 if (fh) in fcoe_ctlr_recv_els()
1223 if (dlen < sizeof(*els) + sizeof(*fh) + 1) in fcoe_ctlr_recv_els()
1227 fh = (struct fc_frame_header *)(els + 1); in fcoe_ctlr_recv_els()
1247 if (!fh) in fcoe_ctlr_recv_els()
1249 els_op = *(u8 *)(fh + 1); in fcoe_ctlr_recv_els()
1262 if (fip->flogi_oxid == ntohs(fh->fh_ox_id)) { in fcoe_ctlr_recv_els()
1282 skb_pull(skb, (u8 *)fh - skb->data); in fcoe_ctlr_recv_els()
1315 struct fip_header *fh) in fcoe_ctlr_recv_clr_vlink() argument
1349 rlen = ntohs(fh->fip_dl_len) * FIP_BPW; in fcoe_ctlr_recv_clr_vlink()
1350 desc = (struct fip_desc *)(fh + 1); in fcoe_ctlr_recv_clr_vlink()
1645 struct fc_frame_header *fh; in fcoe_ctlr_flogi_send_locked() local
1660 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_flogi_send_locked()
1662 ntoh24(fh->fh_d_id)); in fcoe_ctlr_flogi_send_locked()
1873 struct fc_frame_header *fh; in fcoe_ctlr_recv_flogi() local
1878 fh = fc_frame_header_get(fp); in fcoe_ctlr_recv_flogi()
1879 if (fh->fh_type != FC_TYPE_ELS) in fcoe_ctlr_recv_flogi()
1883 if (op == ELS_LS_ACC && fh->fh_r_ctl == FC_RCTL_ELS_REP && in fcoe_ctlr_recv_flogi()
1884 fip->flogi_oxid == ntohs(fh->fh_ox_id)) { in fcoe_ctlr_recv_flogi()
1909 fc_fcoe_set_mac(fr_cb(fp)->granted_mac, fh->fh_d_id); in fcoe_ctlr_recv_flogi()
1910 } else if (op == ELS_FLOGI && fh->fh_r_ctl == FC_RCTL_ELS_REQ && sa) { in fcoe_ctlr_recv_flogi()