Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc56 struct ares_addr_port_node dns_server_addr; member
410 r->dns_server_addr.family = AF_INET; in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
412 memcpy(&r->dns_server_addr.addr.addr4, &in->sin_addr, in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
414 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
415 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
418 r->dns_server_addr.family = AF_INET6; in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
421 memcpy(&r->dns_server_addr.addr.addr6, &in6->sin6_addr, in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
423 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
424 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
431 int status = ares_set_servers_ports(*channel, &r->dns_server_addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()