Searched refs:SOCK_DGRAM (Results 1 – 11 of 11) sorted by relevance
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 91 final FileDescriptor fd = Os.socket(AF_INET, SOCK_DGRAM, 0); in testFcntlInt_udpSocket() 96 Os.fcntlInt(fd, F_SETFL, SOCK_DGRAM | O_NONBLOCK); in testFcntlInt_udpSocket() 100 Os.fcntlInt(fd, F_SETFL, SOCK_DGRAM); in testFcntlInt_udpSocket() 108 final FileDescriptor fd = Os.socket(AF_INET, SOCK_DGRAM, 0); in testFcntlInt_invalidCmd() 504 return Os.socket(AF_INET, SOCK_DGRAM, 0); in makeIpv4Socket() 508 return Os.socket(AF_INET6, SOCK_DGRAM, 0); in makeIpv6Socket() 512 return Os.socket(AF_UNIX, SOCK_DGRAM, 0); in makeUnixSocket() 547 FileDescriptor s = Os.socket(family, SOCK_DGRAM, 0); in testUnknownSocketAddressSubclass() 579 FileDescriptor nlSocket = Os.socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in test_NetlinkSocket() 602 FileDescriptor fd = Os.socket(AF_PACKET, SOCK_DGRAM, ETH_P_IPV6); in test_PacketSocketAddress() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 44 import static android.system.OsConstants.SOCK_DGRAM; 198 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 | 610 fd = Libcore.rawOs.socket(AF_INET, SOCK_DGRAM, 0); in getMTU() 653 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 | 49 import static android.system.OsConstants.SOCK_DGRAM; 275 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 | 519 initConstant(env, c, "SOCK_DGRAM", SOCK_DGRAM); in OsConstants_initConstants()
|