Lines Matching refs:fh
103 struct fddi_header *fh;
196 fh = mtod(m, struct fddi_header *);
198 switch (fh->fddi_fc & (FDDIFC_C|FDDIFC_L|FDDIFC_F)) {
201 if ((fh->fddi_fc & FDDIFC_Z) > 7)
207 if (fh->fddi_fc & FDDIFC_Z)
213 if ((fh->fddi_fc & FDDIFC_Z) == 0)
223 if (fh->fddi_dhost[0] & 1)
256 fh = mtod(m, struct fddi_header *);
257 fh->fddi_fc = FDDIFC_LLC_ASYNC|FDDIFC_LLC_PRIO4;
258 bcopy((caddr_t)edst, (caddr_t)fh->fddi_dhost, FDDI_ADDR_LEN);
261 bcopy((caddr_t)esrc, (caddr_t)fh->fddi_shost, FDDI_ADDR_LEN);
263 bcopy(IF_LLADDR(ifp), (caddr_t)fh->fddi_shost,
281 } else if (bcmp(fh->fddi_dhost, fh->fddi_shost,
312 struct fddi_header *fh;
336 fh = mtod(m, struct fddi_header *);
372 if ((ifp->if_flags & IFF_PROMISC) && ((fh->fddi_dhost[0] & 1) == 0) &&
373 (bcmp(IF_LLADDR(ifp), (caddr_t)fh->fddi_dhost,
380 if (fh->fddi_dhost[0] & 1) {
381 if (bcmp(ifp->if_broadcastaddr, fh->fddi_dhost,
395 if ((fh->fddi_fc & FDDIFC_LLC_PRIO7) == FDDIFC_LLC_PRIO0)