Lines Matching refs:ifmr
182 struct ifmediareq ifmr;184 os_memset(&ifmr, 0, sizeof(ifmr));185 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name));187 if (ioctl(drv->sock, SIOCGIFMEDIA, &ifmr) < 0) {193 return ifmr.ifm_current;