Lines Matching refs:abuf
74 unsigned char *abuf = xmalloc(abuf_len); in host_main() local
133 alen = recv(s, abuf, abuf_len, 0); in host_main()
134 } else alen = res_send(qbuf, qlen, abuf, abuf_len); in host_main()
138 rcode = abuf[3] & 15; in host_main()
142 rcode, rct[rcode], 256*abuf[6] + abuf[7]); in host_main()
143 if (!(abuf[2] & 4)) printf("The following answer is not authoritative:\n"); in host_main()
148 p = abuf + 12; in host_main()
150 count = 256*abuf[4+2*sec] + abuf[5+2*sec]; in host_main()
156 p += dn_expand(abuf, abuf+alen, p, rrname, MAXDNAME); in host_main()
170 dn_expand(abuf, abuf+alen, p, plname, sizeof(plname)); in host_main()
176 i = dn_expand(abuf, abuf+alen, p, plname, sizeof(plname) - 1); in host_main()
178 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname), in host_main()
193 dn_expand(abuf, abuf+alen, p+2, plname+strlen(plname), in host_main()
199 dn_expand(abuf, abuf+alen, p+6, plname+strlen(plname), in host_main()
216 free(abuf); in host_main()