Searched refs:ctrl_path (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 86 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path) in wpa_ctrl_open() argument 95 if (ctrl_path == NULL) in wpa_ctrl_open() 142 if (os_strncmp(ctrl_path, "@android:", 9) == 0) { in wpa_ctrl_open() 144 ctrl->s, ctrl_path + 9, in wpa_ctrl_open() 161 if (*ctrl_path != '/') { in wpa_ctrl_open() 163 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path); in wpa_ctrl_open() 178 if (os_strncmp(ctrl_path, "@abstract:", 10) == 0) { in wpa_ctrl_open() 180 os_strlcpy(ctrl->dest.sun_path + 1, ctrl_path + 10, in wpa_ctrl_open() 183 res = os_strlcpy(ctrl->dest.sun_path, ctrl_path, in wpa_ctrl_open() 277 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path) in wpa_ctrl_open() argument [all …]
|
D | wpa_ctrl.h | 316 struct wpa_ctrl * wpa_ctrl_open(const char *ctrl_path);
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 327 char ctrl_path[64] = ""; // "/var/tmp/dnssd_result_socket.xxxxxxxxxx-xxx-xxxxxx" in create_hdr() local 338 sprintf(ctrl_path, "%s%d-%.3lx-%.6lu", CTL_PATH_PREFIX, (int)getpid(), in create_hdr() 340 *len += strlen(ctrl_path) + 1; in create_hdr() 367 if (SeparateReturnSocket) put_string(ctrl_path, data_start); in create_hdr()
|
D | uds_daemon.c | 3676 char ctrl_path[MAX_CTLPATH]; in read_msg() local 3677 …get_string(&req->msgptr, req->msgend, ctrl_path, MAX_CTLPATH); // path is first element in message… in read_msg() 3680 mDNSPlatformStrCopy(cliaddr.sun_path, ctrl_path); in read_msg() 3684 if (ctrl_path[0] == 0) in read_msg()
|