Lines Matching refs:buflen
356 const u_char *buf, int buflen, u_char *ans, int anssiz) in res_nsend() argument
374 (stdout, ";; res_send()\n"), buf, buflen); in res_nsend()
375 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend()
384 cache, buf, buflen, in res_nsend()
498 act = (*statp->qhook)(&nsap, &buf, &buflen, in res_nsend()
532 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, in res_nsend()
541 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, in res_nsend()
564 _resolv_cache_add(cache, buf, buflen, in res_nsend()
583 act = (*statp->rhook)(nsap, buf, buflen, in res_nsend()
673 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_vc() argument
751 ns_put16((u_short)buflen, (u_char*)(void *)&len); in send_vc()
754 iov[1] = evConsIovec(tmp, (size_t)buflen); in send_vc()
755 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
864 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_dg() argument
930 if (send(s, (const char*)buf, (size_t)buflen, 0) != buflen) { in send_dg()
936 if (sendto(s, (const char*)buf, buflen, 0, nsap, nsaplen) != buflen) in send_dg()
1041 !res_queriesmatch(buf, buf + buflen, in send_dg()