Lines Matching refs:ifi
920 struct ifinfomsg *ifi, in wpa_driver_nl80211_event_rtm_newlink() argument
968 ifi->ifi_index, ifname, extra, ifi->ifi_family, in wpa_driver_nl80211_event_rtm_newlink()
969 ifi->ifi_flags, in wpa_driver_nl80211_event_rtm_newlink()
970 (ifi->ifi_flags & IFF_UP) ? "[UP]" : "", in wpa_driver_nl80211_event_rtm_newlink()
971 (ifi->ifi_flags & IFF_RUNNING) ? "[RUNNING]" : "", in wpa_driver_nl80211_event_rtm_newlink()
972 (ifi->ifi_flags & IFF_LOWER_UP) ? "[LOWER_UP]" : "", in wpa_driver_nl80211_event_rtm_newlink()
973 (ifi->ifi_flags & IFF_DORMANT) ? "[DORMANT]" : ""); in wpa_driver_nl80211_event_rtm_newlink()
975 drv = nl80211_find_drv(global, ifi->ifi_index, buf, len); in wpa_driver_nl80211_event_rtm_newlink()
979 if (!drv->if_disabled && !(ifi->ifi_flags & IFF_UP)) { in wpa_driver_nl80211_event_rtm_newlink()
981 if (if_indextoname(ifi->ifi_index, namebuf) && in wpa_driver_nl80211_event_rtm_newlink()
1008 drv = nl80211_find_drv(global, ifi->ifi_index, in wpa_driver_nl80211_event_rtm_newlink()
1015 if (drv->if_disabled && (ifi->ifi_flags & IFF_UP)) { in wpa_driver_nl80211_event_rtm_newlink()
1016 if (if_indextoname(ifi->ifi_index, namebuf) && in wpa_driver_nl80211_event_rtm_newlink()
1034 bss = get_bss_ifindex(drv, ifi->ifi_index); in wpa_driver_nl80211_event_rtm_newlink()
1046 ifi->ifi_index, bss->ifname, in wpa_driver_nl80211_event_rtm_newlink()
1066 (ifi->ifi_flags & (IFF_LOWER_UP | IFF_DORMANT)) == IFF_LOWER_UP && in wpa_driver_nl80211_event_rtm_newlink()
1067 !(ifi->ifi_flags & IFF_RUNNING)) { in wpa_driver_nl80211_event_rtm_newlink()
1075 wpa_driver_nl80211_event_newlink(global, drv, ifi->ifi_index, in wpa_driver_nl80211_event_rtm_newlink()
1078 if (ifi->ifi_family == AF_BRIDGE && brid && drv) { in wpa_driver_nl80211_event_rtm_newlink()
1090 add_ifidx(drv, brid, ifi->ifi_index); in wpa_driver_nl80211_event_rtm_newlink()
1103 struct ifinfomsg *ifi, in wpa_driver_nl80211_event_rtm_dellink() argument
1147 ifi->ifi_index, ifname, extra, ifi->ifi_family, in wpa_driver_nl80211_event_rtm_dellink()
1148 ifi->ifi_flags, in wpa_driver_nl80211_event_rtm_dellink()
1149 (ifi->ifi_flags & IFF_UP) ? "[UP]" : "", in wpa_driver_nl80211_event_rtm_dellink()
1150 (ifi->ifi_flags & IFF_RUNNING) ? "[RUNNING]" : "", in wpa_driver_nl80211_event_rtm_dellink()
1151 (ifi->ifi_flags & IFF_LOWER_UP) ? "[LOWER_UP]" : "", in wpa_driver_nl80211_event_rtm_dellink()
1152 (ifi->ifi_flags & IFF_DORMANT) ? "[DORMANT]" : ""); in wpa_driver_nl80211_event_rtm_dellink()
1154 drv = nl80211_find_drv(global, ifi->ifi_index, buf, len); in wpa_driver_nl80211_event_rtm_dellink()
1156 if (ifi->ifi_family == AF_BRIDGE && brid && drv) { in wpa_driver_nl80211_event_rtm_dellink()
1169 del_ifidx(drv, brid, ifi->ifi_index); in wpa_driver_nl80211_event_rtm_dellink()
1172 if (ifi->ifi_family != AF_BRIDGE || !brid) in wpa_driver_nl80211_event_rtm_dellink()
1173 wpa_driver_nl80211_event_dellink(global, drv, ifi->ifi_index, in wpa_driver_nl80211_event_rtm_dellink()