Searched refs:SOCK_DGRAM (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | InheritedChannel.java | 44 private static final int SOCK_DGRAM = 2; field in InheritedChannel 158 if (st != SOCK_STREAM && st != SOCK_DGRAM) { in createChannel()
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 290 FileDescriptor nlSocket = Libcore.os.socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in test_NetlinkSocket() 306 FileDescriptor fd = Libcore.os.socket(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6); in test_PacketSocketAddress() 333 FileDescriptor recvFd = Libcore.os.socket(family, SOCK_DGRAM, 0); in checkSendToSocketAddress() 339 FileDescriptor sendFd = Libcore.os.socket(family, SOCK_DGRAM, 0); in checkSendToSocketAddress() 420 FileDescriptor fd = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6); in test_socketPing() 425 fd = Libcore.os.socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); in test_socketPing() 437 FileDescriptor mUdpSock = Libcore.os.socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_Ipv4Fallback() 464 final FileDescriptor serverFd = Libcore.os.socket(AF_INET, SOCK_DGRAM, 0); in test_recvfrom_concurrentShutdown()
|
/libcore/ojluni/src/main/native/ |
D | InheritedChannel.c | 101 if (sotype == SOCK_DGRAM) in Java_sun_nio_ch_InheritedChannel_soType0()
|
D | net_util_md.c | 185 if (sotype == SOCK_DGRAM) { in findMaxBuf() 1154 } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) { in NET_SetSockOpt() 1157 udp_max_buf = findMaxBuf(fd, opt, SOCK_DGRAM); in NET_SetSockOpt() 1246 if (sotype == SOCK_DGRAM) { in NET_SetSockOpt()
|
D | NetworkInterface.c | 972 if ((sock = JVM_Socket(proto, SOCK_DGRAM, 0)) < 0) { in openSocket() 998 if ((sock = JVM_Socket(AF_INET, SOCK_DGRAM, 0)) < 0) { in openSocketWithFallback() 1000 if ( (sock = JVM_Socket(AF_INET6, SOCK_DGRAM, 0)) < 0 ){ in openSocketWithFallback()
|
D | Net.c | 156 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0() 199 if (domain == AF_INET6 && type == SOCK_DGRAM) { in Java_sun_nio_ch_Net_socket0()
|
D | PlainSocketImpl.c | 146 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in PlainSocketImpl_socketCreate()
|
D | PlainDatagramSocketImpl.c | 980 if ((fd = JVM_Socket(domain, SOCK_DGRAM, 0)) == JVM_IO_ERR) { in PlainDatagramSocketImpl_datagramSocketCreate()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 439 public static final int SOCK_DGRAM = placeholder(); field in OsConstants
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 607 fd = Libcore.os.socket(AF_INET6, stream ? SOCK_STREAM : SOCK_DGRAM, 0); in socket()
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 489 initConstant(env, c, "SOCK_DGRAM", SOCK_DGRAM); in OsConstants_initConstants()
|