Searched refs:sock_name (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_priv.c | 30 char *sock_name; member 723 unlink(iface->sock_name); in wpa_priv_interface_deinit() 733 os_free(iface->sock_name); in wpa_priv_interface_deinit() 786 iface->sock_name = os_malloc(len + 1); in wpa_priv_interface_init() 787 if (iface->sock_name == NULL) { in wpa_priv_interface_init() 792 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname); in wpa_priv_interface_init() 793 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) { in wpa_priv_interface_init() 807 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path)); in wpa_priv_interface_init() 817 if (unlink(iface->sock_name) < 0) { in wpa_priv_interface_init() 820 iface->sock_name, strerror(errno)); in wpa_priv_interface_init() [all …]
|
/external/iproute2/misc/ |
D | ss.c | 793 static void sock_state_print(struct sockstat *s, const char *sock_name) in sock_state_print() argument 796 printf("%-*s ", netid_width, sock_name); in sock_state_print()
|