Home
last modified time | relevance | path

Searched refs:StandardProtocolFamily (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketOptionRegistry.java32 import java.net.StandardProtocolFamily;
68 …map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET), new OptionKey(… in options()
69 …map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_IF, StandardProtocolFamily.INET), new O… in options()
70 …map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_TTL, StandardProtocolFamily.INET), new … in options()
71 …map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_LOOP, StandardProtocolFamily.INET), new… in options()
72 …map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET6), new OptionKey… in options()
73 …map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_IF, StandardProtocolFamily.INET6), new … in options()
74 …map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_TTL, StandardProtocolFamily.INET6), new… in options()
75 …map.put(new RegistryKey(StandardSocketOptions.IP_MULTICAST_LOOP, StandardProtocolFamily.INET6), ne… in options()
DDatagramChannelImpl.java126 StandardProtocolFamily.INET6 : StandardProtocolFamily.INET; in DatagramChannelImpl()
144 if ((family != StandardProtocolFamily.INET) && in DatagramChannelImpl()
145 (family != StandardProtocolFamily.INET6)) in DatagramChannelImpl()
152 if (family == StandardProtocolFamily.INET6) { in DatagramChannelImpl()
172 StandardProtocolFamily.INET6 : StandardProtocolFamily.INET; in DatagramChannelImpl()
235 if (family == StandardProtocolFamily.INET6) { in setOption()
296 if (family == StandardProtocolFamily.INET) { in getOption()
562 boolean preferIPv6 = (family != StandardProtocolFamily.INET); in sendFromNativeBuffer()
716 if (family == StandardProtocolFamily.INET) { in bind()
725 if (family == StandardProtocolFamily.INET) { in bind()
[all …]
DNet.java342 boolean isIPv6 = (family == StandardProtocolFamily.INET6);
419 (family != StandardProtocolFamily.INET);
441 (family != StandardProtocolFamily.INET);
465 (family != StandardProtocolFamily.INET);
DSocketChannelImpl.java37 import java.net.StandardProtocolFamily;
219 StandardProtocolFamily.INET6 : StandardProtocolFamily.INET; in setOption()
260 StandardProtocolFamily.INET6 : StandardProtocolFamily.INET; in getOption()
DServerSocketChannelImpl.java139 StandardProtocolFamily.INET6 : StandardProtocolFamily.INET; in setOption()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DMembershipKeyTest.java27 import java.net.StandardProtocolFamily;
46 client = DatagramChannel.open(StandardProtocolFamily.INET) in init()
107 try(DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { in check_drop()
173 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { in test_blockWithJoinWithoutSource()
222 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { in test_unblockWithJoinWithoutSource()
DDatagramChannelTest.java37 import java.net.StandardProtocolFamily;
264 try (DatagramChannel channel = DatagramChannel.open(StandardProtocolFamily.INET)) { in test_open$java_net_ProtocolFamily()
271 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { in test_open$java_net_ProtocolFamily()
280 try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET6)) { in test_open$java_net_ProtocolFamily()
292 try(DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { in test_closeGuardSupport()
DDatagramChannelMulticastTest.java40 import java.net.StandardProtocolFamily;
224 …Source(GOOD_MULTICAST_IPv4, BAD_MULTICAST_IPv4, ipv4NetworkInterface, StandardProtocolFamily.INET); in test_joinAnySource_IPv4()
228 …ource(GOOD_MULTICAST_IPv6, BAD_MULTICAST_IPv6, ipv6NetworkInterface, StandardProtocolFamily.INET6); in test_joinAnySource_IPv6()
436 …Source_multicastLoopOption(GOOD_MULTICAST_IPv4, ipv4NetworkInterface, StandardProtocolFamily.INET); in test_joinAnySource_multicastLoopOption_IPv4()
440 …ource_multicastLoopOption(GOOD_MULTICAST_IPv6, ipv6NetworkInterface, StandardProtocolFamily.INET6); in test_multicastLoopOption_IPv6()
/libcore/ojluni/src/main/java/java/net/
DStandardProtocolFamily.java34 public enum StandardProtocolFamily implements ProtocolFamily { enum
/libcore/ojluni/src/main/java/java/nio/channels/
DMulticastChannel.java32 import java.net.StandardProtocolFamily; // javadoc
/libcore/ojluni/src/test/java/net/UnixDomainSocketAddress/
DLengthTest.java36 import static java.net.StandardProtocolFamily.UNIX;
/libcore/
Dopenjdk_java_files.bp348 "ojluni/src/main/java/java/net/StandardProtocolFamily.java",
DEXPECTED_UPSTREAM383 …rc/main/java/java/net/StandardProtocolFamily.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes…
/libcore/api/
Dcurrent.txt6060 public enum StandardProtocolFamily implements java.net.ProtocolFamily {
6061 enum_constant public static final java.net.StandardProtocolFamily INET;
6062 enum_constant public static final java.net.StandardProtocolFamily INET6;
6063 enum_constant public static final java.net.StandardProtocolFamily UNIX;