Searched refs:ifmr (Results 1 – 7 of 7) sorted by relevance
/minix/sbin/ifconfig/ |
H A D | media.c | 106 struct ifmediareq ifmr; in init_current_media() local 117 memset(&ifmr, 0, sizeof(ifmr)); in init_current_media() 132 media_current = ifmr.ifm_current; in init_current_media() 350 struct ifmediareq ifmr; in media_status() local 364 memset(&ifmr, 0, sizeof(ifmr)); in media_status() 365 estrlcpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name)); in media_status() 374 if (ifmr.ifm_count == 0) { in media_status() 382 ifmr.ifm_ulist = media_list; in media_status() 388 print_media_word(ifmr.ifm_current, " "); in media_status() 389 if (ifmr.ifm_active != ifmr.ifm_current) { in media_status() [all …]
|
H A D | ieee80211.c | 235 struct ifmediareq ifmr; in get80211opmode() local 237 memset(&ifmr, 0, sizeof(ifmr)); in get80211opmode() 238 if (direct_ioctl(env, SIOCGIFMEDIA, &ifmr) == -1) in get80211opmode() 240 else if (ifmr.ifm_current & IFM_IEEE80211_ADHOC) in get80211opmode() 242 else if (ifmr.ifm_current & IFM_IEEE80211_HOSTAP) in get80211opmode() 244 else if (ifmr.ifm_current & IFM_IEEE80211_MONITOR) in get80211opmode()
|
H A D | ifconfig.c | 1182 struct ifmediareq ifmr; in carrier() local 1184 memset(&ifmr, 0, sizeof(ifmr)); in carrier() 1186 if (direct_ioctl(env, SIOCGIFMEDIA, &ifmr) == -1) { in carrier() 1193 if ((ifmr.ifm_status & IFM_AVALID) == 0) { in carrier() 1201 if (ifmr.ifm_status & IFM_ACTIVE) in carrier()
|
/minix/external/bsd/dhcpcd/dist/ |
H A D | if.c | 125 struct ifmediareq ifmr; in if_carrier() local 135 memset(&ifmr, 0, sizeof(ifmr)); in if_carrier() 136 strlcpy(ifmr.ifm_name, ifp->name, sizeof(ifmr.ifm_name)); in if_carrier() 137 if (ioctl(ifp->ctx->pf_inet_fd, SIOCGIFMEDIA, &ifmr) != -1 && in if_carrier() 138 ifmr.ifm_status & IFM_AVALID) in if_carrier() 139 r = (ifmr.ifm_status & IFM_ACTIVE) ? LINK_UP : LINK_DOWN; in if_carrier()
|
H A D | if-bsd.c | 222 struct ifmediareq ifmr; in if_vimaster() local 224 memset(&ifmr, 0, sizeof(ifmr)); in if_vimaster() 225 strlcpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name)); in if_vimaster() 226 r = ioctl(ctx->pf_inet_fd, SIOCGIFMEDIA, &ifmr); in if_vimaster() 229 if (ifmr.ifm_status & IFM_AVALID && in if_vimaster() 230 IFM_TYPE(ifmr.ifm_active) == IFM_IEEE80211) in if_vimaster()
|
/minix/etc/ |
H A D | termcap.big | 15127 ifmr|Informer D304:\ 16281 # ifmr, v3220, wy100q, tandem653, ibmaed.
|
/minix/share/terminfo/ |
H A D | terminfo | 20646 ifmr|Informer D304, 21915 # ifmr, v3220, wy100q, tandem653, ibmaed.
|