Lines Matching refs:ifp

179 	struct ifnet		*ifp = &ic->ic_if;
182 printf("%s: known networks\n", ifp->if_xname);
512 struct ifnet *ifp = &ic->ic_if;
525 if ((ifp->if_flags & IFF_DEBUG) && (score_can <= score_cur)) {
526 printf("%s: AP %s ", ifp->if_xname,
582 struct ifnet *ifp = &ic->ic_if;
586 if (!ISSET(ifp->if_flags, IFF_RUNNING))
631 if (ifp->if_flags & IFF_DEBUG) {
632 printf("%s: best AP %s ", ifp->if_xname,
638 printf("%s: switching to network ", ifp->if_xname);
700 ieee80211_node_attach(struct ifnet *ifp)
702 struct ieee80211com *ic = (void *)ifp;
761 ieee80211_node_lateattach(struct ifnet *ifp)
763 struct ieee80211com *ic = (void *)ifp;
778 ieee80211_node_detach(struct ifnet *ifp)
780 struct ieee80211com *ic = (void *)ifp;
808 ieee80211_reset_scan(struct ifnet *ifp)
810 struct ieee80211com *ic = (void *)ifp;
836 ieee80211_begin_scan(struct ifnet *ifp)
838 struct ieee80211com *ic = (void *)ifp;
855 if (ifp->if_flags & IFF_DEBUG)
856 printf("%s: begin %s scan\n", ifp->if_xname,
877 ieee80211_next_scan(ifp);
884 ieee80211_next_scan(struct ifnet *ifp)
886 struct ieee80211com *ic = (void *)ifp;
903 ieee80211_end_scan(ifp);
921 struct ifnet *ifp = &ic->ic_if;
924 if (ifp->if_flags & IFF_DEBUG)
925 printf("%s: creating ibss\n", ifp->if_xname);
1254 struct ifnet *ifp = &ic->ic_if;
1281 if (ifp->if_flags & IFF_DEBUG) {
1283 ifp->if_xname, ether_sprintf(curbs->ni_macaddr),
1440 ieee80211_end_scan(struct ifnet *ifp)
1442 struct ieee80211com *ic = (void *)ifp;
1448 if (ifp->if_flags & IFF_DEBUG)
1449 printf("%s: end %s scan\n", ifp->if_xname,
1510 ieee80211_reset_scan(ifp);
1511 if (ieee80211_next_mode(ifp) == IEEE80211_MODE_AUTO ||
1515 ieee80211_next_scan(ifp);
2176 struct ifnet *ifp = &ic->ic_if;
2233 if (ifp->if_flags & IFF_DEBUG)
2235 ifp->if_xname, ether_sprintf(ni->ni_macaddr));
2292 if ((ifp->if_flags & IFF_DEBUG) && cache_timeout &&
2295 "possible nodes leak\n", ifp->if_xname, nnodes,
3255 struct ifnet *ifp = &ic->ic_if;
3268 if_start(ifp);