Home
last modified time | relevance | path

Searched refs:F_IPV4 (Results 1 – 5 of 5) sorted by relevance

/external/dnsmasq/src/
Drfc1035.c191 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()
[all …]
Dcache.c231 ((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()
[all …]
Dforward.c121 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers()
144 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers()
303 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in forward_query()
604 log_query(F_QUERY | F_IPV4 | F_FORWARD, daemon->namebuff, in receive_query()
659 log_query(F_QUERY | F_IPV4 | F_FORWARD, daemon->namebuff, in tcp_request()
742 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in tcp_request()
Ddhcp.c614 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) && in dhcp_update_configs()
616 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4)) { in dhcp_update_configs()
619 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4); in dhcp_update_configs()
648 lookup = cache_find_by_addr(NULL, (struct all_addr*) &addr, 0, F_IPV4); in host_from_dns()
Ddnsmasq.h281 #define F_IPV4 128 macro