Lines Matching defs:message
28 #include <dns/message.h>
51 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
101 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
105 return (addoptout(message, cache, node, covers, now, maxttl,
110 dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache,
115 return (addoptout(message, cache, node, covers, now, maxttl,
120 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
140 * Convert the authority data from 'message' into a negative cache
144 REQUIRE(message != NULL);
167 if (message->counts[DNS_SECTION_AUTHORITY])
168 result = dns_message_firstname(message, DNS_SECTION_AUTHORITY);
173 dns_message_currentname(message, DNS_SECTION_AUTHORITY,
236 result = dns_message_nextname(message, DNS_SECTION_AUTHORITY);
278 if ((message->flags & DNS_MESSAGEFLAG_AA) != 0 &&
279 message->counts[DNS_SECTION_ANSWER] == 0) {
316 if (message->rcode == dns_rcode_nxdomain)