Lines Matching refs:default_query
141 static struct query default_query;
1684 memmove(query, &default_query, sizeof(struct query));
1685 if (default_query.ecs_addr != NULL) {
1692 memmove(query->ecs_addr, default_query.ecs_addr, len);
1771 default_query.textname[0] = 0;
1772 default_query.ip6_int = ISC_FALSE;
1773 default_query.recurse = ISC_TRUE;
1774 default_query.have_aaonly = ISC_FALSE;
1775 default_query.have_adflag = ISC_TRUE; /*XXX*/
1776 default_query.have_cdflag = ISC_FALSE;
1777 default_query.have_zflag = ISC_FALSE;
1778 default_query.dnssec = ISC_FALSE;
1779 default_query.expire = ISC_FALSE;
1780 default_query.send_cookie = ISC_FALSE;
1781 default_query.cookie = NULL;
1782 default_query.nsid = ISC_FALSE;
1783 default_query.rdtype = dns_rdatatype_a;
1784 default_query.rdclass = dns_rdataclass_in;
1785 default_query.udpsize = 0;
1786 default_query.edns = 0; /*XXX*/
1787 default_query.ednsopts = NULL;
1788 default_query.ednsoptscnt = 0;
1789 default_query.ednsflags = 0;
1790 default_query.ecs_addr = NULL;
1791 default_query.timeout = 0;
1792 default_query.udptimeout = 0;
1793 default_query.udpretries = 3;
1794 ISC_LINK_INIT(&default_query, link);
1802 query = &default_query;
1832 if (query == &default_query)
1836 default_query.textname[0] = 0;
1844 if (query == &default_query)
1886 if (query != &default_query) {
2019 if (default_query.ecs_addr != NULL)
2020 isc_mem_free(mctx, default_query.ecs_addr);