Searched refs:v6addr (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 1259 struct in6_addr v6addr = mAddress; in doDns64ReverseLookup() local 1261 if ((v6addr.s6_addr32[0] != v6prefix->sin6_addr.s6_addr32[0]) || in doDns64ReverseLookup() 1262 (v6addr.s6_addr32[1] != v6prefix->sin6_addr.s6_addr32[1]) || in doDns64ReverseLookup() 1263 (v6addr.s6_addr32[2] != v6prefix->sin6_addr.s6_addr32[2])) { in doDns64ReverseLookup() 1270 struct in_addr v4addr = {.s_addr = v6addr.s6_addr32[3]}; in doDns64ReverseLookup() 1279 memcpy((*hpp)->h_addr_list[0], &v6addr, sizeof(v6addr)); in doDns64ReverseLookup()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 480 constexpr char v6addr[] = "::1.2.3.4"; in TEST_F() local 547 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 557 {AF_INET6, v6addr, event_ipv6}, in TEST_F() 1185 constexpr char v6addr[] = "::1.2.3.4"; in TEST_F() local 1232 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 1242 {AF_INET6, v6addr, event_ipv6}, in TEST_F()
|
D | resolv_integration_test.cpp | 3412 struct in6_addr v6addr; in TEST_F() local 3445 inet_pton(AF_INET6, "2001:db8::102:304", &v6addr); in TEST_F() 3446 result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F() 3485 struct in6_addr v6addr; in TEST_F() local 3486 inet_pton(AF_INET6, "64:ff9b::1.2.3.4", &v6addr); in TEST_F() 3487 struct hostent* result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F() 3503 inet_pton(AF_INET6, "64:ff9b::5.6.7.8", &v6addr); in TEST_F() 3504 result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F() 3530 struct in6_addr v6addr; in TEST_F() local 3531 inet_pton(AF_INET6, host_addr, &v6addr); in TEST_F() [all …]
|