Lines Matching refs:F_IPV4
231 ((flags & crecp->flags & (F_IPV4 | F_IPV6)) || in cache_scan_free()
259 (flags & crecp->flags & (F_IPV4 | F_IPV6)) && in cache_scan_free()
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()
636 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV4; in read_hostsfile()
646 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV4; in read_hostsfile()
856 unsigned short flags = F_DHCP | F_FORWARD | F_IPV4 | F_REVERSE; in cache_add_dhcp_entry()
860 while ((crec = cache_find_by_name(crec, host_name, 0, F_IPV4 | F_CNAME))) { in cache_add_dhcp_entry()
875 cache_scan_free(host_name, NULL, 0, crec->flags & (F_IPV4 | F_CNAME | F_FORWARD)); in cache_add_dhcp_entry()
883 if ((crec = cache_find_by_addr(NULL, (struct all_addr*) host_address, 0, F_IPV4))) { in cache_add_dhcp_entry()
885 cache_scan_free(NULL, (struct all_addr*) host_address, 0, F_IPV4 | F_REVERSE); in cache_add_dhcp_entry()
982 if (cache->flags & F_IPV4) in dump_cache()
992 p, "%-30.30s %s%s%s%s%s%s%s%s%s%s ", a, cache->flags & F_IPV4 ? "4" : "", in dump_cache()
1039 inet_ntop(flags & F_IPV4 ? AF_INET : AF_INET6, addr, addrbuff, ADDRSTRLEN); in log_query()
1052 if (flags & F_IPV4) in log_query()
1059 if (flags & F_IPV4) in log_query()