Home
last modified time | relevance | path

Searched refs:ipaddress (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DInet6Address.java185 byte[] ipaddress; field in Inet6Address
216 ipaddress = new byte[INADDRSZ]; in Inet6Address()
227 ipaddress = addr.clone(); in Inet6Address()
331 ipaddress = addr.clone(); in initif()
445 ipaddress = ipaddress.clone(); in readObject()
448 if (ipaddress.length != INADDRSZ) { in readObject()
450 ipaddress.length); in readObject()
469 return ((ipaddress[0] & 0xff) == 0xff); in isMulticastAddress()
482 test |= ipaddress[i]; in isAnyLocalAddress()
498 test |= ipaddress[i]; in isLoopbackAddress()
[all …]
/libcore/ojluni/src/main/native/
Dnet_util.c117 jbyteArray ipaddress; in NET_SockaddrToInetAddress() local
151 ipaddress = (*env)->NewByteArray(env, 16); in NET_SockaddrToInetAddress()
152 CHECK_NULL_RETURN(ipaddress, NULL); in NET_SockaddrToInetAddress()
153 (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, in NET_SockaddrToInetAddress()
156 (*env)->SetObjectField(env, iaObj, ia6_ipaddressID, ipaddress); in NET_SockaddrToInetAddress()
215 jbyteArray ipaddress; in NET_SockaddrEqualsInetAddress() local
222 ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); in NET_SockaddrEqualsInetAddress()
224 (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddrCur); in NET_SockaddrEqualsInetAddress()
DNetworkInterface.c287 jbyteArray ipaddress = (*env)->GetObjectField(env, iaObj, ni_ia6ipaddressID); in NetworkInterface_getByInetAddress0() local
291 (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); in NetworkInterface_getByInetAddress0()
583 jbyteArray ipaddress = (*env)->NewByteArray(env, 16); in createNetworkInterface() local
584 if (ipaddress == NULL) { in createNetworkInterface()
587 (*env)->SetByteArrayRegion(env, ipaddress, 0, 16, in createNetworkInterface()
597 (*env)->SetObjectField(env, iaObj, ni_ia6ipaddressID, ipaddress); in createNetworkInterface()
Dnet_util_md.c775 jbyteArray ipaddress; in NET_InetAddressToSockaddr() local
796 ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); in NET_InetAddressToSockaddr()
797 (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); in NET_InetAddressToSockaddr()
DPlainDatagramSocketImpl.c1883 jbyteArray ipaddress; in mcast_join_leave() local
1900 ipaddress = (*env)->GetObjectField(env, iaObj, ia6_ipaddressID); in mcast_join_leave()
1901 (*env)->GetByteArrayRegion(env, ipaddress, 0, 16, caddr); in mcast_join_leave()