Searched refs:nsaddr_list (Results 1 – 11 of 11) sorted by relevance
28 if (statp->nsaddr_list[n].sin_family == 0 in __res_get_nsaddr()37 return (struct sockaddr *) (void *) &statp->nsaddr_list[n]; in __res_get_nsaddr()
260 if (resp->nsaddr_list[i].sin_family == 0) in resolv_conf_matches()268 else if (resp->nsaddr_list[i].sin_family != AF_INET) in resolv_conf_matches()270 else if (!same_address ((struct sockaddr *) &resp->nsaddr_list[i], in resolv_conf_matches()492 resp->nsaddr_list[i] in update_from_conf()499 resp->nsaddr_list[i].sin_family = 0; in update_from_conf()
135 if (ctx->resp->nsaddr_list[index].sin_family != 0) in __resolv_context_nameserver()136 return (const struct sockaddr *) &ctx->resp->nsaddr_list[index]; in __resolv_context_nameserver()
297 _res.nsaddr_list[0].sin_addr.s_addr = -1; in do_test_all()298 _res.nsaddr_list[0].sin_port = htons (53); in do_test_all()
300 if (statp->nsaddr_list[ns].sin_family != 0 in __res_context_send()302 &statp->nsaddr_list[ns], in __res_context_send()321 if (statp->nsaddr_list[ns].sin_family == 0) in __res_context_send()328 &statp->nsaddr_list[ns], in __res_context_send()
193 if (resp->nsaddr_list[i].sin_family == 0 in print_resp()201 addr = &resp->nsaddr_list[i]; in print_resp()202 addrlen = sizeof (resp->nsaddr_list[i]); in print_resp()
75 #define nsaddr nsaddr_list[0] /* for backward compatibility */
19 nsaddr_list[MAXNS]; /* address of name server */ member
1210 _res.nsaddr_list[server_index] = obj->servers[server_index].address; in resolv_test_start()
6311 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
20223 allocation of private copy of nsaddr_list fails.