Lines Matching defs:section
823 dns_namelist_t *section)
827 for (curr = ISC_LIST_TAIL(*section);
1006 dns_namelist_t *section;
1011 section = &msg->sections[DNS_SECTION_QUESTION];
1043 * Run through the section, looking to see if this name
1048 result = findname(&name2, name, section);
1051 * If it is the first name in the section, accept it.
1054 * in the question section, append to the section. Note that
1055 * here in the question section this is illegal, so return
1061 if (!ISC_LIST_EMPTY(*section))
1063 ISC_LIST_APPEND(*section, name, link);
1155 update(dns_section_t section, dns_rdataclass_t rdclass) {
1156 if (section == DNS_SECTION_PREREQUISITE)
1159 if (section == DNS_SECTION_UPDATE)
1180 dns_namelist_t *section;
1193 section = &msg->sections[sectionid];
1234 * If there was no question section, we may not yet have
1247 * section, bail.
1265 * additional data section.
1277 * must be in the additional data section, and
1287 * A TKEY must be in the additional section if this
1288 * is a query, and the answer section if this is a
1388 ISC_LIST_APPEND(*section, name, link);
1393 * Run through the section, looking to see if this name
1398 result = findname(&name2, name, section);
1401 * If it is a new name, append to the section.
1407 ISC_LIST_APPEND(*section, name, link);
1422 * the question section, fail.
1817 dns_namelist_t *section;
1832 section = &msg->sections[sectionid];
1864 name = ISC_LIST_HEAD(*section);
1915 name = ISC_LIST_HEAD(*section);
2214 dns_message_firstname(dns_message_t *msg, dns_section_t section) {
2216 REQUIRE(VALID_NAMED_SECTION(section));
2218 msg->cursors[section] = ISC_LIST_HEAD(msg->sections[section]);
2220 if (msg->cursors[section] == NULL)
2227 dns_message_nextname(dns_message_t *msg, dns_section_t section) {
2229 REQUIRE(VALID_NAMED_SECTION(section));
2230 REQUIRE(msg->cursors[section] != NULL);
2232 msg->cursors[section] = ISC_LIST_NEXT(msg->cursors[section], link);
2234 if (msg->cursors[section] == NULL)
2241 dns_message_currentname(dns_message_t *msg, dns_section_t section,
2245 REQUIRE(VALID_NAMED_SECTION(section));
2247 REQUIRE(msg->cursors[section] != NULL);
2249 *name = msg->cursors[section];
2253 dns_message_findname(dns_message_t *msg, dns_section_t section,
2268 REQUIRE(VALID_SECTION(section));
2280 &msg->sections[section]);
2315 * Unlink the name from the old section
2323 dns_section_t section)
2328 REQUIRE(VALID_NAMED_SECTION(section));
2330 ISC_LIST_APPEND(msg->sections[section], name, link);
2335 dns_section_t section)
2340 REQUIRE(VALID_NAMED_SECTION(section));
2342 ISC_LIST_UNLINK(msg->sections[section], name, link);
3006 * looked for in the additional section, and the dynamic update
3074 dns_message_sectiontotext(dns_message_t *msg, dns_section_t section,
3084 REQUIRE(VALID_SECTION(section));
3086 if (ISC_LIST_EMPTY(msg->sections[section]))
3092 ADD_STRING(target, sectiontext[section]);
3094 ADD_STRING(target, updsectiontext[section]);
3100 result = dns_message_firstname(msg, section);
3106 dns_message_currentname(msg, section, &name);
3110 if (section == DNS_SECTION_QUESTION) {
3125 result = dns_message_nextname(msg, section);
3137 dns_pseudosection_t section,
3153 REQUIRE(VALID_PSEUDOSECTION(section));
3155 switch (section) {