Lines Matching defs:ifname
57 "usage: hostapd_cli [-p<path>] [-i<ifname>] [-hvB] "
72 " -i<ifname> Interface to listen on (default: first "
103 static struct wpa_ctrl * hostapd_cli_open_connection(const char *ifname)
110 if (ifname == NULL)
114 ctrl_conn = wpa_ctrl_open(ifname);
117 flen = strlen(ctrl_iface_dir) + strlen(ifname) + 2;
121 snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname);
152 static int hostapd_cli_reconnect(const char *ifname)
158 if (!ifname)
161 next_ctrl_ifname = os_strdup(ifname);
1586 "[ifname] = show interfaces/select interface" },