Lines Matching defs:ifmr
176 struct ifmediareq ifmr;178 os_memset(&ifmr, 0, sizeof(ifmr));179 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name));181 if (ioctl(drv->sock, SIOCGIFMEDIA, &ifmr) < 0) {187 return ifmr.ifm_current;