Searched refs:sa_un (Results 1 – 2 of 2) sorted by relevance
69 const struct sockaddr_un *const sa_un = buf; in print_sockaddr_data_un() local70 const int un_len = addrlen > (int) sizeof(*sa_un) in print_sockaddr_data_un()71 ? (int) sizeof(*sa_un) : addrlen; in print_sockaddr_data_un()75 if (sa_un->sun_path[0]) { in print_sockaddr_data_un()76 print_quoted_string(sa_un->sun_path, path_len + 1, in print_sockaddr_data_un()80 print_quoted_string(sa_un->sun_path + 1, path_len - 1, 0); in print_sockaddr_data_un()
482 struct sockaddr_un *sa_un; in Curl_unix2addr() local494 if(path_len >= sizeof(sa_un->sun_path)) { in Curl_unix2addr()503 sa_un = (void *) ai->ai_addr; in Curl_unix2addr()504 sa_un->sun_family = AF_UNIX; in Curl_unix2addr()505 memcpy(sa_un->sun_path, path, path_len + 1); /* copy NUL byte */ in Curl_unix2addr()