Home
last modified time | relevance | path

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

/glibc-2.36/resolv/
Dres_get_nsaddr.c28 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()
Dresolv_conf.c260 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()
Dresolv_context.h135 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()
Dtst-resolv-search.c297 _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()
Dres_send.c300 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()
Dtst-resolv-res_init-skeleton.c193 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()
Dresolv.h75 #define nsaddr nsaddr_list[0] /* for backward compatibility */
/glibc-2.36/resolv/bits/types/
Dres_state.h19 nsaddr_list[MAXNS]; /* address of name server */ member
/glibc-2.36/support/
Dresolv_test.c1210 _res.nsaddr_list[server_index] = obj->servers[server_index].address; in resolv_test_start()
/glibc-2.36/ChangeLog.old/
DChangeLog.116311 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
DChangeLog.1920223 allocation of private copy of nsaddr_list fails.