Lines Matching refs:buflen
352 const u_char *buf, int buflen, u_char *ans, int anssiz) in res_nsend() argument
363 (stdout, ";; res_send()\n"), buf, buflen); in res_nsend()
364 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend()
370 statp->netid, buf, buflen, in res_nsend()
384 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend()
507 act = (*statp->qhook)(&nsap, &buf, &buflen, in res_nsend()
518 _resolv_cache_add(statp->netid, buf, buflen, in res_nsend()
546 n = send_vc(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, in res_nsend()
577 n = send_dg(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, in res_nsend()
616 _resolv_cache_add(statp->netid, buf, buflen, in res_nsend()
634 act = (*statp->rhook)(nsap, buf, buflen, in res_nsend()
670 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend()
675 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend()
754 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_vc() argument
859 ns_put16((u_short)buflen, (u_char*)(void *)&len); in send_vc()
862 iov[1] = evConsIovec(tmp, (size_t)buflen); in send_vc()
863 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
1070 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_dg() argument
1145 if (send(s, (const char*)buf, (size_t)buflen, 0) != buflen) { in send_dg()
1151 if (sendto(s, (const char*)buf, buflen, 0, nsap, nsaplen) != buflen) in send_dg()
1242 !res_queriesmatch(buf, buf + buflen, in send_dg()