/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 108 if (sin6->sin6_family == AF_INET6 && (sin6->sin6_scope_id == 0)) { 323 #ifndef AF_INET6 in IPv6_supported() 327 #ifdef AF_INET6 in IPv6_supported() 395 numifs.lifn_family = AF_INET6; in IPv6_supported() 495 #ifdef AF_INET6 in NET_AllocSockaddr() 602 if (inet_pton(AF_INET6, dest_str, &dest_addr) < 0) { 758 #ifdef AF_INET6 in NET_InetAddressToSockaddr() 788 him6->sin6_family = AF_INET6; in NET_InetAddressToSockaddr() 830 #ifdef AF_INET6 831 if (him->sa_family == AF_INET6) { [all …]
|
D | Net.c | 153 #ifdef AF_INET6 162 sin6->sin6_family = AF_INET6; in initGroupSourceReq() 166 sin6->sin6_family = AF_INET6; in initGroupSourceReq() 239 #ifdef AF_INET6 in Java_sun_nio_ch_Net_socket0() 240 int domain = (ipv6_available() && preferIPv6) ? AF_INET6 : AF_INET; in Java_sun_nio_ch_Net_socket0() 251 #ifdef AF_INET6 in Java_sun_nio_ch_Net_socket0() 253 if (domain == AF_INET6) { in Java_sun_nio_ch_Net_socket0() 281 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; in Java_sun_nio_ch_Net_socket0() 293 #if defined(__linux__) && defined(AF_INET6) in Java_sun_nio_ch_Net_socket0() 295 if (domain == AF_INET6 && type == SOCK_DGRAM) { in Java_sun_nio_ch_Net_socket0() [all …]
|
D | net_util.c | 209 #ifdef AF_INET6 in NET_SockaddrToInetAddress() 210 if (him->sa_family == AF_INET6) { in NET_SockaddrToInetAddress() 288 #ifdef AF_INET6 in NET_SockaddrEqualsInetAddress() 289 family = getInetAddress_family(env, iaObj) == IPv4? AF_INET : AF_INET6; in NET_SockaddrEqualsInetAddress() 290 if (him->sa_family == AF_INET6) { in NET_SockaddrEqualsInetAddress() 300 if (family == AF_INET6) { in NET_SockaddrEqualsInetAddress()
|
D | DatagramChannelImpl.c | 108 #ifdef AF_INET6 in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() 112 him6->sin6_family = AF_INET6; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
|
D | net_util_md.h | 136 #ifdef AF_INET6
|
D | net_util.h | 40 #define IPv6 AF_INET6
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 19 import static android.system.OsConstants.AF_INET6; 156 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_nonblock() 170 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_unixSocket() 199 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_connect_networkPolicy() 209 FileDescriptor tcpSocket = Libcore.os.socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_connect_networkPolicy()
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 41 if (sa->sa_family == AF_INET6) { in sockaddrToInetAddress() 66 } else if (sa->sa_family == AF_INET6) { in sockaddrToInetAddress() 132 if (ss.ss_family != AF_INET && ss.ss_family != AF_INET6) { in inetAddressToSockaddr() 161 if (ss.ss_family == AF_INET6) { in inetAddressToSockaddr() 185 sin6.sin6_family = AF_INET6; in inetAddressToSockaddr()
|
D | libcore_io_Linux.cpp | 112 return sa != NULL && sa->sa_family == AF_INET6 && in isIPv4MappedAddress() 398 if (ss.ss_family == AF_INET || ss.ss_family == AF_INET6) { in makeSocketAddress() 1398 if (ai->ai_family == AF_INET || ai->ai_family == AF_INET6) { in Linux_android_getaddrinfo() 1417 if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6) { in Linux_android_getaddrinfo() 1685 case AF_INET6: in Linux_getifaddrs() 1775 } else if (family == AF_INET6) { in Linux_inet_pton() 2185 if (ss.ss_family == AF_INET || ss.ss_family == AF_INET6) { in Linux_recvfromBytes()
|
D | android_system_OsConstants.cpp | 68 initConstant(env, c, "AF_INET6", AF_INET6); in OsConstants_initConstants()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6Address.java | 409 holder.init(null, AF_INET6); in Inet6Address() 417 holder.init(hostName, AF_INET6); in Inet6Address() 534 family = AF_INET6; in initif() 677 if (holder().getFamily() != AF_INET6) { in readObject()
|
D | Inet6AddressImpl.java | 42 import static android.system.OsConstants.AF_INET6; 221 fd = IoBridge.socket(AF_INET6, SOCK_STREAM, 0); in tcpEcho() 247 int domain = isIPv4 ? AF_INET : AF_INET6; in icmpEcho()
|
D | PlainDatagramSocketImpl.java | 37 import static android.system.OsConstants.AF_INET6; 198 fd = IoBridge.socket(AF_INET6, SOCK_DGRAM, 0); in datagramSocketCreate()
|
D | PlainSocketImpl.java | 42 import static android.system.OsConstants.AF_INET6; 128 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 549 return Os.socket(AF_INET6, SOCK_DGRAM, 0); in makeIpv6Socket() 589 for (int family : new int[] { AF_INET, AF_INET6, AF_NETLINK }) { in testUnknownSocketAddressSubclass() 807 checkByteBufferPositions_sendto_recvfrom(AF_INET6, InetAddress.getByName("::1")); 836 checkSendToSocketAddress(AF_INET6, InetAddress.getByName("::1")); 975 checkSendmsgSocketAddress(AF_INET6, loopbackAddr, sendmsgHdr, recvmsgHdr, 4096); 1001 checkSendmsgSocketAddress(AF_INET6, loopbackAddr, sendmsgHdr, recvmsgHdr, 4096); 1132 FileDescriptor fd = Os.socket(AF_INET6, SOCK_STREAM, 0); 1137 fd = Os.socket(AF_INET6, SOCK_STREAM, 0); 1190 FileDescriptor fd = Os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6); 1492 final FileDescriptor fd = Os.socket(AF_INET6, SOCK_DGRAM, 0); [all …]
|
/libcore/luni/annotations/flagged_api/android/system/ |
D | OsConstants.annotated.java | 60 public static final int AF_INET6; field in OsConstants 61 static { AF_INET6 = 0; }
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | SocketTest.java | 20 import static android.system.OsConstants.AF_INET6; 732 FileDescriptor v6sock = Os.socket(AF_INET6, SOCK_DGRAM, 0);
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 137 return (domain == AF_INET) || (domain == AF_INET6); in isInetDomain()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 130 public static final int AF_INET6 = placeholder(); field in OsConstants
|
/libcore/api/ |
D | current.txt | 163 field public static final int AF_INET6;
|