Searched refs:DnsCache (Results 1 - 3 of 3) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-cache.h27 typedef struct DnsCache { struct
32 } DnsCache; typedef in typeref:struct:DnsCache
39 void dns_cache_flush(DnsCache *c);
40 void dns_cache_prune(DnsCache *c);
42 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);
45 int dns_cache_check_conflicts(DnsCache *cache, DnsResourceRecord *rr, int owner_family, const union in_addr_union *owner_address);
47 void dns_cache_dump(DnsCache *cache, FILE *f);
48 bool dns_cache_is_empty(DnsCache *cache);
50 unsigned dns_cache_size(DnsCache *cach
[all...]
H A Dresolved-dns-cache.c71 static void dns_cache_item_unlink_and_free(DnsCache *c, DnsCacheItem *i) {
92 static bool dns_cache_remove_by_rr(DnsCache *c, DnsResourceRecord *rr) {
110 static bool dns_cache_remove_by_key(DnsCache *c, DnsResourceKey *key) {
128 void dns_cache_flush(DnsCache *c) {
143 static void dns_cache_make_space(DnsCache *c, unsigned add) {
174 void dns_cache_prune(DnsCache *c) {
220 static int dns_cache_init(DnsCache *c) {
236 static int dns_cache_link_item(DnsCache *c, DnsCacheItem *i) {
275 static DnsCacheItem* dns_cache_get(DnsCache *c, DnsResourceRecord *rr) {
325 DnsCache *
[all...]
H A Dresolved-dns-scope.h50 DnsCache cache;

Completed in 236 milliseconds