/glibc-2.36/resolv/ |
D | tst-resolv-rotate.c | 206 for (int nscount = 1; nscount <= 3; ++nscount) in do_test() local 207 for (int disable_server = -1; disable_server < nscount; ++disable_server) in do_test() 208 for (drop_server = -1; drop_server < nscount; ++drop_server) in do_test() 217 if (nscount <= broken_servers) in do_test() 222 force_tcp, nscount, disable_server, drop_server); in do_test() 226 .nscount = nscount in do_test() 246 for (int i = 0; i < nscount; ++i) in do_test() 253 nscount, i); in do_test()
|
D | res_send.c | 201 unsigned int nscount = statp->nscount; in nameserver_offset() local 202 if (nscount <= 1 || !(statp->options & RES_ROTATE)) in nameserver_offset() 229 switch (nscount) in nameserver_offset() 238 return offset % nscount; in nameserver_offset() 273 if (statp->nscount == 0) { in __res_context_send() 293 if (EXT(statp).nscount != 0) { in __res_context_send() 296 if (EXT(statp).nscount != statp->nscount) in __res_context_send() 299 for (unsigned int ns = 0; ns < statp->nscount; ns++) { in __res_context_send() 311 EXT(statp).nscount = 0; in __res_context_send() 318 if (EXT(statp).nscount == 0) { in __res_context_send() [all …]
|
D | resolv_conf.c | 255 if (resp->nscount != nserv in resolv_conf_matches() 256 || (resp->_u._ext.nscount != 0 && resp->_u._ext.nscount != nserv)) in resolv_conf_matches() 483 resp->nscount = 0; in update_from_conf() 484 resp->_u._ext.nscount = 0; in update_from_conf() 514 resp->nscount = nserv; in update_from_conf()
|
D | res-close.c | 102 for (int ns = 0; ns < statp->nscount; ns++) in __res_iclose() 134 if (_res.nscount == 0) in libc_hidden_def()
|
D | res_isourserver.c | 101 for (ns = 0; ns < statp->nscount; ns++) in res_ourserver_p() 114 for (ns = 0; ns < statp->nscount; ns++) in res_ourserver_p()
|
D | res-noaaaa.c | 64 || ntohs (replacement.header.nscount) != 0) in __res_handle_no_aaaa() 131 replacement.header.nscount = htons (0); in __res_handle_no_aaaa()
|
D | resolv_context.h | 119 return ctx->resp->nscount; in __resolv_context_nameserver_count() 133 if (index < ctx->resp->nscount) in __resolv_context_nameserver()
|
D | tst-resolv-res_init-skeleton.c | 185 for (size_t i = 0; i < resp->nscount; ++i) in print_resp() 830 TEST_VERIFY (_res.nscount == 2); in special_test_callback() 893 TEST_VERIFY (_res.nscount == 1); in special_test_callback() 907 TEST_VERIFY (_res.nscount == 2); in special_test_callback()
|
D | res_debug.c | 243 int qdcount, ancount, nscount, arcount; in fp_nquery() local 262 nscount = ns_msg_count(handle, ns_s_ns); in fp_nquery() 299 p_section(ns_s_ns, opcode), nscount); in fp_nquery() 315 nscount == 0 && arcount == 0) in fp_nquery()
|
D | res_get_nsaddr.c | 26 assert (n < statp->nscount); in __res_get_nsaddr()
|
D | res_libc.c | 72 else if (_res.nscount > 0) in res_init()
|
D | tst-resolv-res_ninit.c | 48 TEST_VERIFY (array[i].nscount > 0); in do_test()
|
D | resolv_context.c | 93 if (resp->nscount > 0) in maybe_init()
|
D | tst-resolv-trustad.c | 72 TEST_COMPARE (0, ntohs (header.nscount)); in check_answer()
|
D | tst-resolv-threads.c | 394 .nscount = 1, in do_test()
|
/glibc-2.36/support/ |
D | resolv_test.c | 195 b->buffer[8] = flags.nscount >> 8; in resolv_response_init() 196 b->buffer[9] = flags.nscount; in resolv_response_init() 485 if (ntohs (hd.nscount) != 0) in parse_query() 487 (int) ntohs (hd.nscount)); in parse_query() 1126 if (config.nscount == 0) in resolv_test_start() 1127 config.nscount = resolv_max_test_servers; in resolv_test_start() 1139 for (int server_index = 0; server_index < config.nscount; ++server_index) in resolv_test_start() 1149 for (int server_index = 0; server_index < config.nscount; ++server_index) in resolv_test_start() 1183 _res._u._ext.nscount = 0; in resolv_test_start() 1191 printf ("info: old _res.nscount value: %d\n", _res.nscount); in resolv_test_start() [all …]
|
D | resolv_test.h | 101 int nscount; member 159 unsigned short nscount; member
|
D | support_format_dns_packet.c | 116 unsigned short nscount; in support_format_dns_packet() local 122 && extract_16 (&in, &nscount) in support_format_dns_packet()
|
/glibc-2.36/resolv/bits/types/ |
D | res_state.h | 17 int nscount; /* number of name servers */ member 43 uint16_t nscount; member
|
/glibc-2.36/resolv/arpa/ |
D | nameser_compat.h | 74 unsigned nscount :16; /*%< number of authority entries */ member
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.17 | 5055 even if we currently have zero nscount. 5436 * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. 5481 * resolv/res_init.c (__res_vinit): Always assign to statp->nscount 5526 * resolv/res_init.c (__res_vinit): Initialize nscount to zero.
|
D | ChangeLog.12 | 8064 * resolv/res_send.c (res_nsend): Use it instead of nscount. 8066 (res_nclose): Clear it instead of nscount.
|
D | ChangeLog.15 | 4073 _res.nscount > 0, call __res_nclose and free nsaddrs.
|
D | ChangeLog.9 | 5471 * resolv/res_init.c (res_init): Initialize _res.nscount and
|
D | ChangeLog.14 | 11073 * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
|