Home
last modified time | relevance | path

Searched refs:ifaces (Results 1 – 25 of 50) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
Dmain_winmain.c25 struct wpa_interface *ifaces, *iface; in WinMain() local
38 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in WinMain()
39 if (ifaces == NULL) in WinMain()
55 if ((ifaces[i].confname == NULL && in WinMain()
56 ifaces[i].ctrl_interface == NULL) || in WinMain()
57 ifaces[i].ifname == NULL) { in WinMain()
64 if (wpa_supplicant_add_iface(global, &ifaces[i], NULL) == NULL) in WinMain()
73 os_free(ifaces); in WinMain()
Dmain.c184 struct wpa_interface *ifaces, *iface; in main() local
195 iface = ifaces = os_zalloc(sizeof(struct wpa_interface)); in main()
196 if (ifaces == NULL) in main()
326 iface = os_realloc_array(ifaces, iface_count, in main()
330 ifaces = iface; in main()
331 iface = &ifaces[iface_count - 1]; in main()
366 if ((ifaces[i].confname == NULL && in main()
367 ifaces[i].ctrl_interface == NULL) || in main()
368 ifaces[i].ifname == NULL) { in main()
379 wpa_s = wpa_supplicant_add_iface(global, &ifaces[i], NULL); in main()
[all …]
Dp2p_supplicant.c488 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_group()
544 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in p2p_group_go_member_count()
587 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_get_go_group()
613 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_get_cli_group()
957 wpa_s = global->ifaces; in wpas_p2p_group_delete()
2587 for (group = wpa_s->global->ifaces; group; group = group->next) in wpas_prov_disc_req()
3665 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_noa()
3679 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_go_iface()
3701 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_client_iface()
3726 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_is_concurrent_session_active()
[all …]
/external/libpcap/
Dsf-pcap-ng.c227 struct pcap_ng_if *ifaces; /* array of interface information */ member
625 new_ifaces = realloc(ps->ifaces, new_ifaces_size * sizeof (struct pcap_ng_if)); in add_interface()
638 ps->ifaces = new_ifaces; in add_interface()
656 ps->ifaces[ps->ifcount - 1].tsresol = tsresol; in add_interface()
657 ps->ifaces[ps->ifcount - 1].tsoffset = tsoffset; in add_interface()
668 ps->ifaces[ps->ifcount - 1].scale_type = PASS_THROUGH; in add_interface()
675 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_BIN; in add_interface()
680 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol; in add_interface()
681 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_DOWN_DEC; in add_interface()
689 ps->ifaces[ps->ifcount - 1].scale_type = SCALE_UP_BIN; in add_interface()
[all …]
/external/wpa_supplicant_8/src/fst/
Dfst_group.h14 struct dl_list ifaces; member
23 dl_list_for_each((i), &(g)->ifaces, struct fst_iface, group_lentry)
34 return !dl_list_empty(&g->ifaces); in fst_group_has_ifaces()
39 return dl_list_first(&g->ifaces, struct fst_iface, group_lentry); in fst_group_first_iface()
Dfst_group.c443 dl_list_init(&g->ifaces); in fst_group_create()
457 struct dl_list *list = &g->ifaces; in fst_group_attach_iface()
487 WPA_ASSERT(dl_list_empty(&group->ifaces)); in fst_group_delete()
/external/dhcpcd-6.8.2/
Ddhcpcd-run-hooks.in46 local i= x= ifaces=
49 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}"
53 [ -f "$x" ] && ifaces="$ifaces${ifaces:+ }${x##*/}"
55 uniqify $ifaces
Ddhcpcd.c216 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in dhcpcd_oneup()
352 TAILQ_REMOVE(ifp->ctx->ifaces, ifp, next); in stop_interface()
611 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handlecarrier()
705 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in warn_iaid_conflict()
951 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handleinterface()
982 iff = if_find(ctx->ifaces, ifp->name); in dhcpcd_handleinterface()
993 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); in dhcpcd_handleinterface()
1021 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handlehwaddr()
1044 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_start_interface()
1058 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_stop_interface()
[all …]
Dif.c591 if_findindexname(struct if_head *ifaces, unsigned int idx, const char *name) in if_findindexname() argument
594 if (ifaces != NULL) { in if_findindexname()
597 TAILQ_FOREACH(ifp, ifaces, next) { in if_findindexname()
614 if_find(struct if_head *ifaces, const char *name) in if_find() argument
617 return if_findindexname(ifaces, 0, name); in if_find()
621 if_findindex(struct if_head *ifaces, unsigned int idx) in if_findindex() argument
624 return if_findindexname(ifaces, idx, NULL); in if_findindex()
701 if (ctx->ifaces == NULL || in if_sortinterfaces()
702 (ifp = TAILQ_FIRST(ctx->ifaces)) == NULL || in if_sortinterfaces()
707 TAILQ_REMOVE(ctx->ifaces, ifp, next); in if_sortinterfaces()
[all …]
Dipv4.c153 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_findaddr()
167 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_addrexists()
666 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in ipv4_buildroutes()
929 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr()
959 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr()
988 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr()
1039 ifs = ctx->ifaces; in ipv4_handleifa()
Ddhcpcd.h105 struct if_head *ifaces; member
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dsupplicant.cpp133 std::vector<ISupplicant::IfaceInfo> ifaces; in listInterfacesInternal() local
134 for (struct wpa_supplicant* wpa_s = wpa_global_->ifaces; wpa_s; in listInterfacesInternal()
137 ifaces.emplace_back(ISupplicant::IfaceInfo{ in listInterfacesInternal()
140 ifaces.emplace_back(ISupplicant::IfaceInfo{ in listInterfacesInternal()
144 return {{SupplicantStatusCode::SUCCESS, ""}, std::move(ifaces)}; in listInterfacesInternal()
/external/autotest/client/cros/bluetooth/
Dbluetooth_device_xmlrpc_server.py379 for path, ifaces in objects.iteritems():
380 logging.debug('%s -> %r', path, ifaces.keys())
381 if self.BLUEZ_ADAPTER_IFACE in ifaces:
457 for path, ifaces in objects.iteritems():
458 if self.BLUEZ_DEVICE_IFACE in ifaces:
649 for path, ifaces in objects.iteritems():
650 if self.BLUEZ_DEVICE_IFACE in ifaces:
668 for path, ifaces in objects.iteritems():
669 if self.BLUEZ_DEVICE_IFACE in ifaces:
805 for path, ifaces in objects.iteritems():
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c236 struct dl_list ifaces; in add_wpas_interfaces() local
238 dl_list_init(&ifaces); in add_wpas_interfaces()
239 extract_interfaces(&ifaces, obj_dsc); in add_wpas_interfaces()
240 add_interfaces(&ifaces, xml); in add_wpas_interfaces()
/external/wpa_supplicant_8/hostapd/
Dwps-ap-nfc.py41 ifaces = []
44 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
49 if len(ifaces) < 1:
53 for ctrl in ifaces:
Dmain.c412 static int hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize, in hostapd_global_run() argument
419 for (i = 0; !tnc && i < ifaces->count; i++) { in hostapd_global_run()
420 for (k = 0; k < ifaces->iface[i]->num_bss; k++) { in hostapd_global_run()
421 if (ifaces->iface[i]->bss[0]->conf->tnc) { in hostapd_global_run()
/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java48 ArrayList<String> ifaces = mClassToInterface.get(cl); in resolveInterfaces() local
49 if (ifaces == null) { in resolveInterfaces()
52 for (String iface : ifaces) { in resolveInterfaces()
/external/toybox/toys/net/
Difconfig.c272 struct string_list *ifaces = 0, *sl; in show_iface() local
301 sl->next = ifaces; in show_iface()
302 ifaces = sl; in show_iface()
328 for(sl = ifaces; sl; sl = sl->next) in show_iface()
337 llist_traverse(ifaces, free); in show_iface()
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwps-nfc.py45 ifaces = []
48 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
53 if len(ifaces) < 1:
57 for ctrl in ifaces:
Dwpas-dbus-new.py28 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces',
30 for path in ifaces:
Dp2p-nfc.py52 ifaces = []
55 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
60 if len(ifaces) < 1:
64 for ctrl in ifaces:
Dwpas-dbus-new-signals.py29 ifaces = wpas_obj.Get(WPAS_DBUS_INTERFACE, 'Interfaces',
31 for path in ifaces:
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Daddinterface.cpp78 QString ifaces(buf); in addInterfaces() local
79 QStringList lines = ifaces.split(QRegExp("\\n")); in addInterfaces()
/external/doclava/src/com/google/doclava/
DMethodInfo.java55 private static void addInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addInterfaces() argument
56 for (ClassInfo i : ifaces) { in addInterfaces()
59 for (ClassInfo i : ifaces) { in addInterfaces()
88 private static void addRealInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addRealInterfaces() argument
89 for (ClassInfo i : ifaces) { in addRealInterfaces()
95 for (ClassInfo i : ifaces) { in addRealInterfaces()
/external/wpa_supplicant_8/src/ap/
Dhostapd.h491 int hostapd_add_iface(struct hapd_interfaces *ifaces, char *buf);
492 int hostapd_remove_iface(struct hapd_interfaces *ifaces, char *buf);

12