Lines Matching refs:ctrl_path
85 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
94 if (ctrl_path == NULL)
142 if (os_strncmp(ctrl_path, "@android:", 9) == 0) {
144 ctrl->s, ctrl_path + 9,
156 * If the ctrl_path isn't an absolute pathname, assume that
161 if (*ctrl_path != '/') {
163 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path);
178 if (os_strncmp(ctrl_path, "@abstract:", 10) == 0) {
180 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10,
183 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path,
277 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
336 if (ctrl_path) {
344 name = os_strdup(ctrl_path);
621 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path)
634 if (ctrl_path == NULL)
638 ctrl_path);
640 if (ctrl_path == NULL)
644 ctrl_path);