Searched refs:ctrl_ifname (Results 1 – 2 of 2) sorted by relevance
36 static char *ctrl_ifname = NULL; variable165 os_free(ctrl_ifname); in hostapd_cli_reconnect()166 ctrl_ifname = next_ctrl_ifname; in hostapd_cli_reconnect()167 if (!ctrl_ifname) in hostapd_cli_reconnect()170 ctrl_conn = hostapd_cli_open_connection(ctrl_ifname); in hostapd_cli_reconnect()306 hostapd_cli_exec(action_file, ctrl_ifname, pos); in hostapd_cli_action_process()1002 ctrl_ifname); in hostapd_cli_cmd_interface()1879 if (!ctrl_conn && hostapd_cli_reconnect(ctrl_ifname) == 0) in hostapd_cli_ping()2085 os_free(ctrl_ifname); in main()2086 ctrl_ifname = os_strdup(optarg); in main()[all …]
51 static char *ctrl_ifname = NULL; variable1816 os_free(ctrl_ifname); in wpa_cli_cmd_interface()1817 ctrl_ifname = os_strdup(argv[0]); in wpa_cli_cmd_interface()1818 if (!ctrl_ifname) { in wpa_cli_cmd_interface()1823 if (wpa_cli_open_connection(ctrl_ifname, 1) == 0) { in wpa_cli_cmd_interface()1824 printf("Connected to interface '%s'.\n", ctrl_ifname); in wpa_cli_cmd_interface()1827 ctrl_ifname); in wpa_cli_cmd_interface()4120 const char *ifname = ctrl_ifname; in wpa_cli_action_process()4190 wpa_cli_exec(action_file, ctrl_ifname, pos); in wpa_cli_action_process()4192 wpa_cli_exec(action_file, ctrl_ifname, pos); in wpa_cli_action_process()[all …]