Searched refs:SOCK_DGRAM (Results 1 – 11 of 11) sorted by relevance
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 464 return Os.socket(AF_INET, SOCK_DGRAM, 0); in makeIpv4Socket() 468 return Os.socket(AF_INET6, SOCK_DGRAM, 0); in makeIpv6Socket() 472 return Os.socket(AF_UNIX, SOCK_DGRAM, 0); in makeUnixSocket() 507 FileDescriptor s = Os.socket(family, SOCK_DGRAM, 0); in testUnknownSocketAddressSubclass() 539 FileDescriptor nlSocket = Os.socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in test_NetlinkSocket() 555 FileDescriptor fd = Os.socket(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6); in test_PacketSocketAddress() 582 FileDescriptor recvFd = Os.socket(family, SOCK_DGRAM, 0); in checkSendToSocketAddress() 588 FileDescriptor sendFd = Os.socket(family, SOCK_DGRAM, 0); in checkSendToSocketAddress() 670 FileDescriptor fd = Os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_ICMPV6); in test_socketPing() 675 fd = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); in test_socketPing() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 44 import static android.system.OsConstants.SOCK_DGRAM; 197 fd = IoBridge.socket(AF_INET6, SOCK_DGRAM, 0); in datagramSocketCreate()
|
D | PlainSocketImpl.java | 50 import static android.system.OsConstants.SOCK_DGRAM; 128 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; 249 fd = IoBridge.socket(domain, SOCK_DGRAM, icmpProto); in icmpEcho()
|
D | NetworkInterface.java | 570 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getMTU() 613 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getFlags()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 22 import static android.system.OsConstants.SOCK_DGRAM; 150 FileDescriptor udpSocket = Libcore.os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_connect_networkPolicy()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | NetworkInterfaceTest.java | 47 import static android.system.OsConstants.SOCK_DGRAM; 282 FileDescriptor fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getFlags()
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 192 if (sotype == SOCK_DGRAM) { in findMaxBuf() 1140 } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) { in NET_SetSockOpt() 1143 udp_max_buf = findMaxBuf(fd, opt, SOCK_DGRAM); in NET_SetSockOpt() 1232 if (sotype == SOCK_DGRAM) { in NET_SetSockOpt()
|
D | Net.c | 242 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); in Java_sun_nio_ch_Net_socket0() 283 if (type == SOCK_DGRAM) { in Java_sun_nio_ch_Net_socket0() 299 if (domain == AF_INET6 && type == SOCK_DGRAM) { in Java_sun_nio_ch_Net_socket0()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 547 public static final int SOCK_DGRAM = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 515 initConstant(env, c, "SOCK_DGRAM", SOCK_DGRAM); in OsConstants_initConstants()
|