Searched refs:sock_name (Results 1 - 2 of 2) sorted by relevance
/external/wpa_supplicant_6/wpa_supplicant/ |
H A D | wpa_priv.c | 43 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...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpa_priv.c | 29 char *sock_name; member in struct:wpa_priv_interface 542 unlink(iface->sock_name); 550 os_free(iface->sock_name); 606 iface->sock_name = os_malloc(len + 1); 607 if (iface->sock_name == NULL) { 612 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname); 613 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) { 627 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path)); 637 if (unlink(iface->sock_name) < 0) { 641 iface->sock_name); [all...] |
Completed in 115 milliseconds