Lines Matching defs:message
19 #include <dns/message.h>
42 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
92 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
96 return (addoptout(message, cache, node, covers, now, maxttl,
101 dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache,
106 return (addoptout(message, cache, node, covers, now, maxttl,
111 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
131 * Convert the authority data from 'message' into a negative cache
135 REQUIRE(message != NULL);
156 if (message->counts[DNS_SECTION_AUTHORITY])
157 result = dns_message_firstname(message, DNS_SECTION_AUTHORITY);
162 dns_message_currentname(message, DNS_SECTION_AUTHORITY,
225 result = dns_message_nextname(message, DNS_SECTION_AUTHORITY);
231 if ((message->flags & DNS_MESSAGEFLAG_AA) != 0 &&
232 message->counts[DNS_SECTION_ANSWER] == 0) {
254 if (message->rcode == dns_rcode_nxdomain)