Lines Matching full:ctrl_path
76 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
85 if (ctrl_path == NULL)
133 if (os_strncmp(ctrl_path, "@android:", 9) == 0) {
135 ctrl->s, ctrl_path + 9,
147 * If the ctrl_path isn't an absolute pathname, assume that
152 if (*ctrl_path != '/') {
154 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path);
169 if (os_strncmp(ctrl_path, "@abstract:", 10) == 0) {
171 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10,
174 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path,
268 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
307 if (ctrl_path) {
311 name = os_strdup(ctrl_path);
558 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
571 if (ctrl_path == NULL)
575 ctrl_path);
577 if (ctrl_path == NULL)
581 ctrl_path);