Home
last modified time | relevance | path

Searched refs:ifm_current (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sbin/ifconfig/
H A Difmedia.c142 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()
H A Difieee80211.c291 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()
/dragonfly/sys/net/
H A Dif_media.c309 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()
H A Dif.h287 int ifm_current; /* current media options */ member
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_bsd.c230 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()
/dragonfly/tools/tools/net80211/wlanstats/
H A Dwlanstats.c421 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()
/dragonfly/contrib/libpcap/
H A Dpcap-bpf.c1563 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;
/dragonfly/tools/tools/net80211/wlanwds/
H A Dwlanwds.c234 return (ifmr.ifm_current & IFM_IEEE80211_WDS) != 0; in iswdsvap()
/dragonfly/sys/net/tap/
H A Dif_tap.c613 ifmr->ifm_current = ifmr->ifm_active; in tapifioctl()
/dragonfly/sys/net/vlan/
H A Dif_vlan.c982 error = copyout(&ifmr->ifm_current, in vlan_ioctl()
/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211.c1865 imr->ifm_current = imr->ifm_active; in ieee80211_media_status()