HomeSort by relevance Sort by last modified time
    Searched refs:ifmr (Results 1 - 2 of 2) sorted by null

  /external/dhcpcd/
net.c 253 struct ifmediareq ifmr; local
273 memset(&ifmr, 0, sizeof(ifmr));
274 strlcpy(ifmr.ifm_name, iface->name, sizeof(ifmr.ifm_name));
275 if (ioctl(socket_afnet, SIOCGIFMEDIA, &ifmr) != -1 &&
276 ifmr.ifm_status & IFM_AVALID)
277 ret = (ifmr.ifm_status & IFM_ACTIVE) ? 1 : 0;
  /external/wpa_supplicant_8/src/drivers/
driver_bsd.c 182 struct ifmediareq ifmr; local
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;
    [all...]

Completed in 31 milliseconds