Lines Matching refs:fh
783 struct fc_frame_header *fh;
828 fh = fc_frame_header_get(fp);
829 hton24(fh->fh_s_id, local_fid);
830 hton24(fh->fh_d_id, remote_fid);
855 struct fc_frame_header *fh = fc_frame_header_get(fp);
867 else if (fh->fh_type == FC_TYPE_ELS &&
868 fh->fh_r_ctl == FC_RCTL_ELS_REQ) {
1045 struct fc_frame_header *fh;
1068 fh = fc_frame_header_get(fp);
1071 if (fh && ct && fh->fh_type == FC_TYPE_CT &&
1601 struct fc_frame_header *fh;
1616 fh = fc_frame_header_get(fp);
1617 len = fr_len(fp) - sizeof(*fh);
1620 if (fr_sof(fp) == FC_SOF_I3 && !ntohs(fh->fh_seq_cnt)) {
1637 (ntoh24(fh->fh_f_ctl) & (FC_FC_LAST_SEQ | FC_FC_END_SEQ)) ==
1667 struct fc_frame_header *fh;
1682 fh = fc_frame_header_get(fp);
1683 fh->fh_r_ctl = FC_RCTL_ELS_REQ;
1684 hton24(fh->fh_d_id, did);
1685 hton24(fh->fh_s_id, lport->port_id);
1686 fh->fh_type = FC_TYPE_ELS;
1687 hton24(fh->fh_f_ctl, FC_FCTL_REQ);
1688 fh->fh_cs_ctl = 0;
1689 fh->fh_df_ctl = 0;
1690 fh->fh_parm_offset = 0;
1725 struct fc_frame_header *fh;
1741 fh = fc_frame_header_get(fp);
1742 fh->fh_r_ctl = FC_RCTL_DD_UNSOL_CTL;
1743 hton24(fh->fh_d_id, did);
1744 hton24(fh->fh_s_id, lport->port_id);
1745 fh->fh_type = FC_TYPE_CT;
1746 hton24(fh->fh_f_ctl, FC_FCTL_REQ);
1747 fh->fh_cs_ctl = 0;
1748 fh->fh_df_ctl = 0;
1749 fh->fh_parm_offset = 0;