Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 25 of 51) sorted by relevance

123

/hostap-latest/hostapd/
Dmain.c215 wpa_drivers[i]->global_init(iface->interfaces); in hostapd_driver_init()
358 hostapd_interface_init(struct hapd_interfaces *interfaces, const char *if_name, in hostapd_interface_init() argument
365 iface = hostapd_init(interfaces, config_fname); in hostapd_interface_init()
374 iface->interfaces = interfaces; in hostapd_interface_init()
421 struct hapd_interfaces *interfaces = signal_ctx; in handle_reload() local
424 hostapd_for_each_interface(interfaces, handle_reload_iface, NULL); in handle_reload()
435 static int hostapd_global_init(struct hapd_interfaces *interfaces, in hostapd_global_init() argument
453 interfaces->eloop_initialized = 1; in hostapd_global_init()
458 eloop_register_signal(SIGHUP, handle_reload, interfaces); in hostapd_global_init()
459 eloop_register_signal(SIGUSR1, handle_dump_state, interfaces); in hostapd_global_init()
[all …]
Dctrl_iface.c1291 dpp_controller_set_params(hapd->iface->interfaces->dpp, value); in hostapd_ctrl_iface_set()
3610 for (i = 0; i < iface->interfaces->count; ++i) { in hostapd_ctrl_iface_enable_mld()
3611 struct hostapd_iface *h_iface = iface->interfaces->iface[i]; in hostapd_ctrl_iface_enable_mld()
3648 for (i = 0; i < iface->interfaces->count; ++i) { in hostapd_ctrl_iface_disable_mld()
3649 struct hostapd_iface *h_iface = iface->interfaces->iface[i]; in hostapd_ctrl_iface_disable_mld()
3659 for (i = 0; i < iface->interfaces->count; ++i) { in hostapd_ctrl_iface_disable_mld()
3660 struct hostapd_iface *h_iface = iface->interfaces->iface[i]; in hostapd_ctrl_iface_disable_mld()
4440 res = dpp_bootstrap_gen(hapd->iface->interfaces->dpp, buf + 18); in hostapd_ctrl_iface_receive_process()
4449 if (dpp_bootstrap_remove(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process()
4455 uri = dpp_bootstrap_get_uri(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process()
[all …]
Dhostapd.vlan7 # name will be replaced with the VLAN ID. The network interfaces are created
Dhostapd_cli.c962 struct dl_list *interfaces) in hostapd_cli_get_interfaces() argument
967 if (!ctrl || !interfaces) in hostapd_cli_get_interfaces()
977 cli_txt_list_add(interfaces, dent->d_name); in hostapd_cli_get_interfaces()
1025 DEFINE_DL_LIST(interfaces); in hostapd_complete_interface()
1029 hostapd_cli_get_interfaces(ctrl_conn, &interfaces); in hostapd_complete_interface()
1030 res = cli_txt_list_array(&interfaces); in hostapd_complete_interface()
1031 cli_txt_list_flush(&interfaces); in hostapd_complete_interface()
/hostap-latest/src/ap/
Dhostapd.c80 int hostapd_for_each_interface(struct hapd_interfaces *interfaces, in hostapd_for_each_interface() argument
87 for (i = 0; i < interfaces->count; i++) { in hostapd_for_each_interface()
88 if (!interfaces->iface[i]) in hostapd_for_each_interface()
90 ret = cb(interfaces->iface[i], ctx); in hostapd_for_each_interface()
256 struct hapd_interfaces *interfaces = iface->interfaces; in hostapd_reload_config() local
269 if (iface->interfaces == NULL || in hostapd_reload_config()
270 iface->interfaces->config_read_cb == NULL) in hostapd_reload_config()
272 newconf = iface->interfaces->config_read_cb(iface->config_fname); in hostapd_reload_config()
290 hostapd_remove_iface(interfaces, hapd->conf->iface); in hostapd_reload_config()
291 iface = hostapd_init(interfaces, fname); in hostapd_reload_config()
[all …]
Dutils.c108 if (hapd->iface->interfaces && in hostapd_prune_associations()
109 hapd->iface->interfaces->for_each_interface) in hostapd_prune_associations()
110 hapd->iface->interfaces->for_each_interface( in hostapd_prune_associations()
111 hapd->iface->interfaces, prune_associations, &data); in hostapd_prune_associations()
Deth_p_oui.c94 struct hapd_interfaces *interfaces; in eth_p_oui_register() local
104 interfaces = hapd->iface->interfaces; in eth_p_oui_register()
106 dl_list_for_each(iface, &interfaces->eth_p_oui, struct eth_p_oui_iface, in eth_p_oui_register()
128 dl_list_add_tail(&interfaces->eth_p_oui, &iface->list); in eth_p_oui_register()
Ddpp_hostapd.c61 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_qr_code()
80 dpp_controller_new_qr_code(hapd->iface->interfaces->dpp, bi); in hostapd_dpp_qr_code()
97 bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_nfc_uri()
114 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_req()
122 peer_bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, pos); in hostapd_dpp_nfc_handover_req()
145 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_sel()
153 peer_bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, pos); in hostapd_dpp_nfc_handover_sel()
320 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, in hostapd_dpp_pkex_done()
350 auth = dpp_auth_init(hapd->iface->interfaces->dpp, hapd->msg_ctx, in hostapd_dpp_pkex_done()
363 return dpp_tcp_auth(hapd->iface->interfaces->dpp, conn, auth, in hostapd_dpp_pkex_done()
[all …]
Dvlan_full.c54 struct hapd_interfaces *interfaces; in dyn_iface_get() local
56 interfaces = hapd->iface->interfaces; in dyn_iface_get()
57 dynamic_ifaces = &interfaces->vlan_priv; in dyn_iface_get()
90 struct hapd_interfaces *interfaces; in dyn_iface_put() local
93 interfaces = hapd->iface->interfaces; in dyn_iface_put()
94 dynamic_ifaces = &interfaces->vlan_priv; in dyn_iface_put()
Dhostapd.h54 int (*for_each_interface)(struct hapd_interfaces *interfaces,
537 struct hapd_interfaces *interfaces; member
724 int hostapd_for_each_interface(struct hapd_interfaces *interfaces,
738 struct hostapd_iface * hostapd_init(struct hapd_interfaces *interfaces,
741 hostapd_interface_init_bss(struct hapd_interfaces *interfaces, const char *phy,
810 struct hostapd_data * hostapd_get_iface(struct hapd_interfaces *interfaces,
Dwpa_auth_glue.c673 if (hapd->iface->interfaces == NULL || in hostapd_wpa_auth_for_each_auth()
674 hapd->iface->interfaces->for_each_interface == NULL) in hostapd_wpa_auth_for_each_auth()
678 return hapd->iface->interfaces->for_each_interface( in hostapd_wpa_auth_for_each_auth()
679 hapd->iface->interfaces, wpa_auth_iface_iter, &data); in hostapd_wpa_auth_for_each_auth()
794 if (proto == ETH_P_RRB && hapd->iface->interfaces && in hostapd_wpa_auth_send_ether()
795 hapd->iface->interfaces->for_each_interface) { in hostapd_wpa_auth_send_ether()
802 res = hapd->iface->interfaces->for_each_interface( in hostapd_wpa_auth_send_ether()
803 hapd->iface->interfaces, hostapd_wpa_auth_ft_iter, in hostapd_wpa_auth_send_ether()
978 if (hapd->iface->interfaces && in hostapd_wpa_auth_send_oui()
979 hapd->iface->interfaces->for_each_interface) { in hostapd_wpa_auth_send_oui()
[all …]
Dwps_hostapd.c87 if (iface->interfaces == NULL || in hostapd_wps_for_each()
88 iface->interfaces->for_each_interface == NULL) in hostapd_wps_for_each()
90 return iface->interfaces->for_each_interface(iface->interfaces, in hostapd_wps_for_each()
317 if (iface->interfaces == NULL || in wps_reload_config()
318 iface->interfaces->reload_config(iface) < 0) { in wps_reload_config()
995 if (iface->interfaces == NULL || in get_own_uuid()
996 iface->interfaces->for_each_interface == NULL) in get_own_uuid()
999 iface->interfaces->for_each_interface(iface->interfaces, get_uuid_cb, in get_own_uuid()
1016 if (iface->interfaces == NULL || in interface_count()
1017 iface->interfaces->for_each_interface == NULL) in interface_count()
[all …]
Dbeacon.c1195 if (!iface->interfaces || iface->interfaces->count <= 1 || in ssid_match()
1199 for (i = 0; i < iface->interfaces->count; i++) { in ssid_match()
1202 colocated = iface->interfaces->iface[i]; in ssid_match()
1300 struct hapd_interfaces *interfaces = iface->interfaces; in sta_track_seen_on() local
1303 for (i = 0; i < interfaces->count; i++) { in sta_track_seen_on()
1306 iface = interfaces->iface[i]; in sta_track_seen_on()
2789 if (!iface->interfaces || iface->interfaces->count <= 1) in ieee802_11_set_beacon()
2798 for (j = 0; j < iface->interfaces->count; j++) { in ieee802_11_set_beacon()
2802 other = iface->interfaces->iface[j]; in ieee802_11_set_beacon()
Ddrv_callbacks.c934 struct hapd_interfaces *interfaces = assoc_hapd->iface->interfaces; in hostapd_notif_disassoc_mld() local
941 for (i = 0; i < interfaces->count; i++) { in hostapd_notif_disassoc_mld()
944 tmp_hapd = interfaces->iface[i]->bss[0]; in hostapd_notif_disassoc_mld()
992 for (i = 0; i < hapd->iface->interfaces->count; ++i) { in hostapd_notif_disassoc()
994 hapd->iface->interfaces->iface[i]; in hostapd_notif_disassoc()
1760 for (i = 0; i < hapd->iface->interfaces->count; i++) { in switch_link_scan()
1764 h = hapd->iface->interfaces->iface[i]; in switch_link_scan()
2470 for (i = 0; i < hapd->iface->interfaces->count; i++) { in hostapd_event()
2472 hapd->iface->interfaces->iface[i]; in hostapd_event()
2794 struct hapd_interfaces *interfaces = ctx; in hostapd_event_global() local
[all …]
Dieee802_11_eht.c681 for (i = 0; i < hapd->iface->interfaces->count; i++) { in hostapd_eid_eht_reconf_ml()
682 other_hapd = hapd->iface->interfaces->iface[i]->bss[0]; in hostapd_eid_eht_reconf_ml()
692 if (i == hapd->iface->interfaces->count) in hostapd_eid_eht_reconf_ml()
711 for (i = 0; i < hapd->iface->interfaces->count; i++) { in hostapd_eid_eht_reconf_ml()
712 other_hapd = hapd->iface->interfaces->iface[i]->bss[0]; in hostapd_eid_eht_reconf_ml()
/hostap-latest/wpa_supplicant/dbus/
Ddbus_new_introspect.c20 struct interfaces { struct
27 static struct interfaces * add_interface(struct dl_list *list, in add_interface() argument
30 struct interfaces *iface; in add_interface()
32 dl_list_for_each(iface, list, struct interfaces, list) { in add_interface()
37 iface = os_zalloc(sizeof(struct interfaces)); in add_interface()
100 struct interfaces *iface; in extract_interfaces_methods()
115 struct interfaces *iface; in extract_interfaces_signals()
130 struct interfaces *iface; in extract_interfaces_properties()
161 struct interfaces *iface, *n; in add_interfaces()
163 dl_list_for_each_safe(iface, n, list, struct interfaces, list) { in add_interfaces()
/hostap-latest/tests/hwsim/
Dtest_ap_vlan.py399 ifaces = netifaces.interfaces()
402 ifaces = netifaces.interfaces()
409 ifaces = netifaces.interfaces()
416 ifaces = netifaces.interfaces()
422 ifaces = netifaces.interfaces()
459 ifaces = netifaces.interfaces()
471 ifaces = netifaces.interfaces()
507 ifaces = netifaces.interfaces()
545 ifaces = netifaces.interfaces()
558 ifaces = netifaces.interfaces()
[all …]
DREADME24 interfaces to perform the operations. In addition, wlantest_cli is used
107 Other network interfaces
119 may end up trying to control new network interfaces automatically. This
122 interfaces as umanaged. As an example, this can be done in
169 For manual testing, ./start.sh can be used to initialize interfaces and
/hostap-latest/wpa_supplicant/
Dwin_example.reg35 [HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\interfaces]
37 [HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\interfaces\0000]
Dwpa_priv.c52 struct wpa_priv_interface *interfaces; member
1118 for (iface = global->interfaces; iface; iface = iface->next) { in wpa_supplicant_event_global()
1226 global.interfaces = NULL; in main()
1268 iface->next = global.interfaces; in main()
1269 global.interfaces = iface; in main()
1281 iface = global.interfaces; in main()
DREADME300 driver interfaces (e.g., nl80211, wext, ..) and which authentication
335 interfaces are included.
342 Following example includes some more features and driver interfaces that
471 wpa_supplicant can control multiple interfaces (radios) either by
475 start wpa_supplicant for two interfaces:
482 If the interfaces on which wpa_supplicant is to run are not known or do
753 interface [ifname] = show interfaces/select interface
883 network interfaces. When used in this way, a global (i.e., per
885 network interfaces. Each network interface can then be configured
888 network interfaces and then add a network interface and configure a
[all …]
/hostap-latest/src/wps/
Dwps_upnp.c567 dl_list_for_each(iface, &s->sm->interfaces, in subscription_destroy()
1108 dl_list_for_each(iface, &sm->interfaces, in upnp_wps_get_iface()
1137 if (dl_list_len(&sm->interfaces) == 1) { in upnp_wps_device_deinit()
1157 if (dl_list_empty(&sm->interfaces)) { in upnp_wps_device_deinit()
1214 dl_list_init(&sm->interfaces); in upnp_wps_device_init()
1218 dl_list_add(&sm->interfaces, &iface->list); in upnp_wps_device_init()
1247 dl_list_for_each(iface, &sm->interfaces, in upnp_wps_set_ap_pin()
Dwps_upnp_web.c318 iface = dl_list_first(&sm->interfaces, in web_connection_parse_get()
431 iface = dl_list_first(&sm->interfaces, in web_process_get_device_info()
501 iface = dl_list_first(&sm->interfaces, in web_process_put_message()
653 dl_list_for_each(iface, &sm->interfaces, in web_process_put_wlan_response()
720 dl_list_for_each(iface, &sm->interfaces, in web_process_set_selected_registrar()
Dwps_upnp_i.h124 struct dl_list interfaces; /* struct upnp_wps_device_interface */ member
/hostap-latest/wpa_supplicant/doc/docbook/
Dwpa_priv.sgml74 startup scripts) with the enabled interfaces configured on the
126 include network interfaces that are not available at the time wpa_priv
127 is started. wpa_priv can control multiple interfaces with one process,

123