• Home
  • Raw
  • Download

Lines Matching refs:ans

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
435 resolv_cache_lookup(statp->netid, buf, buflen, ans, anssiz, &anslen, flags); in res_nsend()
438 HEADER* hp = (HEADER*)(void*)ans; in res_nsend()
470 Slice(ans, anssiz), rcode, &fallback); in res_nsend()
473 res_pquery(ans, resplen); in res_nsend()
475 resolv_cache_add(statp->netid, buf, buflen, ans, resplen); 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()
617 resolv_cache_add(statp->netid, buf, buflen, ans, resplen); in res_nsend()
656 uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode, in send_vc() argument
661 HEADER* anhp = (HEADER*) (void*) ans; in send_vc()
770 cp = ans; in send_vc()
795 uint16_t resplen = ntohs(*reinterpret_cast<const uint16_t*>(ans)); in send_vc()
811 cp = ans; in send_vc()
851 res_pquery(ans, resplen); in send_vc()
979 int buflen, uint8_t* ans, int anssiz, int* receivedFromNs) { in ignoreInvalidAnswer() argument
981 HEADER* anhp = (HEADER*)(void*)ans; in ignoreInvalidAnswer()
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()
1112 HEADER* anhp = (HEADER*)(void*)ans; 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()
1297 uint8_t* ans, int ansLen, int* rcode, uint32_t flags, in resolv_res_nsend() argument
1303 return res_nsend(&res, msg, msgLen, ans, ansLen, rcode, flags); in resolv_res_nsend()