Lines Matching refs:looknew
709 dig_lookup_t *looknew;
715 looknew = isc_mem_allocate(mctx, sizeof(struct dig_lookup));
716 if (looknew == NULL)
719 looknew->pending = ISC_TRUE;
720 looknew->textname[0] = 0;
721 looknew->cmdline[0] = 0;
722 looknew->rdtype = dns_rdatatype_a;
723 looknew->qrdtype = dns_rdatatype_a;
724 looknew->rdclass = dns_rdataclass_in;
725 looknew->rdtypeset = ISC_FALSE;
726 looknew->rdclassset = ISC_FALSE;
727 looknew->sendspace = NULL;
728 looknew->sendmsg = NULL;
729 looknew->name = NULL;
730 looknew->oname = NULL;
731 looknew->timer = NULL;
732 looknew->xfr_q = NULL;
733 looknew->current_query = NULL;
734 looknew->doing_xfr = ISC_FALSE;
735 looknew->ixfr_serial = 0;
736 looknew->trace = ISC_FALSE;
737 looknew->trace_root = ISC_FALSE;
738 looknew->identify = ISC_FALSE;
739 looknew->identify_previous_line = ISC_FALSE;
740 looknew->ignore = ISC_FALSE;
741 looknew->servfail_stops = ISC_TRUE;
742 looknew->besteffort = ISC_TRUE;
743 looknew->dnssec = ISC_FALSE;
744 looknew->nsid = ISC_FALSE;
746 looknew->sigchase = ISC_FALSE;
748 looknew->do_topdown = ISC_FALSE;
749 looknew->trace_root_sigchase = ISC_FALSE;
750 looknew->rdtype_sigchaseset = ISC_FALSE;
751 looknew->rdtype_sigchase = dns_rdatatype_any;
752 looknew->qrdtype_sigchase = dns_rdatatype_any;
753 looknew->rdclass_sigchase = dns_rdataclass_in;
754 looknew->rdclass_sigchaseset = ISC_FALSE;
757 looknew->udpsize = 0;
758 looknew->edns = -1;
759 looknew->recurse = ISC_TRUE;
760 looknew->aaonly = ISC_FALSE;
761 looknew->adflag = ISC_FALSE;
762 looknew->cdflag = ISC_FALSE;
763 looknew->ns_search_only = ISC_FALSE;
764 looknew->origin = NULL;
765 looknew->tsigctx = NULL;
766 looknew->querysig = NULL;
767 looknew->retries = tries;
768 looknew->nsfound = 0;
769 looknew->tcp_mode = ISC_FALSE;
770 looknew->ip6_int = ISC_FALSE;
771 looknew->comments = ISC_TRUE;
772 looknew->stats = ISC_TRUE;
773 looknew->section_question = ISC_TRUE;
774 looknew->section_answer = ISC_TRUE;
775 looknew->section_authority = ISC_TRUE;
776 looknew->section_additional = ISC_TRUE;
777 looknew->new_search = ISC_FALSE;
778 looknew->done_as_is = ISC_FALSE;
779 looknew->need_search = ISC_FALSE;
780 ISC_LINK_INIT(looknew, link);
781 ISC_LIST_INIT(looknew->q);
782 ISC_LIST_INIT(looknew->connecting);
783 ISC_LIST_INIT(looknew->my_server_list);
784 return (looknew);
796 dig_lookup_t *looknew;
802 looknew = make_empty_lookup();
803 INSIST(looknew != NULL);
804 strlcpy(looknew->textname, lookold->textname, MXNAME);
806 strlcpy(looknew->textnamesigchase, lookold->textnamesigchase, MXNAME);
808 strlcpy(looknew->cmdline, lookold->cmdline, MXNAME);
809 looknew->textname[MXNAME-1] = 0;
810 looknew->rdtype = lookold->rdtype;
811 looknew->qrdtype = lookold->qrdtype;
812 looknew->rdclass = lookold->rdclass;
813 looknew->rdtypeset = lookold->rdtypeset;
814 looknew->rdclassset = lookold->rdclassset;
815 looknew->doing_xfr = lookold->doing_xfr;
816 looknew->ixfr_serial = lookold->ixfr_serial;
817 looknew->trace = lookold->trace;
818 looknew->trace_root = lookold->trace_root;
819 looknew->identify = lookold->identify;
820 looknew->identify_previous_line = lookold->identify_previous_line;
821 looknew->ignore = lookold->ignore;
822 looknew->servfail_stops = lookold->servfail_stops;
823 looknew->besteffort = lookold->besteffort;
824 looknew->dnssec = lookold->dnssec;
825 looknew->nsid = lookold->nsid;
827 looknew->sigchase = lookold->sigchase;
829 looknew->do_topdown = lookold->do_topdown;
830 looknew->trace_root_sigchase = lookold->trace_root_sigchase;
831 looknew->rdtype_sigchaseset = lookold->rdtype_sigchaseset;
832 looknew->rdtype_sigchase = lookold->rdtype_sigchase;
833 looknew->qrdtype_sigchase = lookold->qrdtype_sigchase;
834 looknew->rdclass_sigchase = lookold->rdclass_sigchase;
835 looknew->rdclass_sigchaseset = lookold->rdclass_sigchaseset;
838 looknew->udpsize = lookold->udpsize;
839 looknew->edns = lookold->edns;
840 looknew->recurse = lookold->recurse;
841 looknew->aaonly = lookold->aaonly;
842 looknew->adflag = lookold->adflag;
843 looknew->cdflag = lookold->cdflag;
844 looknew->ns_search_only = lookold->ns_search_only;
845 looknew->tcp_mode = lookold->tcp_mode;
846 looknew->comments = lookold->comments;
847 looknew->stats = lookold->stats;
848 looknew->section_question = lookold->section_question;
849 looknew->section_answer = lookold->section_answer;
850 looknew->section_authority = lookold->section_authority;
851 looknew->section_additional = lookold->section_additional;
852 looknew->retries = lookold->retries;
853 looknew->tsigctx = NULL;
854 looknew->need_search = lookold->need_search;
855 looknew->done_as_is = lookold->done_as_is;
859 &looknew->my_server_list);
860 return (looknew);
873 dig_lookup_t *looknew;
881 looknew = clone_lookup(lookold, servers);
882 INSIST(looknew != NULL);
885 lookold, lookold->link.next, looknew, looknew->link.next);
886 ISC_LIST_PREPEND(lookup_list, looknew, link);
888 lookold, looknew, looknew->link.next);
889 return (looknew);