Searched refs:preferIPv6 (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Net.java | 418 boolean preferIPv6 = isIPv6Available() && 420 return IOUtil.newFD(socket0(preferIPv6, stream, false, fastLoopback)); 428 private static native int socket0(boolean preferIPv6, boolean stream, boolean reuse, 440 boolean preferIPv6 = isIPv6Available() && 442 bind0(fd, preferIPv6, exclusiveBind, addr, port); 445 private static native void bind0(FileDescriptor fd, boolean preferIPv6, 464 boolean preferIPv6 = isIPv6Available() && 466 return connect0(preferIPv6, fd, remote, remotePort); 469 private static native int connect0(boolean preferIPv6,
|
D | DatagramChannelImpl.java | 562 boolean preferIPv6 = (family != StandardProtocolFamily.INET); in sendFromNativeBuffer() 565 written = send0(preferIPv6, fd, ((DirectBuffer)bb).address() + pos, in sendFromNativeBuffer() 1205 private native int send0(boolean preferIPv6, FileDescriptor fd, long address, in send0() argument
|
/libcore/ojluni/src/main/native/ |
D | Net.c | 238 Java_sun_nio_ch_Net_socket0(JNIEnv *env, jclass cl, jboolean preferIPv6, in Java_sun_nio_ch_Net_socket0() argument 244 int domain = (ipv6_available() && preferIPv6) ? AF_INET6 : AF_INET; in Java_sun_nio_ch_Net_socket0() 315 Java_sun_nio_ch_Net_bind0(JNIEnv *env, jclass clazz, jobject fdo, jboolean preferIPv6, in Java_sun_nio_ch_Net_bind0() argument 322 … if (NET_InetAddressToSockaddr(env, iao, port, (struct sockaddr *)&sa, &sa_len, preferIPv6) != 0) { in Java_sun_nio_ch_Net_bind0() 340 Java_sun_nio_ch_Net_connect0(JNIEnv *env, jclass clazz, jboolean preferIPv6, in Java_sun_nio_ch_Net_connect0() argument 348 &sa_len, preferIPv6) != 0) in Java_sun_nio_ch_Net_connect0()
|
D | DatagramChannelImpl.c | 243 jboolean preferIPv6, jobject fdo, jlong address, in Java_sun_nio_ch_DatagramChannelImpl_send0() argument 258 &sa_len, preferIPv6) != 0) { in Java_sun_nio_ch_DatagramChannelImpl_send0()
|