Lines Matching defs:fmi
275 fcoe_i_frame_t *fmi;
318 fmi = FRM2FMI(frm);
319 fmi->fmi_frame = frm;
320 fmi->fmi_mac = EPORT2MAC(eport);
321 fmi->fmi_efh = (void *)mp->b_rptr;
323 fmi->fmi_ffh = (fcoe_frame_header_t *)
324 (sizeof (struct ether_header) + (uint8_t *)fmi->fmi_efh);
326 fmi->fmi_fc_frame = sizeof (fcoe_frame_header_t) +
327 (uint8_t *)fmi->fmi_ffh;
328 fmi->fmi_fft = (fcoe_frame_tailer_t *)
329 (fc_frame_size + (uint8_t *)fmi->fmi_fc_frame);
334 frm->frm_hdr = (fcoe_fc_frame_header_t *)fmi->fmi_fc_frame;
354 fcoe_i_frame_t *fmi = FRM2FMI(frm);
359 bcopy(FRM2MAC(frm)->fm_current_addr, &fmi->fmi_efh->ether_shost,
362 &fmi->fmi_efh->ether_dhost, ETHERADDRL);
363 fmi->fmi_efh->ether_type = htons(ETHERTYPE_FCOE);
368 bzero(fmi->fmi_ffh, sizeof (fcoe_frame_header_t));
369 FCOE_ENCAPS_VER(fmi->fmi_ffh, FCOE_VER);
372 FCOE_V2B_1(0x2E, fmi->fmi_ffh->ffh_sof);
374 FCOE_V2B_1(0x36, fmi->fmi_ffh->ffh_sof);