Lines Matching defs:abuf
73 unsigned char qbuf[280], abuf[512], *p;
131 alen = recv(s, abuf, sizeof abuf, 0);
132 } else alen = res_send(qbuf, qlen, abuf, sizeof abuf);
136 rcode = abuf[3] & 15;
140 rcode, rct[rcode], 256*abuf[6] + abuf[7]);
141 if (!(abuf[2] & 4)) printf("The following answer is not authoritative:\n");
146 p = abuf + 12;
148 count = 256*abuf[4+2*sec] + abuf[5+2*sec];
154 p += dn_expand(abuf, abuf+alen, p, rrname, sizeof(rrname));
168 dn_expand(abuf, abuf+alen, p, plname, sizeof plname);
174 i = dn_expand(abuf, abuf+alen, p, plname, sizeof plname - 1);
176 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname),
191 dn_expand(abuf, abuf+alen, p+2, plname+strlen(plname),
197 dn_expand(abuf, abuf+alen, p+6, plname+strlen(plname),