Lines Matching refs:F_IPV6
231 ((flags & crecp->flags & (F_IPV4 | F_IPV6)) || in cache_scan_free()
243 int addrlen = (flags & F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_scan_free()
259 (flags & crecp->flags & (F_IPV4 | F_IPV6)) && in cache_scan_free()
478 int addrlen = (prot == F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_find_by_addr()
527 struct crec* lookup = cache_find_by_name(NULL, cache->name.sname, 0, flags & (F_IPV4 | F_IPV6)); in add_hosts_entry()
553 if ((lookup->flags & F_HOSTS) && (lookup->flags & flags & (F_IPV4 | F_IPV6)) && in add_hosts_entry()
640 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV6; in read_hostsfile()
984 else if (cache->flags & F_IPV6) in dump_cache()
993 cache->flags & F_IPV6 ? "6" : "", cache->flags & F_CNAME ? "C" : "", in dump_cache()
1054 else if (flags & F_IPV6) in log_query()
1061 else if (flags & F_IPV6) in log_query()