Searched refs:sock_name (Results 1 - 1 of 1) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/
H A Dwpa_priv.c43 char *sock_name; member in struct:wpa_priv_interface
682 unlink(iface->sock_name);
690 os_free(iface->sock_name);
746 iface->sock_name = os_malloc(len + 1);
747 if (iface->sock_name == NULL) {
752 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname);
753 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) {
767 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path));
777 if (unlink(iface->sock_name) < 0) {
781 iface->sock_name);
[all...]

Completed in 198 milliseconds