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