Searched refs:server_index (Results 1 – 9 of 9) sorted by relevance
/glibc-2.36/support/ |
D | resolv_test.c | 589 typedef void (*thread_callback) (struct resolv_test *, int server_index); 597 int server_index; /* Index of the implemented server. */ member 606 closure->callback (closure->obj, closure->server_index); in thread_callback_wrapper() 614 start_server_thread (struct resolv_test *obj, int server_index, in start_server_thread() argument 622 .server_index = server_index, in start_server_thread() 630 server_thread_udp_process_one (struct resolv_test *obj, int server_index) in server_thread_udp_process_one() argument 635 size_t length = xrecvfrom (obj->servers[server_index].socket_udp, in server_thread_udp_process_one() 656 server_index, length, qinfo.qname, qinfo.qclass, qinfo.qtype, in server_thread_udp_process_one() 661 server_index, length, qinfo.qname, qinfo.qclass, qinfo.qtype); in server_thread_udp_process_one() 671 .server_index = server_index, in server_thread_udp_process_one() [all …]
|
D | resolv_test.h | 51 int server_index; member
|
/glibc-2.36/resolv/ |
D | tst-bug18665-tcp.c | 86 ipv4[3] = 2 * ctx->tcp + 4 * ctx->server_index; in response() 95 ipv6[15] = 2 * ctx->tcp + 4 * ctx->server_index; in response() 125 ipv4[3] = 2 * ctx->tcp + 4 * ctx->server_index; in response() 135 ipv6[15] = 2 * ctx->tcp + 4 * ctx->server_index; in response() 157 int server_index = 1; in expected_result() local 160 2 + 4 * server_index, port); in expected_result() 163 2 + 4 * server_index, port); in expected_result()
|
D | tst-resolv-txnid-collision.c | 87 switch (ctx->server_index) in build_response() 144 if (ctx->server_index != 0) in response() 145 TEST_COMPARE (ctx->server_index, 1); in response() 158 previous_server_index = ctx->server_index; in response() 166 TEST_COMPARE (ctx->server_index, previous_server_index); in response() 171 if (parsed.reorder[ctx->server_index]) in response() 195 if (!parsed.reorder[ctx->server_index]) in response()
|
D | tst-resolv-rotate.c | 40 if (ctx->server_index == drop_server) in response() 54 TEST_VERIFY_EXIT (ctx->server_index < resolv_max_test_servers); in response() 55 ++query_counts[ctx->server_index]; in response()
|
D | tst-bug18665.c | 63 ipv4[3] = 2 * ctx->tcp + 4 * ctx->server_index; in response() 72 ipv6[15] = 2 * ctx->tcp + 4 * ctx->server_index; in response()
|
D | tst-resolv-basic.c | 102 ipv4[3] += requested_qname + 2 * ctx->tcp + 4 * ctx->server_index; in response() 110 ipv6[15] += requested_qname + 2 * ctx->tcp + 4 * ctx->server_index; in response()
|
D | tst-resolv-search.c | 91 if (ctx->server_index == rcode_override_server_index) in response()
|
D | tst-resolv-edns.c | 158 if (!flags.tc && send_formerr && ctx->server_index == 0) in response()
|