Lines Matching defs:ctrl_path
88 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
90 return wpa_ctrl_open2(ctrl_path, NULL);
94 struct wpa_ctrl * wpa_ctrl_open2(const char *ctrl_path,
104 if (ctrl_path == NULL)
173 if (os_strncmp(ctrl_path, "@android:", 9) == 0) {
175 ctrl->s, ctrl_path + 9,
187 * If the ctrl_path isn't an absolute pathname, assume that
192 if (*ctrl_path != '/') {
194 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path);
209 if (os_strncmp(ctrl_path, "@abstract:", 10) == 0) {
211 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10,
214 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path,
307 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
365 if (ctrl_path) {
373 name = os_strdup(ctrl_path);
663 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
676 if (ctrl_path == NULL)
680 ctrl_path);
682 if (ctrl_path == NULL)
686 ctrl_path);