Searched refs:addr_un (Results 1 – 2 of 2) sorted by relevance
86 struct sockaddr_un *addr_un = (struct sockaddr_un *)&addr; in get_random_bytes_prngd() local93 strlen(socket_path) >= sizeof(addr_un->sun_path)) in get_random_bytes_prngd()106 addr_un->sun_family = AF_UNIX; in get_random_bytes_prngd()107 strlcpy(addr_un->sun_path, socket_path, in get_random_bytes_prngd()108 sizeof(addr_un->sun_path)); in get_random_bytes_prngd()130 addr_un->sun_path, strerror(errno)); in get_random_bytes_prngd()
43 struct sockaddr_un* addr_un = in test_grpc_parse_unix() local45 GPR_ASSERT(AF_UNIX == addr_un->sun_family); in test_grpc_parse_unix()46 GPR_ASSERT(0 == strcmp(addr_un->sun_path, pathname)); in test_grpc_parse_unix()