Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_init.c900 struct ares_addr namesrvr; in get_DNS_NetworkParams() local
934 if (ares_inet_pton(AF_INET, txtaddr, &namesrvr.addrV4) == 1) in get_DNS_NetworkParams()
936 if ((namesrvr.addrV4.S_un.S_addr == INADDR_ANY) || in get_DNS_NetworkParams()
937 (namesrvr.addrV4.S_un.S_addr == INADDR_NONE)) in get_DNS_NetworkParams()
940 else if (ares_inet_pton(AF_INET6, txtaddr, &namesrvr.addrV6) == 1) in get_DNS_NetworkParams()
942 if (memcmp(&namesrvr.addrV6, &ares_in6addr_any, in get_DNS_NetworkParams()
943 sizeof(namesrvr.addrV6)) == 0) in get_DNS_NetworkParams()
1127 } namesrvr; in get_DNS_AdaptersAddresses() local
1189 namesrvr.sa = ipaDNSAddr->Address.lpSockaddr; in get_DNS_AdaptersAddresses()
1191 if (namesrvr.sa->sa_family == AF_INET) in get_DNS_AdaptersAddresses()
[all …]