Lines Matching defs:qbuf
236 char qbuf[MAXDNAME];
247 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]);
250 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]);
253 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2],
257 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2],
261 anslen = res_query(qbuf, C_IN, T_PTR, (u_char *)&buf, sizeof(buf));
287 char qbuf[MAXDNAME];
293 strncpy(qbuf, net, sizeof(qbuf) - 1);
294 qbuf[sizeof(qbuf) - 1] = '\0';
295 anslen = res_search(qbuf, C_IN, T_PTR, (u_char *)&buf, sizeof(buf));