Searched refs:ctrl_ifname (Results 1 – 2 of 2) sorted by relevance
36 static char *ctrl_ifname = NULL; variable162 os_free(ctrl_ifname); in hostapd_cli_reconnect()163 ctrl_ifname = next_ctrl_ifname; in hostapd_cli_reconnect()164 if (!ctrl_ifname) in hostapd_cli_reconnect()167 ctrl_conn = hostapd_cli_open_connection(ctrl_ifname); in hostapd_cli_reconnect()303 hostapd_cli_exec(action_file, ctrl_ifname, pos); in hostapd_cli_action_process()1001 ctrl_ifname); in hostapd_cli_cmd_interface()1825 if (!ctrl_conn && hostapd_cli_reconnect(ctrl_ifname) == 0) in hostapd_cli_ping()2030 os_free(ctrl_ifname); in main()2031 ctrl_ifname = os_strdup(optarg); in main()[all …]
51 static char *ctrl_ifname = NULL; variable1778 os_free(ctrl_ifname); in wpa_cli_cmd_interface()1779 ctrl_ifname = os_strdup(argv[0]); in wpa_cli_cmd_interface()1780 if (!ctrl_ifname) { in wpa_cli_cmd_interface()1785 if (wpa_cli_open_connection(ctrl_ifname, 1) == 0) { in wpa_cli_cmd_interface()1786 printf("Connected to interface '%s.\n", ctrl_ifname); in wpa_cli_cmd_interface()1789 ctrl_ifname); in wpa_cli_cmd_interface()3901 const char *ifname = ctrl_ifname; in wpa_cli_action_process()3971 wpa_cli_exec(action_file, ctrl_ifname, pos); in wpa_cli_action_process()3973 wpa_cli_exec(action_file, ctrl_ifname, pos); in wpa_cli_action_process()[all …]