Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
DNetworkUtilities.h24 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr* sa, int* port);
DNetworkUtilities.cpp38 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr* sa, jint* port) { in sockaddrToInetAddress() function
53 return sockaddrToInetAddress(env, reinterpret_cast<sockaddr*>(&tmp), port); in sockaddrToInetAddress()
Dlibcore_io_Linux.cpp400 … jobject inetAddress = sockaddrToInetAddress(env, reinterpret_cast<const sockaddr*>(&ss), &port); in makeSocketAddress()
604 jobject sender = sockaddrToInetAddress(env, reinterpret_cast<const sockaddr*>(&ss), &port); in fillInetSocketAddress()
1424 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, ai->ai_addr, NULL)); in Linux_android_getaddrinfo()
1538 return sockaddrToInetAddress(env, reinterpret_cast<sockaddr*>(&ss), NULL); in Linux_getsockoptInAddr()
1689 if ((addr = sockaddrToInetAddress(env, ifa->ifa_addr, NULL)) == NULL) { in Linux_getifaddrs()
1693 if ((netmask = sockaddrToInetAddress(env, ifa->ifa_netmask, NULL)) == NULL) { in Linux_getifaddrs()
1698 if ((broad = sockaddrToInetAddress(env, ifa->ifa_broadaddr, NULL)) == NULL) { in Linux_getifaddrs()
1784 return sockaddrToInetAddress(env, reinterpret_cast<sockaddr*>(&ss), NULL); in Linux_inet_pton()
1807 return sockaddrToInetAddress(env, &req.ifr_addr, NULL); in Linux_ioctlInetAddress()