Home
last modified time | relevance | path

Searched refs:sa6 (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/jni/
DNativeDnsJni.c112 struct sockaddr_in6 sa6; in Java_android_net_cts_DnsTest_testNativeDns() local
113 sa6.sin6_family = AF_INET6; in Java_android_net_cts_DnsTest_testNativeDns()
114 sa6.sin6_port = 0; in Java_android_net_cts_DnsTest_testNativeDns()
115 sa6.sin6_flowinfo = 0; in Java_android_net_cts_DnsTest_testNativeDns()
116 sa6.sin6_scope_id = 0; in Java_android_net_cts_DnsTest_testNativeDns()
117 inet_pton(AF_INET6, GoogleDNSIpV6Address2, &(sa6.sin6_addr)); in Java_android_net_cts_DnsTest_testNativeDns()
135 res = getnameinfo((const struct sockaddr*)&sa6, sizeof(sa6), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns()
/packages/modules/DnsResolver/
Dres_cache.cpp1409 struct sockaddr_in6 sa6; in resolv_gethostbyaddr_from_cache() local
1441 addr_buf = (char*)&(sa6.sin6_addr); in resolv_gethostbyaddr_from_cache()