Lines Matching refs:ifr
1752 struct ifreq *ifr = (struct ifreq *)data;
1760 if (IFM_SUBTYPE(ifr->ifr_media) == IFM_AUTO ||
1761 (ifr->ifr_media & IFM_FDX) == 0)
1762 ifr->ifr_media &= ~IFM_ETH_FMASK;
1766 ifr->ifr_media &= ~IFM_ETH_FMASK;
1767 if (IFM_SUBTYPE(ifr->ifr_media) != IFM_AUTO) {
1769 (ifr->ifr_media & IFM_ETH_FMASK) == IFM_FLOW) {
1771 ifr->ifr_media |=
1773 } else if (ifr->ifr_media & IFM_FLOW) {
1781 ifr->ifr_media |=
1784 sc->sc_flowflags = ifr->ifr_media & IFM_ETH_FMASK;