Searched refs:AF_INET (Results 1 – 17 of 17) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | Inet4Address.java | 136 holder().family = AF_INET; in Inet4Address() 141 holder().family = AF_INET; in Inet4Address() 155 holder().family = AF_INET; in Inet4Address()
|
D | Inet6AddressImpl.java | 41 import static android.system.OsConstants.AF_INET; 247 int domain = isIPv4 ? AF_INET : AF_INET6; in icmpEcho()
|
D | NetworkInterface.java | 613 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getMTU() 656 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getFlags()
|
/libcore/ojluni/src/main/native/ |
D | net_util.c | 257 if (him->sa_family == AF_INET) { in NET_SockaddrToInetAddress() 286 jint family = AF_INET; in NET_SockaddrEqualsInetAddress() 289 family = getInetAddress_family(env, iaObj) == IPv4? AF_INET : AF_INET6; in NET_SockaddrEqualsInetAddress() 315 if (family == AF_INET) { in NET_SockaddrEqualsInetAddress() 331 if (family != AF_INET) { in NET_SockaddrEqualsInetAddress()
|
D | Net.c | 244 int domain = (ipv6_available() && preferIPv6) ? AF_INET6 : AF_INET; in Java_sun_nio_ch_Net_socket0() 246 int domain = AF_INET; in Java_sun_nio_ch_Net_socket0() 390 sin->sin_family = AF_INET; in Java_sun_nio_ch_Net_localPort() 431 sin->sin_family = AF_INET; in Java_sun_nio_ch_Net_localInetAddress()
|
D | net_util.h | 39 #define IPv4 AF_INET
|
D | DatagramChannelImpl.c | 122 him4->sin_family = AF_INET; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
|
D | net_util_md.c | 820 him4->sin_family = AF_INET; in NET_InetAddressToSockaddr() 1269 if (him->sa_family == AF_INET) { in NET_Bind()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 113 final FileDescriptor fd = Os.socket(AF_INET, SOCK_DGRAM, 0); in testFcntlInt_udpSocket() 131 final FileDescriptor fd = Os.socket(AF_INET, SOCK_DGRAM, 0); in testFcntlInt_invalidCmd() 531 return Os.socket(AF_INET, SOCK_DGRAM, 0); in makeIpv4Socket() 575 for (int family : new int[] { AF_INET, AF_INET6, AF_NETLINK }) { in testUnknownSocketAddressSubclass() 788 checkByteBufferPositions_sendto_recvfrom(AF_INET, InetAddress.getByName("127.0.0.1")); 817 checkSendToSocketAddress(AF_INET, InetAddress.getByName("127.0.0.1")); 901 checkSendmsgSocketAddress(AF_INET, loopbackAddr, sendmsgHdr, recvmsgHdr, 4096); 981 checkSendmsgSocketAddress(AF_INET, loopbackAddr, sendmsgHdr, recvmsgHdr, 4096 * 4); 1004 checkSendmsgSocketAddress(AF_INET, loopbackAddr, sendmsgHdr, recvmsgHdr, 4096 * 4); 1028 checkSendmsgSocketAddress(AF_INET, loopbackAddr, sendmsgHdr, recvmsgHdr, 4096 * 4); [all …]
|
/libcore/luni/src/main/java/libcore/net/ |
D | InetAddressUtils.java | 29 import static android.system.OsConstants.AF_INET;
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 48 sin.sin_family = AF_INET; in sockaddrToInetAddress() 59 if (ss.ss_family == AF_INET) { in sockaddrToInetAddress() 124 if (ss.ss_family != AF_INET && ss.ss_family != AF_INET6) { in inetAddressToSockaddr()
|
D | libcore_io_Linux.cpp | 396 if (ss.ss_family == AF_INET || ss.ss_family == AF_INET6) { in makeSocketAddress() 1391 if (ai->ai_family == AF_INET || ai->ai_family == AF_INET6) { in Linux_android_getaddrinfo() 1410 if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6) { in Linux_android_getaddrinfo() 1524 ss.ss_family = AF_INET; // This is only for the IPv4-only IP_MULTICAST_IF. in Linux_getsockoptInAddr() 1683 case AF_INET: in Linux_getifaddrs() 1767 if (family == AF_INET) { in Linux_inet_pton() 2179 if (ss.ss_family == AF_INET || ss.ss_family == AF_INET6) { in Linux_recvfromBytes()
|
D | android_system_OsConstants.cpp | 67 initConstant(env, c, "AF_INET", AF_INET); in OsConstants_initConstants()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | NetworkInterfaceTest.java | 45 import static android.system.OsConstants.AF_INET; 301 FileDescriptor fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getFlags()
|
/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 | 131 public static final int AF_INET = placeholder(); field in OsConstants
|
/libcore/api/ |
D | current.txt | 142 field public static final int AF_INET;
|