Searched refs:F_IPV6 (Results 1 – 6 of 6) sorted by relevance
/external/dnsmasq/src/ |
D | cache.c | 231 ((flags & crecp->flags & (F_IPV4 | F_IPV6)) || in cache_scan_free() 243 int addrlen = (flags & F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_scan_free() 259 (flags & crecp->flags & (F_IPV4 | F_IPV6)) && in cache_scan_free() 478 int addrlen = (prot == F_IPV6) ? IN6ADDRSZ : INADDRSZ; in cache_find_by_addr() 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() 640 flags = F_HOSTS | F_IMMORTAL | F_FORWARD | F_REVERSE | F_IPV6; in read_hostsfile() 984 else if (cache->flags & F_IPV6) in dump_cache() 993 cache->flags & F_IPV6 ? "6" : "", cache->flags & F_CNAME ? "C" : "", in dump_cache() 1054 else if (flags & F_IPV6) in log_query() [all …]
|
D | rfc1035.c | 218 if (*cp1 == '/' && j == 32) return F_IPV6; in in_arpa_name_2_addr() 228 return F_IPV6; in in_arpa_name_2_addr() 615 flags |= F_IPV6; in extract_addresses() 722 if (qtype == T_AAAA) return F_IPV6; in extract_request() 723 if (qtype == T_ANY) return F_IPV4 | F_IPV6; in extract_request() 757 else if (flags == F_IPV6) { in setup_reply() 779 if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6)) && in check_for_local_domain() 1093 for (flag = F_IPV4; flag; flag = (flag == F_IPV4) ? F_IPV6 : 0) { in answer_request() 1096 if (flag == F_IPV6) in answer_request() 1311 while ((crecp = cache_find_by_name(crecp, rec->target, now, F_IPV4 | F_IPV6))) { in answer_request()
|
D | forward.c | 121 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() 307 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in forward_query() 608 log_query(F_QUERY | F_IPV6 | F_FORWARD, daemon->namebuff, in receive_query() 663 log_query(F_QUERY | F_IPV6 | F_FORWARD, daemon->namebuff, in tcp_request() 746 log_query(F_SERVER | F_IPV6 | F_FORWARD, daemon->namebuff, in tcp_request()
|
D | dnsmasq.h | 282 #define F_IPV6 256 macro
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_l4lb.c | 118 #define F_IPV6 (1 << 0) macro 428 if (dst->flags & F_IPV6) { in process_packet()
|
D | test_l4lb_noinline.c | 114 #define F_IPV6 (1 << 0) macro 428 if (dst->flags & F_IPV6) { in process_packet()
|