Searched refs:ifm_current (Results 1 – 11 of 11) sorted by relevance
142 print_media_word(ifmr.ifm_current, 1); in media_status()143 if (ifmr.ifm_active != ifmr.ifm_current) { in media_status()257 ifr.ifr_media = ifmr->ifm_current; in setifmediacallback()286 ifmr->ifm_current = (ifmr->ifm_current & ~(IFM_NMASK|IFM_TMASK)) | in setmedia()289 if ((ifmr->ifm_current & IFM_TMASK) == 0) in setmedia()290 ifmr->ifm_current &= ~IFM_GMASK; in setmedia()319 ifmr->ifm_current &= ~options; in domediaopt()321 ifmr->ifm_current |= options; in domediaopt()337 ifmr->ifm_current = (ifmr->ifm_current & ~IFM_MMASK) | mode; in setmediamode()
291 IFM_MODE(ifmedia->ifm_current) : in promote()4342 if (ifmr.ifm_current & IFM_IEEE80211_ADHOC) { in get80211opmode()4343 if (ifmr.ifm_current & IFM_FLAG0) in get80211opmode()4348 if (ifmr.ifm_current & IFM_IEEE80211_HOSTAP) in get80211opmode()4350 if (ifmr.ifm_current & IFM_IEEE80211_MONITOR) in get80211opmode()4352 if (ifmr.ifm_current & IFM_IEEE80211_MBSS) in get80211opmode()
309 ifmr->ifm_active = ifmr->ifm_current = ifm->ifm_cur ? in ifmedia_ioctl()312 ifmr->ifm_active = ifmr->ifm_current = ifm->ifm_cur ? in ifmedia_ioctl()
287 int ifm_current; /* current media options */ member
230 return ifmr.ifm_current; in bsd_get_if_media()1544 if (ifmr.ifm_current & IFM_IEEE80211_ADHOC) { in get80211opmode()1545 if (ifmr.ifm_current & IFM_FLAG0) in get80211opmode()1550 if (ifmr.ifm_current & IFM_IEEE80211_HOSTAP) in get80211opmode()1552 if (ifmr.ifm_current & IFM_IEEE80211_MONITOR) in get80211opmode()1555 if (ifmr.ifm_current & IFM_IEEE80211_MBSS) in get80211opmode()
421 if (ifmr.ifm_current & IFM_IEEE80211_ADHOC) { in wlan_getopmode()422 if (ifmr.ifm_current & IFM_FLAG0) in wlan_getopmode()426 } else if (ifmr.ifm_current & IFM_IEEE80211_HOSTAP) in wlan_getopmode()428 else if (ifmr.ifm_current & IFM_IEEE80211_MONITOR) in wlan_getopmode()
1563 if (req.ifm_current & IFM_IEEE80211_MONITOR) { in pcap_cleanup_bpf()1573 req.ifm_current & ~IFM_IEEE80211_MONITOR; in pcap_cleanup_bpf()3122 if ((req.ifm_current & IFM_IEEE80211_MONITOR) == 0) {3144 ifr.ifr_media = req.ifm_current | IFM_IEEE80211_MONITOR;
234 return (ifmr.ifm_current & IFM_IEEE80211_WDS) != 0; in iswdsvap()
613 ifmr->ifm_current = ifmr->ifm_active; in tapifioctl()
982 error = copyout(&ifmr->ifm_current, in vlan_ioctl()
1865 imr->ifm_current = imr->ifm_active; in ieee80211_media_status()