Searched refs:rcode (Results 1 - 4 of 4) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-cache.h42 int dns_cache_put(DnsCache *c, DnsResourceKey *key, int rcode, DnsAnswer *answer, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, int owner_family, const union in_addr_union *owner_address);
43 int dns_cache_lookup(DnsCache *c, DnsResourceKey *key, int *rcode, DnsAnswer **answer, bool *authenticated);
H A Dresolved-dns-packet.h122 uint16_t rcode; local
125 rcode = (uint16_t) (p->opt->ttl >> 24);
127 rcode = 0;
129 return rcode | (be16toh(DNS_PACKET_HEADER(p)->flags) & 15);
141 #define DNS_PACKET_MAKE_FLAGS(qr, opcode, aa, tc, rd, ra, ad, cd, rcode) \
150 ((uint16_t) ((rcode) & 15)))
H A Dresolved-dns-cache.c467 int rcode,
504 if (!IN_SET(rcode, DNS_RCODE_SUCCESS, DNS_RCODE_NXDOMAIN))
517 i->type = rcode == DNS_RCODE_SUCCESS ? DNS_CACHE_NODATA : DNS_CACHE_NXDOMAIN;
612 int rcode,
647 if (!IN_SET(rcode, DNS_RCODE_SUCCESS, DNS_RCODE_NXDOMAIN))
719 rcode,
802 int dns_cache_lookup(DnsCache *c, DnsResourceKey *key, int *rcode, DnsAnswer **ret, bool *authenticated) { argument
813 assert(rcode);
834 *rcode = DNS_RCODE_SUCCESS;
853 *rcode
464 dns_cache_put_negative( DnsCache *c, DnsResourceKey *key, int rcode, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, DnsResourceRecord *soa, int owner_family, const union in_addr_union *owner_address) argument
609 dns_cache_put( DnsCache *c, DnsResourceKey *key, int rcode, DnsAnswer *answer, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, int owner_family, const union in_addr_union *owner_address) argument
[all...]
H A Dresolved-dns-scope.c596 int rcode,
629 rcode));
593 dns_scope_make_reply_packet( DnsScope *s, uint16_t id, int rcode, DnsQuestion *q, DnsAnswer *answer, DnsAnswer *soa, bool tentative, DnsPacket **ret) argument

Completed in 168 milliseconds