• Home
  • Raw
  • Download

Lines Matching refs:F_IPV4

191         return F_IPV4;  in in_arpa_name_2_addr()
610 flags |= F_IPV4; in extract_addresses()
657 if ((daemon->options & OPT_NO_REBIND) && (flags & F_IPV4) && in extract_addresses()
721 if (qtype == T_A) return F_IPV4; in extract_request()
723 if (qtype == T_ANY) return F_IPV4 | F_IPV6; in extract_request()
749 else if (flags == F_IPV4) { /* we know the address */ in setup_reply()
779 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) && in check_for_local_domain()
828 F_IPV4 | F_FORWARD | F_NEG | F_NXDOMAIN | F_CONFIG); in check_for_bogus_wildcard()
1029 if (is_arpa == F_IPV4) in answer_request()
1041 log_query(F_IPV4 | F_REVERSE | F_CONFIG, intr->name, &addr, NULL); in answer_request()
1082 else if (is_arpa == F_IPV4 && (daemon->options & OPT_BOGUSPRIV) && in answer_request()
1088 log_query(F_CONFIG | F_REVERSE | F_IPV4 | F_NEG | F_NXDOMAIN, name, &addr, in answer_request()
1093 for (flag = F_IPV4; flag; flag = (flag == F_IPV4) ? F_IPV6 : 0) { in answer_request()
1109 log_query(F_FORWARD | F_CONFIG | F_IPV4, name, &addr, NULL); in answer_request()
1128 log_query(F_FORWARD | F_CONFIG | F_IPV4 | F_NEG, name, NULL, NULL); in answer_request()
1130 log_query(F_FORWARD | F_CONFIG | F_IPV4, name, &addr, NULL); in answer_request()
1148 flag == F_IPV4) { in answer_request()
1311 while ((crecp = cache_find_by_name(crecp, rec->target, now, F_IPV4 | F_IPV6))) { in answer_request()
1313 int type = crecp->flags & F_IPV4 ? T_A : T_AAAA; in answer_request()
1321 crecp->flags & F_IPV4 ? "4" : "6", &crecp->addr)) in answer_request()