Home
last modified time | relevance | path

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

12

/hostap-3.6.0/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.c545 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_group()
601 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in p2p_group_go_member_count()
644 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_get_go_group()
670 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_p2p_get_cli_group()
1015 wpa_s = global->ifaces; in wpas_p2p_group_delete()
2801 for (group = wpa_s->global->ifaces; group; group = group->next) in wpas_prov_disc_req()
4038 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_noa()
4052 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_go_iface()
4074 for (wpa_s = wpa_s->global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpas_get_p2p_client_iface()
4099 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_is_concurrent_session_active()
[all …]
/hostap-3.6.0/tests/hwsim/
Dtest_ap_vlan.py390 ifaces = netifaces.interfaces()
391 if "stub0" in ifaces:
393 ifaces = netifaces.interfaces()
394 if "stub0.1" in ifaces:
400 ifaces = netifaces.interfaces()
401 if "stub0" not in ifaces:
407 ifaces = netifaces.interfaces()
408 if "stub0.1" not in ifaces:
413 ifaces = netifaces.interfaces()
414 if "stub0.1" in ifaces:
[all …]
Dtest_p2p_device.py322 ifaces = wpas.global_request("INTERFACES")
323 logger.info("Remaining interfaces: " + ifaces)
325 if "p2p-" + iface + "-" in ifaces:
366 ifaces = wpas.global_request("INTERFACES")
367 logger.info("Remaining interfaces: " + ifaces)
369 if "p2p-" + iface + "-" in ifaces:
Dtest_p2p_grpform.py216 ifaces = wpas.request("INTERFACES").splitlines()
217 iface = ifaces[0] if "p2p-wlan" in ifaces[0] else ifaces[1]
226 ifaces = dev[0].request("INTERFACES").splitlines()
227 iface = ifaces[0] if "p2p-wlan" in ifaces[0] else ifaces[1]
Dwlantest.py55 ifaces = re.split('; | |, ', cls.remote_host.ifname)
56 ifname = ifaces[0]
Dtest_p2p_autogo.py167 ifaces = dev[1].request("INTERFACES").splitlines()
168 iface = ifaces[0] if "p2p-wlan" in ifaces[0] else ifaces[1]
Dfst_module_aux.py300 ifaces = []
307 ifaces.append(iface)
308 return ifaces
/hostap-3.6.0/wpaspy/
Dtest.py17 ifaces = []
29 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
34 if len(ifaces) < 1:
38 for ctrl in ifaces:
/hostap-3.6.0/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()
/hostap-3.6.0/wpa_supplicant/examples/
Ddpp-qrcode.py23 ifaces = []
26 ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
31 if len(ifaces) < 1:
35 for ctrl in ifaces:
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:
/hostap-3.6.0/tests/remote/
Dtest_devices.py44 ifaces = re.split('; | |, ', host.ifname)
45 for iface in ifaces:
88 ifaces = re.split('; | |, ', host.ifname)
90 for iface in ifaces:
Dmonitor.py71 ifaces = re.split('; | |, ', host.ifname)
75 iface = ifaces[count]
/hostap-3.6.0/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()
/hostap-3.6.0/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.c411 static int hostapd_global_run(struct hapd_interfaces *ifaces, int daemonize, in hostapd_global_run() argument
418 for (i = 0; !tnc && i < ifaces->count; i++) { in hostapd_global_run()
419 for (k = 0; k < ifaces->iface[i]->num_bss; k++) { in hostapd_global_run()
420 if (ifaces->iface[i]->bss[0]->conf->tnc) { in hostapd_global_run()
/hostap-3.6.0/src/ap/
Ddpp_hostapd.h41 void hostapd_dpp_init_global(struct hapd_interfaces *ifaces);
42 void hostapd_dpp_deinit_global(struct hapd_interfaces *ifaces);
/hostap-3.6.0/wpa_supplicant/wpa_gui-qt4/
Daddinterface.cpp78 QString ifaces(buf); in addInterfaces() local
79 QStringList lines = ifaces.split(QRegExp("\\n")); in addInterfaces()
/hostap-3.6.0/src/drivers/
Ddriver_bsd.c55 struct dl_list ifaces; /* list of interfaces */ member
84 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvindex()
97 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_get_drvname()
679 dl_list_for_each(drv, &global->ifaces, struct bsd_driver_data, list) { in bsd_route_overflow()
1037 dl_list_add(&drv->global->ifaces, &drv->list); in bsd_init()
1615 dl_list_add(&drv->global->ifaces, &drv->list); in wpa_driver_bsd_init()
1677 dl_list_init(&global->ifaces); in bsd_global_init()

12