Home
last modified time | relevance | path

Searched refs:v6addr (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/
Dresolv_unit_test.cpp478 constexpr char v6addr[] = "::1.2.3.4"; in TEST_F() local
545 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
555 {AF_INET6, v6addr, event_ipv6}, in TEST_F()
1145 constexpr char v6addr[] = "::1.2.3.4"; in TEST_F() local
1192 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
1202 {AF_INET6, v6addr, event_ipv6}, in TEST_F()
DDnsProxyListener.cpp1283 struct in6_addr v6addr = *(in6_addr*) mAddress; in doDns64ReverseLookup() local
1285 if ((v6addr.s6_addr32[0] != v6prefix->sin6_addr.s6_addr32[0]) || in doDns64ReverseLookup()
1286 (v6addr.s6_addr32[1] != v6prefix->sin6_addr.s6_addr32[1]) || in doDns64ReverseLookup()
1287 (v6addr.s6_addr32[2] != v6prefix->sin6_addr.s6_addr32[2])) { in doDns64ReverseLookup()
1294 struct in_addr v4addr = {.s_addr = v6addr.s6_addr32[3]}; in doDns64ReverseLookup()
1303 memcpy((*hpp)->h_addr_list[0], &v6addr, sizeof(v6addr)); in doDns64ReverseLookup()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp3137 struct in6_addr v6addr; in TEST_F() local
3170 inet_pton(AF_INET6, "2001:db8::102:304", &v6addr); in TEST_F()
3171 result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F()
3210 struct in6_addr v6addr; in TEST_F() local
3211 inet_pton(AF_INET6, "64:ff9b::1.2.3.4", &v6addr); in TEST_F()
3212 struct hostent* result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F()
3228 inet_pton(AF_INET6, "64:ff9b::5.6.7.8", &v6addr); in TEST_F()
3229 result = gethostbyaddr(&v6addr, sizeof(v6addr), AF_INET6); in TEST_F()
3255 struct in6_addr v6addr; in TEST_F() local
3256 inet_pton(AF_INET6, host_addr, &v6addr); in TEST_F()
[all …]