Home
last modified time | relevance | path

Searched refs:in6_dest (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/test/cpp/naming/
Daddress_sorting_test.cc79 sockaddr_in6 in6_dest; in TestAddressToGrpcResolvedAddress() local
80 memset(&in6_dest, 0, sizeof(sockaddr_in6)); in TestAddressToGrpcResolvedAddress()
81 in6_dest.sin6_port = htons(atoi(port)); in TestAddressToGrpcResolvedAddress()
82 in6_dest.sin6_family = AF_INET6; in TestAddressToGrpcResolvedAddress()
83 GPR_ASSERT(inet_pton(AF_INET6, host, &in6_dest.sin6_addr) == 1); in TestAddressToGrpcResolvedAddress()
84 memcpy(&resolved_addr.addr, &in6_dest, sizeof(sockaddr_in6)); in TestAddressToGrpcResolvedAddress()