Searched refs:v6addr (Results 1 – 3 of 3) sorted by relevance
/system/netd/resolv/ |
D | libnetd_resolv_test.cpp | 360 constexpr char v6addr[] = "::1.2.3.4"; in TEST_F() local 364 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 376 {AF_INET6, v6addr}, in TEST_F() 467 constexpr char v6addr[] = "::1.2.3.4"; in TEST_F() local 471 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 483 {AF_INET6, v6addr}, in TEST_F()
|
D | DnsProxyListener.cpp | 1153 struct in6_addr v6addr = *(in6_addr*) mAddress; in doDns64ReverseLookup() local 1155 if ((v6addr.s6_addr32[0] != v6prefix->sin6_addr.s6_addr32[0]) || in doDns64ReverseLookup() 1156 (v6addr.s6_addr32[1] != v6prefix->sin6_addr.s6_addr32[1]) || in doDns64ReverseLookup() 1157 (v6addr.s6_addr32[2] != v6prefix->sin6_addr.s6_addr32[2])) { in doDns64ReverseLookup() 1164 struct in_addr v4addr = {.s_addr = v6addr.s6_addr32[3]}; in doDns64ReverseLookup() 1172 memcpy((*hpp)->h_addr_list[0], &v6addr, sizeof(v6addr)); in doDns64ReverseLookup()
|
D | resolver_test.cpp | 2839 struct in6_addr v6addr; in TEST_F() local 2872 inet_pton(AF_INET6, "2001:db8::102:304", &v6addr); in TEST_F() 2873 result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F() 2912 struct in6_addr v6addr; in TEST_F() local 2913 inet_pton(AF_INET6, "64:ff9b::1.2.3.4", &v6addr); in TEST_F() 2914 struct hostent* result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F() 2930 inet_pton(AF_INET6, "64:ff9b::5.6.7.8", &v6addr); in TEST_F() 2931 result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F() 2957 struct in6_addr v6addr; in TEST_F() local 2958 inet_pton(AF_INET6, host_addr, &v6addr); in TEST_F() [all …]
|