Lines Matching refs:anssiz
150 uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode,
153 uint8_t* ans, int anssiz, int* terrno, size_t* ns, int* v_circuit,
423 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend() argument
428 if (anssiz < HFIXEDSZ) { in res_nsend()
438 resolv_cache_lookup(statp->netid, buf, buflen, ans, anssiz, &anslen, flags); in res_nsend()
473 Slice(ans, anssiz), rcode, &fallback); in res_nsend()
549 resplen = send_vc(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, ns, in res_nsend()
561 resplen = send_dg(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, &actualNs, in res_nsend()
617 res_pquery(ans, (resplen > anssiz) ? anssiz : resplen); in res_nsend()
659 uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode, in send_vc() argument
799 if (resplen > anssiz) { in send_vc()
802 len = anssiz; in send_vc()
831 len = resplen - anssiz; in send_vc()
851 res_pquery(ans, (resplen > anssiz) ? anssiz : resplen); in send_vc()
979 int buflen, uint8_t* ans, int anssiz, int* receivedFromNs) { in ignoreInvalidAnswer() argument
992 if (!res_queriesmatch(buf, buf + buflen, ans, ans + anssiz)) { in ignoreInvalidAnswer()
1001 uint8_t* ans, int anssiz, int* terrno, size_t* ns, int* v_circuit, in send_dg() argument
1090 recvfrom(fd, (char*)ans, (size_t)anssiz, 0, (sockaddr*)(void*)&from, &fromlen); in send_dg()
1106 ignoreInvalidAnswer(statp, from, buf, buflen, ans, anssiz, &receivedFromNs); in send_dg()
1108 res_pquery(ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()
1118 res_pquery(ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()
1129 res_pquery(ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()