Lines Matching refs:DnsCache
98 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()
403 DnsCache *c, in dns_cache_put_positive()
517 DnsCache *c, in dns_cache_put_negative()
621 DnsCache *c, in dns_cache_remove_previous()
673 DnsCache *c, in dns_cache_put()
857 static DnsCacheItem *dns_cache_get_by_key_follow_cname_dname_nsec(DnsCache *c, DnsResourceKey *k) { in dns_cache_get_by_key_follow_cname_dname_nsec()
966 DnsCache *c, in dns_cache_lookup()
1216 int dns_cache_check_conflicts(DnsCache *cache, DnsResourceRecord *rr, int owner_family, const union… in dns_cache_check_conflicts()
1252 int dns_cache_export_shared_to_packet(DnsCache *cache, DnsPacket *p) { in dns_cache_export_shared_to_packet()
1297 void dns_cache_dump(DnsCache *cache, FILE *f) { in dns_cache_dump()
1332 bool dns_cache_is_empty(DnsCache *cache) { in dns_cache_is_empty()
1339 unsigned dns_cache_size(DnsCache *cache) { in dns_cache_size()