Lines Matching refs:F_IPV4
229 return F_IPV4; in in_arpa_name_2_addr()
752 flags |= F_IPV4; in extract_addresses()
813 (flags & F_IPV4) && in extract_addresses()
889 return F_IPV4; in extract_request()
893 return F_IPV4 | F_IPV6; in extract_request()
920 else if (p && flags == F_IPV4) in setup_reply()
951 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) && in check_for_local_domain()
1010 cache_insert(name, NULL, now, ttl, F_IPV4 | F_FORWARD | F_NEG | F_NXDOMAIN | F_CONFIG); in check_for_bogus_wildcard()
1235 if (is_arpa == F_IPV4) in answer_request()
1250 log_query(F_IPV4 | F_REVERSE | F_CONFIG, intr->name, &addr, NULL); in answer_request()
1305 else if (is_arpa == F_IPV4 && in answer_request()
1313 log_query(F_CONFIG | F_REVERSE | F_IPV4 | F_NEG | F_NXDOMAIN, in answer_request()
1318 for (flag = F_IPV4; flag; flag = (flag == F_IPV4) ? F_IPV6 : 0) in answer_request()
1338 log_query(F_FORWARD | F_CONFIG | F_IPV4, name, &addr, NULL); in answer_request()
1361 log_query(F_FORWARD | F_CONFIG | F_IPV4 | F_NEG, name, NULL, NULL); in answer_request()
1364 log_query(F_FORWARD | F_CONFIG | F_IPV4, name, &addr, NULL); in answer_request()
1381 if (local_addr.s_addr != 0 && (daemon->options & OPT_LOCALISE) && flag == F_IPV4) in answer_request()
1571 while ((crecp = cache_find_by_name(crecp, rec->target, now, F_IPV4 | F_IPV6))) in answer_request()
1574 int type = crecp->flags & F_IPV4 ? T_A : T_AAAA; in answer_request()
1583 crecp->flags & F_IPV4 ? "4" : "6", &crecp->addr)) in answer_request()