Searched refs:ifmr (Results 1 – 7 of 7) sorted by relevance
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 219 struct ifmediareq ifmr; in bsd_get_if_media() local 221 os_memset(&ifmr, 0, sizeof(ifmr)); in bsd_get_if_media() 222 os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in bsd_get_if_media() 224 if (ioctl(drv->global->sock, SIOCGIFMEDIA, &ifmr) < 0) { in bsd_get_if_media() 230 return ifmr.ifm_current; in bsd_get_if_media() 1533 struct ifmediareq ifmr; in get80211opmode() local 1535 (void) memset(&ifmr, 0, sizeof(ifmr)); in get80211opmode() 1536 (void) os_strlcpy(ifmr.ifm_name, drv->ifname, sizeof(ifmr.ifm_name)); in get80211opmode() 1538 if (ioctl(drv->global->sock, SIOCGIFMEDIA, (caddr_t)&ifmr) >= 0) { in get80211opmode() 1539 if (ifmr.ifm_current & IFM_IEEE80211_ADHOC) { in get80211opmode() [all …]
|
D | driver_wired.c | 478 struct ifmediareq ifmr; in wpa_driver_wired_get_ifstatus() local 487 os_memset(&ifmr, 0, sizeof(ifmr)); in wpa_driver_wired_get_ifstatus() 488 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifstatus() 489 if (ioctl(s, SIOCGIFMEDIA, (caddr_t) &ifmr) < 0) { in wpa_driver_wired_get_ifstatus() 496 *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-6.8.2/ |
D | if.c | 126 struct ifmediareq ifmr; in if_carrier() local 140 memset(&ifmr, 0, sizeof(ifmr)); in if_carrier() 141 strlcpy(ifmr.ifm_name, iface->name, sizeof(ifmr.ifm_name)); in if_carrier() 142 if (ioctl(s, SIOCGIFMEDIA, &ifmr) != -1 && in if_carrier() 143 ifmr.ifm_status & IFM_AVALID) in if_carrier() 144 r = (ifmr.ifm_status & IFM_ACTIVE) ? LINK_UP : LINK_DOWN; in if_carrier()
|
D | if-bsd.c | 242 struct ifmediareq ifmr; in if_vimaster() local 246 memset(&ifmr, 0, sizeof(ifmr)); in if_vimaster() 247 strlcpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name)); in if_vimaster() 248 r = ioctl(s, SIOCGIFMEDIA, &ifmr); in if_vimaster() 252 if (ifmr.ifm_status & IFM_AVALID && in if_vimaster() 253 IFM_TYPE(ifmr.ifm_active) == IFM_IEEE80211) in if_vimaster()
|
/external/libxml2/result/ |
D | rdf2.rde | 1006 /usr/share/ncurses4/terminfo/i/ifmr
|
D | rdf2.rdr | 1006 /usr/share/ncurses4/terminfo/i/ifmr
|