/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_privsep.c | 30 char *own_socket_path; member in struct:l2_packet_data 157 l2->own_socket_path = os_malloc(len); 158 if (l2->own_socket_path == NULL) { 162 os_snprintf(l2->own_socket_path, len, "%s/wpa_privsep-l2-%d-%d", 172 os_free(l2->own_socket_path); 173 l2->own_socket_path = NULL; 180 os_strlcpy(addr.sun_path, l2->own_socket_path, sizeof(addr.sun_path)); 229 unlink(l2->own_socket_path); 230 os_free(l2->own_socket_path); 231 l2->own_socket_path = NULL [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_privsep.c | 24 char *own_socket_path; member in struct:l2_packet_data 151 l2->own_socket_path = os_malloc(len); 152 if (l2->own_socket_path == NULL) { 156 os_snprintf(l2->own_socket_path, len, "%s/wpa_privsep-l2-%d-%d", 166 os_free(l2->own_socket_path); 167 l2->own_socket_path = NULL; 174 os_strlcpy(addr.sun_path, l2->own_socket_path, sizeof(addr.sun_path)); 223 unlink(l2->own_socket_path); 224 os_free(l2->own_socket_path); 225 l2->own_socket_path = NULL [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_privsep.c | 28 char *own_socket_path; member in struct:wpa_driver_privsep_data 574 if (drv->own_socket_path) { 575 unlink(drv->own_socket_path); 576 os_free(drv->own_socket_path); 644 drv->own_socket_path = os_malloc(len); 645 if (drv->own_socket_path == NULL) { 650 os_snprintf(drv->own_socket_path, len, "%s/wpa_privsep-%d-%d", 656 os_free(drv->own_socket_path); 657 drv->own_socket_path = NULL; 675 os_free(drv->own_socket_path); [all...] |
driver_test.c | 53 char *own_socket_path; member in struct:wpa_driver_test_data 628 if (drv->own_socket_path) { 629 unlink(drv->own_socket_path); 630 os_free(drv->own_socket_path); 631 drv->own_socket_path = NULL; 659 os_free(drv->own_socket_path); 662 drv->own_socket_path = os_malloc(len); 663 if (drv->own_socket_path == NULL) 665 os_snprintf(drv->own_socket_path, len, "%s/STA-" MACSTR, 668 drv->own_socket_path = os_malloc(100) [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 22 char *own_socket_path; member in struct:wpa_driver_privsep_data 543 if (drv->own_socket_path) { 544 unlink(drv->own_socket_path); 545 os_free(drv->own_socket_path); 613 drv->own_socket_path = os_malloc(len); 614 if (drv->own_socket_path == NULL) { 619 os_snprintf(drv->own_socket_path, len, "%s/wpa_privsep-%d-%d", 625 os_free(drv->own_socket_path); 626 drv->own_socket_path = NULL; 644 os_free(drv->own_socket_path); [all...] |
driver_test.c | 78 char *own_socket_path; member in struct:wpa_driver_test_data 278 if (strcmp(addr.sun_path, drv->own_socket_path) == 0) 388 if (os_strcmp(addr.sun_path, drv->own_socket_path) == 0) 1238 drv->own_socket_path = os_malloc(len); 1239 if (drv->own_socket_path) { 1240 snprintf(drv->own_socket_path, len, 1248 drv->own_socket_path = os_strdup(params->test_socket); 1250 if (drv->own_socket_path == NULL && drv->udp_port == 0) { 1272 os_strlcpy(addr_un.sun_path, drv->own_socket_path, 1280 if (drv->own_socket_path) [all...] |