Home
last modified time | relevance | path

Searched refs:F_IPV6 (Results 1 – 4 of 4) sorted by relevance

/external/dnsmasq/src/
Dcache.c287 ((flags & crecp->flags & (F_IPV4 | F_IPV6)) || ((crecp->flags | flags) & F_CNAME)) && in cache_scan_free()
303 int addrlen = (flags & F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_scan_free()
322 (flags & crecp->flags & (F_IPV4 | F_IPV6)) && in cache_scan_free()
584 int addrlen = (prot == F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_find_by_addr()
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()
784 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV6; in read_hostsfile()
1183 else if (cache->flags & F_IPV6) in dump_cache()
1192 cache->flags & F_IPV6 ? "6" : "", in dump_cache()
1268 else if (flags & F_IPV6) in log_query()
[all …]
Drfc1035.c261 return F_IPV6; in in_arpa_name_2_addr()
275 return F_IPV6; in in_arpa_name_2_addr()
758 flags |= F_IPV6; in extract_addresses()
891 return F_IPV6; in extract_request()
893 return F_IPV4 | F_IPV6; in extract_request()
928 else if (p && flags == F_IPV6) in setup_reply()
951 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) && in check_for_local_domain()
1321 for (flag = F_IPV4; flag; flag = (flag == F_IPV4) ? F_IPV6 : 0) in answer_request()
1325 if (flag == F_IPV6) in answer_request()
1574 while ((crecp = cache_find_by_name(crecp, rec->target, now, F_IPV4 | F_IPV6))) in answer_request()
Dforward.c130 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()
355 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in forward_query()
709 log_query(F_QUERY | F_IPV6 | F_FORWARD, daemon->namebuff, in receive_query()
774 log_query(F_QUERY | F_IPV6 | F_FORWARD, daemon->namebuff, in tcp_request()
866 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in tcp_request()
Ddnsmasq.h287 #define F_IPV6 256 macro