Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/io/
DOsTest.java295 FileDescriptor nlSocket = Libcore.os.socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in test_NetlinkSocket()
311 FileDescriptor fd = Libcore.os.socket(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6); in test_PacketSocketAddress()
338 FileDescriptor recvFd = Libcore.os.socket(family, SOCK_DGRAM, 0); in checkSendToSocketAddress()
344 FileDescriptor sendFd = Libcore.os.socket(family, SOCK_DGRAM, 0); in checkSendToSocketAddress()
425 FileDescriptor fd = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6); in test_socketPing()
430 fd = Libcore.os.socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); in test_socketPing()
442 FileDescriptor mUdpSock = Libcore.os.socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_Ipv4Fallback()
469 final FileDescriptor serverFd = Libcore.os.socket(AF_INET, SOCK_DGRAM, 0); in test_recvfrom_concurrentShutdown()
712 final FileDescriptor fd = Libcore.os.socket(AF_INET, SOCK_DGRAM, 0); in test_socket_tcpUserTimeout_doesNotWorkOnDatagramSocket()
/libcore/ojluni/src/main/java/java/net/
DPlainDatagramSocketImpl.java44 import static android.system.OsConstants.SOCK_DGRAM;
196 fd = IoBridge.socket(AF_INET6, SOCK_DGRAM, 0); in datagramSocketCreate()
DPlainSocketImpl.java50 import static android.system.OsConstants.SOCK_DGRAM;
116 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate()
DInet6AddressImpl.java53 import static android.system.OsConstants.SOCK_DGRAM;
226 fd = IoBridge.socket(domain, SOCK_DGRAM, icmpProto); in icmpEcho()
DNetworkInterface.java528 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getMTU()
559 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getFlags()
/libcore/ojluni/src/main/native/
Dnet_util_md.c185 if (sotype == SOCK_DGRAM) { in findMaxBuf()
1125 } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) { in NET_SetSockOpt()
1128 udp_max_buf = findMaxBuf(fd, opt, SOCK_DGRAM); in NET_SetSockOpt()
1217 if (sotype == SOCK_DGRAM) { in NET_SetSockOpt()
DNet.c236 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0()
279 if (type == SOCK_DGRAM) { in Java_sun_nio_ch_Net_socket0()
295 if (domain == AF_INET6 && type == SOCK_DGRAM) { in Java_sun_nio_ch_Net_socket0()
/libcore/luni/src/main/java/android/system/
DOsConstants.java461 public static final int SOCK_DGRAM = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp508 initConstant(env, c, "SOCK_DGRAM", SOCK_DGRAM); in OsConstants_initConstants()