Searched refs:ctrl_path (Results 1 – 2 of 2) sorted by relevance
/hostap-3.7.0/src/common/ |
D | wpa_ctrl.c | 96 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path) in wpa_ctrl_open() argument 98 return wpa_ctrl_open2(ctrl_path, NULL); in wpa_ctrl_open() 102 struct wpa_ctrl * wpa_ctrl_open2(const char *ctrl_path, in wpa_ctrl_open2() argument 112 if (ctrl_path == NULL) in wpa_ctrl_open2() 181 if (os_strncmp(ctrl_path, "@android:", 9) == 0) { in wpa_ctrl_open2() 183 ctrl->s, ctrl_path + 9, in wpa_ctrl_open2() 200 if (*ctrl_path != '/') { in wpa_ctrl_open2() 202 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path); in wpa_ctrl_open2() 217 if (os_strncmp(ctrl_path, "@abstract:", 10) == 0) { in wpa_ctrl_open2() 219 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10, in wpa_ctrl_open2() [all …]
|
D | wpa_ctrl.h | 502 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path); 517 struct wpa_ctrl * wpa_ctrl_open2(const char *ctrl_path, const char *cli_path);
|