Lines Matching refs:type

385 		if(sets[i]->rk.type == dup->rk.type &&
555 if(ntohs(r->rk.type) == LDNS_RR_TYPE_DNAME &&
563 if(ntohs(r->rk.type) == LDNS_RR_TYPE_CNAME &&
579 if(ntohs(r->rk.type) == LDNS_RR_TYPE_NSEC ||
580 ntohs(r->rk.type) == LDNS_RR_TYPE_NSEC3) {
664 * @param qtype The query type for this request.
1040 if( !(ntohs(s->rk.type)==LDNS_RR_TYPE_A ||
1041 ntohs(s->rk.type)==LDNS_RR_TYPE_AAAA)) {
1045 if(qstate->qinfo.qtype == ntohs(s->rk.type) &&
1055 s->rk.dname, ntohs(s->rk.type),
1058 ntohs(s->rk.type), ntohs(s->rk.rrset_class),
1320 enum response_type type = response_type_from_cache(msg,
1330 if(type == RESPONSE_TYPE_CNAME) {
2079 * away. We need to create type NS queries until we get the right parent
2637 if(ntohs(rep->rrsets[i]->rk.type) == LDNS_RR_TYPE_NS)
2662 enum response_type type;
2680 type = response_type_from_server(
2684 if(type == RESPONSE_TYPE_REFERRAL && (iq->chase_flags&BIT_RD) &&
2688 type = RESPONSE_TYPE_ANSWER;
2694 && type != RESPONSE_TYPE_LAME
2695 && type != RESPONSE_TYPE_REC_LAME
2696 && type != RESPONSE_TYPE_THROWAWAY
2697 && type != RESPONSE_TYPE_UNTYPED) {
2714 if(!iter_msg_from_zone(iq->response, iq->dp, type,
2717 type = RESPONSE_TYPE_LAME;
2722 if(type == RESPONSE_TYPE_REFERRAL) {
2732 type = RESPONSE_TYPE_THROWAWAY;
2736 if(type == RESPONSE_TYPE_THROWAWAY &&
2739 type = RESPONSE_TYPE_ANSWER;
2741 if(type == RESPONSE_TYPE_CNAME && iq->response->rep->an_numrrsets >= 1
2742 && ntohs(iq->response->rep->rrsets[0]->rk.type) == LDNS_RR_TYPE_DNAME) {
2749 type = RESPONSE_TYPE_ANSWER;
2751 } else if(type == RESPONSE_TYPE_CNAME &&
2756 * classified as CNAME response type, even when the original
2757 * QTYPE=CNAME. This should be treated as answer response type.
2759 type = RESPONSE_TYPE_ANSWER;
2762 /* handle each of the type cases */
2763 if(type == RESPONSE_TYPE_ANSWER) {
2764 /* ANSWER type responses terminate the query algorithm,
2855 } else if(type == RESPONSE_TYPE_REFERRAL) {
2856 /* REFERRAL type responses get a reset of the
2962 } else if(type == RESPONSE_TYPE_CNAME) {
2965 /* CNAME type responses get a query restart (i.e., get a
3035 } else if(type == RESPONSE_TYPE_LAME) {
3052 } else if(type == RESPONSE_TYPE_REC_LAME) {
3069 } else if(type == RESPONSE_TYPE_THROWAWAY) {
3076 log_warn("A query response came back with an unknown type: %d",
3077 (int)type);
3132 * the ANSWER type was (presumably) a negative answer. */
3176 enum response_type type;
3178 type = response_type_from_server(
3181 if(type == RESPONSE_TYPE_ANSWER) {
3277 * response type was ANSWER. */