Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_init.c2129 struct server_state *newserv; in config_nameserver() local
2168 newserv = ares_realloc(*servers, (*nservers + 1) * in config_nameserver()
2170 if (!newserv) in config_nameserver()
2174 newserv[*nservers].addr.family = host.family; in config_nameserver()
2175 newserv[*nservers].addr.udp_port = 0; in config_nameserver()
2176 newserv[*nservers].addr.tcp_port = 0; in config_nameserver()
2178 memcpy(&newserv[*nservers].addr.addrV4, &host.addrV4, in config_nameserver()
2181 memcpy(&newserv[*nservers].addr.addrV6, &host.addrV6, in config_nameserver()
2185 *servers = newserv; in config_nameserver()