Home
last modified time | relevance | path

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

/glibc-2.36/resolv/
Dres_send.c257 int *nansp2, int *resplen2, int *ansp2_malloced) in __res_context_send() argument
361 ns, ansp, ansp2, nansp2, resplen2, in __res_context_send()
368 if (n == 0 && (buf2 == NULL || *resplen2 == 0)) in __res_context_send()
376 ansp2, nansp2, resplen2, ansp2_malloced); in __res_context_send()
379 if (n == 0 && (buf2 == NULL || *resplen2 == 0)) in __res_context_send()
402 if (resplen2 != NULL && *resplen2 > HFIXEDSZ) in __res_context_send()
482 close_and_return_error (res_state statp, int *resplen2) in close_and_return_error() argument
485 if (resplen2 != NULL) in close_and_return_error()
486 *resplen2 = 0; in close_and_return_error()
566 int *resplen2, int *ansp2_malloced) in send_vc() argument
[all …]
Dres_query.c97 int *resplen2, int *answerp2_malloced);
112 int *nanswerp2, int *resplen2, int *answerp2_malloced) in __res_context_query() argument
223 answerp, answerp2, nanswerp2, resplen2, in __res_context_query()
241 if (answerp2 == NULL || *resplen2 < (int) sizeof (HEADER)) in __res_context_query()
353 int *nanswerp2, int *resplen2, int *answerp2_malloced) in __res_context_search() argument
380 nanswerp2, resplen2, answerp2_malloced); in __res_context_search()
391 answerp2, nanswerp2, resplen2, in __res_context_search()
395 || (ret == 0 && resplen2 != NULL && *resplen2 > 0)) in __res_context_search()
446 resplen2, answerp2_malloced); in __res_context_search()
447 if (ret > 0 || (ret == 0 && resplen2 != NULL in __res_context_search()
[all …]
Dtst-resolv-txnid-collision.c236 int resplen2 = 0; in test_qname() local
243 &resplen2, &ans2p_malloced); in test_qname()
246 TEST_VERIFY (resplen2 > 12); in test_qname()
247 if (resplen1 <= 12 || resplen2 <= 12) in test_qname()
269 if (resplen2 > resplen1) in test_qname()
274 aaaa_answer_length = resplen2; in test_qname()
279 a_answer_length = resplen2; in test_qname()
/glibc-2.36/resolv/nss_dns/
Ddns-host.c377 int resplen2 = 0; in libc_hidden_def() local
388 &ans2p, &nans2p, &resplen2, &ans2p_malloced); in libc_hidden_def()
391 resplen2, name, pat, buffer, buflen, in libc_hidden_def()
/glibc-2.36/ChangeLog.old/
DChangeLog.176151 Use it instead of locally defined resplen2 variable.
6153 (send_vc): Initialize *resplen2 if necessary. Read length of
6164 Define resplen2 variable and pass it to __libc_res_nsearch and then
DChangeLog.1822760 * resolv/res_send.c (send_vc): Remove early *resplen2
22761 initialization. Set *resplen2 on socket error. Call
23672 (send_dg): Initialize *resplen2 after reopen failure. Call
23674 __res_iclose, initialze *resplen2 explicitly. Update comment for
47745 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
73732 depending n and resplen2 to catch cases where answer
93738 need to dereference resplen2.
93953 (send_dg): In case of server errors clear resplen or *resplen2.