Searched refs:F_IPV4 (Results 1 – 5 of 5) sorted by relevance
/external/dnsmasq/src/ |
D | rfc1035.c | 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() [all …]
|
D | cache.c | 287 ((flags & crecp->flags & (F_IPV4 | F_IPV6)) || ((crecp->flags | flags) & F_CNAME)) && in cache_scan_free() 322 (flags & crecp->flags & (F_IPV4 | F_IPV6)) && in cache_scan_free() 647 struct crec *lookup = cache_find_by_name(NULL, cache->name.sname, 0, flags & (F_IPV4 | F_IPV6)); in add_hosts_entry() 677 (lookup->flags & flags & (F_IPV4 | F_IPV6)) && in add_hosts_entry() 778 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV4; in read_hostsfile() 791 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV4; in read_hostsfile() 1039 unsigned short flags = F_DHCP | F_FORWARD | F_IPV4 | F_REVERSE; in cache_add_dhcp_entry() 1043 while ((crec = cache_find_by_name(crec, host_name, 0, F_IPV4 | F_CNAME))) in cache_add_dhcp_entry() 1064 cache_scan_free(host_name, NULL, 0, crec->flags & (F_IPV4 | F_CNAME | F_FORWARD)); in cache_add_dhcp_entry() 1073 if ((crec = cache_find_by_addr(NULL, (struct all_addr *)host_address, 0, F_IPV4))) in cache_add_dhcp_entry() [all …]
|
D | forward.c | 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers() 159 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; in search_servers() 351 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in forward_query() 705 log_query(F_QUERY | F_IPV4 | F_FORWARD, daemon->namebuff, in receive_query() 770 log_query(F_QUERY | F_IPV4 | F_FORWARD, daemon->namebuff, in tcp_request() 862 log_query(F_SERVER | F_IPV4 | F_FORWARD, daemon->namebuff, in tcp_request()
|
D | dhcp.c | 933 (crec = cache_find_by_name(NULL, config->hostname, 0, F_IPV4)) && in dhcp_update_configs() 936 if (cache_find_by_name(crec, config->hostname, 0, F_IPV4)) in dhcp_update_configs() 940 crec = cache_find_by_name(crec, config->hostname, 0, F_IPV4); in dhcp_update_configs() 971 lookup = cache_find_by_addr(NULL, (struct all_addr *)&addr, 0, F_IPV4); in host_from_dns()
|
D | dnsmasq.h | 286 #define F_IPV4 128 macro
|