Searched refs:SOCK_DGRAM (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 295 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/ |
D | PlainDatagramSocketImpl.java | 44 import static android.system.OsConstants.SOCK_DGRAM; 196 fd = IoBridge.socket(AF_INET6, SOCK_DGRAM, 0); in datagramSocketCreate()
|
D | PlainSocketImpl.java | 50 import static android.system.OsConstants.SOCK_DGRAM; 116 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate()
|
D | Inet6AddressImpl.java | 53 import static android.system.OsConstants.SOCK_DGRAM; 226 fd = IoBridge.socket(domain, SOCK_DGRAM, icmpProto); in icmpEcho()
|
D | NetworkInterface.java | 528 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/ |
D | net_util_md.c | 185 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()
|
D | Net.c | 236 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/ |
D | OsConstants.java | 461 public static final int SOCK_DGRAM = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 508 initConstant(env, c, "SOCK_DGRAM", SOCK_DGRAM); in OsConstants_initConstants()
|