Lines Matching refs:namebuff
189 unsigned int crc = questions_crc(header, plen, daemon->namebuff); in forward_query()
191 unsigned short gotname = extract_request(header, plen, daemon->namebuff, NULL); in forward_query()
209 if (gotname) flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in forward_query()
301 if (!gotname) strcpy(daemon->namebuff, "query"); in forward_query()
303 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in forward_query()
307 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in forward_query()
363 prettyprint_addr(&server->addr, daemon->namebuff); in process_reply()
364 … my_syslog(LOG_WARNING, _("nameserver %s refused to do a recursive query"), daemon->namebuff); in process_reply()
369 check_for_bogus_wildcard(header, n, daemon->namebuff, daemon->bogus_addr, now)) { in process_reply()
374 if (header->rcode == NXDOMAIN && extract_request(header, n, daemon->namebuff, NULL) && in process_reply()
375 check_for_local_domain(daemon->namebuff, now)) { in process_reply()
384 if (extract_addresses(header, n, daemon->namebuff, now)) { in process_reply()
435 !(forward = lookup_frec(ntohs(header->id), questions_crc(header, n, daemon->namebuff)))) in reply_query()
598 if (extract_request(header, (size_t) n, daemon->namebuff, &type)) { in receive_query()
604 log_query(F_QUERY | F_IPV4 | F_FORWARD, daemon->namebuff, in receive_query()
608 log_query(F_QUERY | F_IPV6 | F_FORWARD, daemon->namebuff, in receive_query()
649 if ((gotname = extract_request(header, (unsigned int) size, daemon->namebuff, &qtype))) { in tcp_request()
659 log_query(F_QUERY | F_IPV4 | F_FORWARD, daemon->namebuff, in tcp_request()
663 log_query(F_QUERY | F_IPV6 | F_FORWARD, daemon->namebuff, in tcp_request()
683 flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in tcp_request()
692 unsigned int crc = questions_crc(header, (unsigned int) size, daemon->namebuff); in tcp_request()
740 if (!gotname) strcpy(daemon->namebuff, "query"); in tcp_request()
742 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in tcp_request()
746 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in tcp_request()
756 if (crc == questions_crc(header, (unsigned int) m, daemon->namebuff)) in tcp_request()