Lines Matching refs:rcode
39 int rcode; member
80 return dns_rcode_to_string(item->rcode); in dns_cache_item_type_to_string()
519 int rcode, in dns_cache_put_negative() argument
546 if (IN_SET(rcode, DNS_RCODE_SUCCESS, DNS_RCODE_NXDOMAIN)) { in dns_cache_put_negative()
556 } else if (rcode != DNS_RCODE_SERVFAIL) in dns_cache_put_negative()
571 rcode == DNS_RCODE_SUCCESS ? DNS_CACHE_NODATA : in dns_cache_put_negative()
572 rcode == DNS_RCODE_NXDOMAIN ? DNS_CACHE_NXDOMAIN : DNS_CACHE_RCODE, in dns_cache_put_negative()
578 .rcode = rcode, in dns_cache_put_negative()
676 int rcode, in dns_cache_put() argument
703 if (IN_SET(rcode, DNS_RCODE_SUCCESS, DNS_RCODE_NXDOMAIN)) { in dns_cache_put()
718 if (rcode != DNS_RCODE_SERVFAIL) in dns_cache_put()
826 rcode, in dns_cache_put()
1030 found_rcode = j->rcode; in dns_cache_lookup()