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,
308 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
366 if (ctrl_path) {
374 name = os_strdup(ctrl_path);
654 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
667 if (ctrl_path == NULL)
671 ctrl_path);
673 if (ctrl_path == NULL)
677 ctrl_path);