Home
last modified time | relevance | path

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

/systemd-251/src/resolve/
Dresolved-dns-cache.h11 typedef struct DnsCache { struct
16 } DnsCache; argument
23 void dns_cache_flush(DnsCache *c);
24 void dns_cache_prune(DnsCache *c);
27 DnsCache *c,
40 DnsCache *c,
49 int dns_cache_check_conflicts(DnsCache *cache, DnsResourceRecord *rr, int owner_family, const union…
51 void dns_cache_dump(DnsCache *cache, FILE *f);
52 bool dns_cache_is_empty(DnsCache *cache);
54 unsigned dns_cache_size(DnsCache *cache);
[all …]
Dresolved-dns-cache.c98 static void dns_cache_item_unlink_and_free(DnsCache *c, DnsCacheItem *i) { in dns_cache_item_unlink_and_free()
119 static bool dns_cache_remove_by_rr(DnsCache *c, DnsResourceRecord *rr) { in dns_cache_remove_by_rr()
137 static bool dns_cache_remove_by_key(DnsCache *c, DnsResourceKey *key) { in dns_cache_remove_by_key()
155 void dns_cache_flush(DnsCache *c) { in dns_cache_flush()
170 static void dns_cache_make_space(DnsCache *c, unsigned add) { in dns_cache_make_space()
201 void dns_cache_prune(DnsCache *c) { in dns_cache_prune()
248 static int dns_cache_init(DnsCache *c) { in dns_cache_init()
264 static int dns_cache_link_item(DnsCache *c, DnsCacheItem *i) { in dns_cache_link_item()
303 static DnsCacheItem* dns_cache_get(DnsCache *c, DnsResourceRecord *rr) { in dns_cache_get()
354 DnsCache *c, in dns_cache_item_update_positive()
[all …]
Dresolved-dns-scope.h40 DnsCache cache;