Lines Matching refs:F_REVERSE
126 if (!(crecp->flags & F_REVERSE)) { in cache_hash()
127 while (*up && ((*up)->flags & F_REVERSE)) up = &((*up)->hash_next); in cache_hash()
138 crecp->flags &= ~F_REVERSE; in cache_free()
249 crecp && ((crecp->flags & F_REVERSE) || !(crecp->flags & F_IMMORTAL)); in cache_scan_free()
258 (flags & crecp->flags & F_REVERSE) && in cache_scan_free()
296 int freed_all = flags & F_REVERSE; in cache_insert()
327 if (new->flags&(F_FORWARD | F_REVERSE)) { in cache_insert()
439 if (insert && (crecp->flags & (F_REVERSE | F_IMMORTAL)) == ins_flags) { in cache_find_by_name()
447 ins_flags = crecp->flags & (F_REVERSE | F_IMMORTAL); in cache_find_by_name()
494 for (crecp = hash_table[i], up = &hash_table[i]; crecp && (crecp->flags & F_REVERSE); in cache_find_by_addr()
518 if (ans && (ans->flags & F_REVERSE) && (ans->flags & prot) && in cache_find_by_addr()
549 flags &= ~F_REVERSE; in add_hosts_entry()
555 flags &= ~F_REVERSE; in add_hosts_entry()
636 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV4; in read_hostsfile()
640 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV6; 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()
885 cache_scan_free(NULL, (struct all_addr*) host_address, 0, F_IPV4 | F_REVERSE); in cache_add_dhcp_entry()
888 flags &= ~F_REVERSE; in cache_add_dhcp_entry()
994 cache->flags & F_FORWARD ? "F" : " ", cache->flags & F_REVERSE ? "R" : " ", in dump_cache()
1045 if (flags & F_REVERSE) { in log_query()