Lines Matching full:section
25 answer_add_rrset(answer_type *answer, rr_section_type section, in answer_add_rrset() argument
30 assert(section >= ANSWER_SECTION && section < RR_SECTION_COUNT); in answer_add_rrset()
38 if (section < answer->section[i]) { in answer_add_rrset()
39 answer->section[i] = section; in answer_add_rrset()
52 answer->section[answer->rrset_count] = section; in answer_add_rrset()
64 rr_section_type section; in encode_answer() local
74 for (section = ANSWER_SECTION; section < RR_SECTION_COUNT; ++section) { in encode_answer()
75 counts[section] = 0; in encode_answer()
78 for (section = ANSWER_SECTION; in encode_answer()
79 !TC(q->packet) && section < RR_SECTION_COUNT; in encode_answer()
80 ++section) { in encode_answer()
83 if (answer->section[i] == section) { in encode_answer()
84 counts[section] += packet_encode_rrset( in encode_answer()
88 section, minimal_respsize, &done); in encode_answer()
99 if(section == ADDITIONAL_A_SECTION && in encode_answer()