Lines Matching defs:section

814 	 dns_namelist_t *section)
818 for (curr = ISC_LIST_TAIL(*section);
994 dns_namelist_t *section;
999 section = &msg->sections[DNS_SECTION_QUESTION];
1031 * Run through the section, looking to see if this name
1036 result = findname(&name2, name, section);
1039 * If it is the first name in the section, accept it.
1042 * in the question section, append to the section. Note that
1043 * here in the question section this is illegal, so return
1049 if (!ISC_LIST_EMPTY(*section))
1051 ISC_LIST_APPEND(*section, name, link);
1146 update(dns_section_t section, dns_rdataclass_t rdclass) {
1147 if (section == DNS_SECTION_PREREQUISITE)
1150 if (section == DNS_SECTION_UPDATE)
1160 auth_signed(dns_namelist_t *section) {
1163 for (name = ISC_LIST_HEAD(*section);
1228 dns_namelist_t *section;
1237 section = &msg->sections[sectionid];
1282 * If there was no question section, we may not yet have
1295 * section, bail.
1323 * additional data section.
1335 * must be in the additional data section, and
1346 * A TKEY must be in the additional section if this
1347 * is a query, and the answer section if this is a
1461 ISC_LIST_APPEND(*section, name, link);
1466 * Run through the section, looking to see if this name
1471 result = findname(&name2, name, section);
1474 * If it is a new name, append to the section.
1480 ISC_LIST_APPEND(*section, name, link);
1495 * the question section, fail.
1629 * authority section of a query response without
1637 !auth_signed(section))
1974 dns_namelist_t *section;
1989 section = &msg->sections[sectionid];
2023 name = ISC_LIST_HEAD(*section);
2074 name = ISC_LIST_HEAD(*section);
2387 dns_message_firstname(dns_message_t *msg, dns_section_t section) {
2389 REQUIRE(VALID_NAMED_SECTION(section));
2391 msg->cursors[section] = ISC_LIST_HEAD(msg->sections[section]);
2393 if (msg->cursors[section] == NULL)
2400 dns_message_nextname(dns_message_t *msg, dns_section_t section) {
2402 REQUIRE(VALID_NAMED_SECTION(section));
2403 REQUIRE(msg->cursors[section] != NULL);
2405 msg->cursors[section] = ISC_LIST_NEXT(msg->cursors[section], link);
2407 if (msg->cursors[section] == NULL)
2414 dns_message_currentname(dns_message_t *msg, dns_section_t section,
2418 REQUIRE(VALID_NAMED_SECTION(section));
2420 REQUIRE(msg->cursors[section] != NULL);
2422 *name = msg->cursors[section];
2426 dns_message_findname(dns_message_t *msg, dns_section_t section,
2441 REQUIRE(VALID_SECTION(section));
2452 &msg->sections[section]);
2487 * Unlink the name from the old section
2495 dns_section_t section)
2500 REQUIRE(VALID_NAMED_SECTION(section));
2502 ISC_LIST_APPEND(msg->sections[section], name, link);
2507 dns_section_t section)
2512 REQUIRE(VALID_NAMED_SECTION(section));
2514 ISC_LIST_UNLINK(msg->sections[section], name, link);
3187 * looked for in the additional section, and the dynamic update
3267 dns_message_sectiontotext(dns_message_t *msg, dns_section_t section,
3280 REQUIRE(VALID_SECTION(section));
3284 if (ISC_LIST_EMPTY(msg->sections[section]))
3291 ADD_STRING(target, sectiontext[section]);
3293 ADD_STRING(target, updsectiontext[section]);
3299 ADD_STRING(target, sectiontext[section]);
3301 ADD_STRING(target, updsectiontext[section]);
3307 result = dns_message_firstname(msg, section);
3316 dns_message_currentname(msg, section, &name);
3320 if (section == DNS_SECTION_ANSWER &&
3329 if (section == DNS_SECTION_QUESTION) {
3349 result = dns_message_nextname(msg, section);
3432 dns_pseudosection_t section,
3450 REQUIRE(VALID_PSEUDOSECTION(section));
3452 switch (section) {
3693 dns_pseudosection_t section,
3710 REQUIRE(VALID_PSEUDOSECTION(section));
3713 return (dns_message_pseudosectiontoyaml(msg, section, style,
3715 switch (section) {