• Home
  • Raw
  • Download

Lines Matching refs:anssiz

147                    uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode,
150 uint8_t* ans, int anssiz, int* terrno, size_t* ns, int* v_circuit,
420 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend() argument
425 if (anssiz < HFIXEDSZ) { in res_nsend()
435 resolv_cache_lookup(statp->netid, buf, buflen, ans, anssiz, &anslen, flags); in res_nsend()
470 Slice(ans, anssiz), rcode, &fallback); in res_nsend()
546 resplen = send_vc(statp, &params, buf, buflen, ans, anssiz, &terrno, ns, in res_nsend()
558 resplen = send_dg(statp, &params, buf, buflen, ans, anssiz, &terrno, &actualNs, in res_nsend()
614 res_pquery(ans, (resplen > anssiz) ? anssiz : resplen); in res_nsend()
656 uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode, in send_vc() argument
796 if (resplen > anssiz) { in send_vc()
799 len = anssiz; in send_vc()
828 len = resplen - anssiz; in send_vc()
838 LOG(WARNING) << __func__ << ": resplen " << resplen << " exceeds buf size " << anssiz; in send_vc()
840 resplen = anssiz; 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()