Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Dmain_winsvc.c66 TCHAR adapter[TBUFLEN], config[TBUFLEN], ctrl_interface[TBUFLEN]; in read_interface() local
81 buflen = sizeof(ctrl_interface); in read_interface()
83 (LPBYTE) ctrl_interface, &buflen); in read_interface()
85 ctrl_interface[TBUFLEN - 1] = TEXT('\0'); in read_interface()
86 wpa_unicode2ascii_inplace(ctrl_interface); in read_interface()
88 (int) buflen, (char *) ctrl_interface); in read_interface()
89 iface.ctrl_interface = (char *) ctrl_interface; in read_interface()
Dctrl_iface_unix.c247 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_path()
250 pbuf = os_strdup(wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_path()
510 buf = os_strdup(wpa_s->conf->ctrl_interface); in wpas_ctrl_iface_open_sock()
515 wpa_s->conf->ctrl_interface); in wpas_ctrl_iface_open_sock()
716 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_init()
720 if (wpa_s->global->params.ctrl_interface) { in wpa_supplicant_ctrl_iface_init()
723 if (wpa_s->global->params.ctrl_interface[0] == '/') { in wpa_supplicant_ctrl_iface_init()
724 if (os_strcmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init()
725 wpa_s->conf->ctrl_interface) == 0) in wpa_supplicant_ctrl_iface_init()
727 } else if (os_strncmp(wpa_s->global->params.ctrl_interface, in wpa_supplicant_ctrl_iface_init()
[all …]
Dctrl_iface_udp.c416 if (wpa_s->conf->ctrl_interface == NULL)
419 pos = os_strstr(wpa_s->conf->ctrl_interface, "udp:");
425 wpa_s->conf->ctrl_interface);
468 os_free(wpa_s->conf->ctrl_interface);
469 wpa_s->conf->ctrl_interface = os_strdup(port_str);
470 if (!wpa_s->conf->ctrl_interface) {
761 if (global->params.ctrl_interface == NULL)
765 global->params.ctrl_interface);
767 pos = os_strstr(global->params.ctrl_interface, "udp:");
773 global->params.ctrl_interface);
Dmain.c218 iface->ctrl_interface = optarg; in main()
242 params.ctrl_interface = optarg; in main()
367 ifaces[i].ctrl_interface == NULL) || in main()
369 if (iface_count == 1 && (params.ctrl_interface || in main()
Dmain_winmain.c56 ifaces[i].ctrl_interface == NULL) || in WinMain()
58 if (iface_count == 1 && (params.ctrl_interface || in WinMain()
DREADME-DPP57 ctrl_interface=DIR=/var/run/wpa_supplicant
68 ctrl_interface=/var/run/hostapd
176 ctrl_interface=/var/run/hostapd
192 ctrl_interface=DIR=/var/run/wpa_supplicant
DREADME-Windows.txt177 ctrl_interface=
193 ctrl_interface is using UNIX domain sockets when built for cygwin, but
195 ctrl_interface configuration item is used to control access to the
204 ctrl_interface=SDDL=D:(A;;GA;;;BA)
214 ctrl_interface=SDDL=D:(A;;GA;;;BA)(A;;GA;;;PU)
222 ctrl_interface=SDDL=D:(A;;GA;;;AU)
232 ctrl_interface=SDDL=D:(A;;GA;;;BU)(A;;GA;;;AN)
260 'adapter', 'config', and 'ctrl_interface' values.
Dconfig.h539 char *ctrl_interface; member
1716 struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface,
Dwpa_supplicant.c1160 reconf_ctrl = !!conf->ctrl_interface != !!wpa_s->conf->ctrl_interface in wpa_supplicant_reload_configuration()
1161 || (conf->ctrl_interface && wpa_s->conf->ctrl_interface && in wpa_supplicant_reload_configuration()
1162 os_strcmp(conf->ctrl_interface, in wpa_supplicant_reload_configuration()
1163 wpa_s->conf->ctrl_interface) != 0); in wpa_supplicant_reload_configuration()
6338 iface->ctrl_interface ? iface->ctrl_interface : "N/A", in wpa_supplicant_init_iface()
6374 if (iface->ctrl_interface) { in wpa_supplicant_init_iface()
6375 os_free(wpa_s->conf->ctrl_interface); in wpa_supplicant_init_iface()
6376 wpa_s->conf->ctrl_interface = in wpa_supplicant_init_iface()
6377 os_strdup(iface->ctrl_interface); in wpa_supplicant_init_iface()
6386 if (iface->p2p_mgmt && !iface->ctrl_interface) { in wpa_supplicant_init_iface()
[all …]
Dwpa_supplicant.conf75 ctrl_interface=/var/run/wpa_supplicant
DREADME420 -C = ctrl_interface parameter (only used if -c is not)
425 -g = global ctrl_interface
426 -G = global ctrl_interface group
527 ctrl_interface=/var/run/wpa_supplicant
557 ctrl_interface=/var/run/wpa_supplicant
575 ctrl_interface=/var/run/wpa_supplicant
593 ctrl_interface=/var/run/wpa_supplicant
614 ctrl_interface=/var/run/wpa_supplicant
641 ctrl_interface=/var/run/wpa_supplicant
Dctrl_iface_named_pipe.c446 if (wpa_s->conf->ctrl_interface == NULL) in wpa_supplicant_ctrl_iface_init()
449 if (ctrl_iface_parse(priv, wpa_s->conf->ctrl_interface) < 0) { in wpa_supplicant_ctrl_iface_init()
Dpreauth_test.c340 wpa_s.conf->ctrl_interface); in main()
Dmesh.c831 iface.ctrl_interface = wpa_s->conf->ctrl_interface; in wpas_mesh_add_interface()
Dconfig_winreg.c230 config->ctrl_interface = wpa_config_read_reg_string( in wpa_config_read_global()
567 config->ctrl_interface); in wpa_config_write_global()
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_supplicant.conf.sgml53 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
86 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
108 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
130 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
155 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
185 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
Dwpa_cli.sgml22 <arg>-g <replaceable>path to global ctrl_interface socket</replaceable></arg>
53 allow non-root user access (ctrl_interface GROUP= parameter in the
164 contains the absolute path to the ctrl_interface socket. WPA_ID
Dwpa_supplicant.sgml327 <term>-C ctrl_interface</term>
329 <para>Path to ctrl_interface socket (Per interface. Only used if
378 <term>-g global ctrl_interface</term>
380 <para>Path to global ctrl_interface socket. If specified, interface
415 <term>-O override ctrl_interface</term>
417 <para>Override the ctrl_interface parameter for new
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dplaintext.conf3 ctrl_interface=/var/run/wpa_supplicant
Dwep.conf3 ctrl_interface=/var/run/wpa_supplicant
Dieee8021x.conf3 ctrl_interface=/var/run/wpa_supplicant
Dwpa-psk-tkip.conf3 ctrl_interface=/var/run/wpa_supplicant
Dwpa2-eap-ccmp.conf3 ctrl_interface=/var/run/wpa_supplicant
/external/wpa_supplicant_8/hostapd/
Dhostapd.conf66 ctrl_interface=/var/run/hostapd
Dctrl_iface.c3979 if (hapd->conf->ctrl_interface == NULL) in hostapd_ctrl_iface_path()
3982 len = os_strlen(hapd->conf->ctrl_interface) + in hostapd_ctrl_iface_path()
3989 hapd->conf->ctrl_interface, hapd->conf->iface); in hostapd_ctrl_iface_path()
4022 if (hapd->conf->ctrl_interface == NULL) in hostapd_ctrl_iface_init()
4025 pos = os_strstr(hapd->conf->ctrl_interface, "udp:"); in hostapd_ctrl_iface_init()
4080 os_free(hapd->conf->ctrl_interface); in hostapd_ctrl_iface_init()
4081 hapd->conf->ctrl_interface = tmp; in hostapd_ctrl_iface_init()
4113 if (hapd->conf->ctrl_interface == NULL) in hostapd_ctrl_iface_init()
4116 if (mkdir(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) { in hostapd_ctrl_iface_init()
4128 lchown(hapd->conf->ctrl_interface, -1, in hostapd_ctrl_iface_init()
[all …]

12