Searched refs:addr_un (Results 1 – 2 of 2) sorted by relevance
84 struct sockaddr_un *addr_un = (struct sockaddr_un *)&addr; in get_random_bytes_prngd() local91 strlen(socket_path) >= sizeof(addr_un->sun_path)) in get_random_bytes_prngd()104 addr_un->sun_family = AF_UNIX; in get_random_bytes_prngd()105 strlcpy(addr_un->sun_path, socket_path, in get_random_bytes_prngd()106 sizeof(addr_un->sun_path)); in get_random_bytes_prngd()128 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()