Searched refs:ifmr (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 179 struct ifmediareq ifmr; in bsd_get_if_media() local 181 os_memset(&ifmr, 0, sizeof(ifmr)); in bsd_get_if_media() 182 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in bsd_get_if_media() 184 if (ioctl(drv->sock, SIOCGIFMEDIA, &ifmr) < 0) { in bsd_get_if_media() 190 return ifmr.ifm_current; in bsd_get_if_media() 1474 struct ifmediareq ifmr; in get80211opmode() local 1476 (void) memset(&ifmr, 0, sizeof(ifmr)); in get80211opmode() 1477 (void) os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in get80211opmode() 1479 if (ioctl(drv->sock, SIOCGIFMEDIA, (caddr_t)&ifmr) >= 0) { in get80211opmode() 1480 if (ifmr.ifm_current & IFM_IEEE80211_ADHOC) { in get80211opmode() [all …]
|
D | driver_wired.c | 477 struct ifmediareq ifmr; in wpa_driver_wired_get_ifstatus() local 486 os_memset(&ifmr, 0, sizeof(ifmr)); in wpa_driver_wired_get_ifstatus() 487 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifstatus() 488 if (ioctl(s, SIOCGIFMEDIA, (caddr_t) &ifmr) < 0) { in wpa_driver_wired_get_ifstatus() 495 *status = (ifmr.ifm_status & (IFM_ACTIVE | IFM_AVALID)) == in wpa_driver_wired_get_ifstatus()
|
D | driver_macsec_qca.c | 180 struct ifmediareq ifmr; in macsec_qca_get_ifstatus() local 189 os_memset(&ifmr, 0, sizeof(ifmr)); in macsec_qca_get_ifstatus() 190 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in macsec_qca_get_ifstatus() 191 if (ioctl(s, SIOCGIFMEDIA, (caddr_t) &ifmr) < 0) { in macsec_qca_get_ifstatus() 198 *status = (ifmr.ifm_status & (IFM_ACTIVE | IFM_AVALID)) == in macsec_qca_get_ifstatus()
|
/external/dhcpcd/ |
D | net.c | 271 struct ifmediareq ifmr; in carrier_status() local 291 memset(&ifmr, 0, sizeof(ifmr)); in carrier_status() 292 strlcpy(ifmr.ifm_name, iface->name, sizeof(ifmr.ifm_name)); in carrier_status() 293 if (ioctl(socket_afnet, SIOCGIFMEDIA, &ifmr) != -1 && in carrier_status() 294 ifmr.ifm_status & IFM_AVALID) in carrier_status() 295 ret = (ifmr.ifm_status & IFM_ACTIVE) ? 1 : 0; in carrier_status()
|
/external/libxml2/result/ |
D | rdf2.rde | 1006 /usr/share/ncurses4/terminfo/i/ifmr
|
D | rdf2.rdr | 1006 /usr/share/ncurses4/terminfo/i/ifmr
|