Lines Matching refs:ans
352 const u_char *buf, int buflen, u_char *ans, int anssiz) in res_nsend() argument
371 ans, anssiz, &anslen); in res_nsend()
508 ans, anssiz, &resplen); in res_nsend()
519 ans, resplen); 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()
613 ans, (resplen > anssiz) ? anssiz : resplen); in res_nsend()
617 ans, resplen); in res_nsend()
635 ans, anssiz, &resplen); in res_nsend()
757 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_vc() argument
764 HEADER *anhp = (HEADER *)(void *)ans; in send_vc()
876 cp = ans; in send_vc()
904 resplen = ns_get16(ans); in send_vc()
923 cp = ans; in send_vc()
963 ans, (resplen > anssiz) ? anssiz: resplen); in send_vc()
1071 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_dg() argument
1079 HEADER *anhp = (HEADER *)(void *)ans; in send_dg()
1182 resplen = recvfrom(s, (char*)ans, (size_t)anssiz,0, in send_dg()
1210 ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()
1223 ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()
1235 ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()
1244 ans, ans + anssiz)) { in send_dg()
1253 ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()
1263 ans, (resplen > anssiz) ? anssiz : resplen); in send_dg()