Searched refs:sa_un (Results 1 – 3 of 3) sorted by relevance
474 struct sockaddr_un *sa_un; in Curl_unix2addr() local484 sa_un = (void *) ai->ai_addr; in Curl_unix2addr()485 sa_un->sun_family = AF_UNIX; in Curl_unix2addr()489 if(path_len > sizeof(sa_un->sun_path)) { in Curl_unix2addr()502 memcpy(sa_un->sun_path + 1, path, path_len - 1); in Curl_unix2addr()504 memcpy(sa_un->sun_path, path, path_len); /* copy NUL byte */ in Curl_unix2addr()
72 const struct sockaddr_un *const sa_un = buf; in print_sockaddr_data_un() local73 const int un_len = addrlen > (int) sizeof(*sa_un) in print_sockaddr_data_un()74 ? (int) sizeof(*sa_un) : addrlen; in print_sockaddr_data_un()78 if (sa_un->sun_path[0]) { in print_sockaddr_data_un()79 print_quoted_string(sa_un->sun_path, path_len + 1, in print_sockaddr_data_un()83 print_quoted_string(sa_un->sun_path + 1, path_len - 1, 0); in print_sockaddr_data_un()
4234 struct sockaddr_un *sa_un = (struct sockaddr_un *)sa; in evhttp_get_request_connection() local4235 sa_un->sun_path[0] = '\0'; in evhttp_get_request_connection()