Home
last modified time | relevance | path

Searched refs:IP_TOS (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTestCase.java49 public static final int IP_TOS = 10; field in OldSocketTestCase
81 case IP_TOS: in getOptionIsSupported()
155 case IP_TOS: in getSocketOptionString()
DOldSocketTest.java1577 ensureExceptionThrownIfOptionIsUnsupportedOnOS(IP_TOS); in test_setTrafficClassI()
1579 handleException(e, IP_TOS); in test_setTrafficClassI()
1602 ensureExceptionThrownIfOptionIsUnsupportedOnOS(IP_TOS); in test_getTrafficClass()
1604 handleException(e, IP_TOS); in test_getTrafficClass()
/libcore/ojluni/src/main/java/java/net/
DDatagramSocketImpl.java263 } else if (name == StandardSocketOptions.IP_TOS) { in setOption()
264 setOption(SocketOptions.IP_TOS, value); in setOption()
289 } else if (name == StandardSocketOptions.IP_TOS) { in getOption()
290 return (T) getOption(SocketOptions.IP_TOS); in getOption()
DSocketImpl.java379 } else if (name == StandardSocketOptions.IP_TOS) { in setOption()
380 setOption(SocketOptions.IP_TOS, value); in setOption()
399 } else if (name == StandardSocketOptions.IP_TOS) { in getOption()
400 return (T)getOption(SocketOptions.IP_TOS); in getOption()
DSocketOptions.java222 @Native public final static int IP_TOS = 0x3; field
DStandardSocketOptions.java250 public static final SocketOption<Integer> IP_TOS = field in StandardSocketOptions
DAbstractPlainDatagramSocketImpl.java297 case IP_TOS: in setOption()
362 case IP_TOS: in getOption()
DDatagramSocket.java1221 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass()
1249 return ((Integer)(getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
DSocket.java1421 getImpl().setOption(SocketOptions.IP_TOS, tc); in setTrafficClass()
1452 return ((Integer) (getImpl().getOption(SocketOptions.IP_TOS))).intValue(); in getTrafficClass()
/libcore/ojluni/src/main/java/jdk/net/
DSockets.java362 set.add(StandardSocketOptions.IP_TOS); in initOptionSets()
375 set.add(StandardSocketOptions.IP_TOS); in initOptionSets()
385 set.add(StandardSocketOptions.IP_TOS); in initOptionSets()
398 set.add(StandardSocketOptions.IP_TOS); in initOptionSets()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketOptionRegistry.java68 …map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET), new OptionKey(… in options()
72 …map.put(new RegistryKey(StandardSocketOptions.IP_TOS, StandardProtocolFamily.INET6), new OptionKey… in options()
DServerSocketChannelImpl.java137 if (name == StandardSocketOptions.IP_TOS) { in setOption()
188 set.add(StandardSocketOptions.IP_TOS); in defaultOptions()
DDatagramSocketAdaptor.java341 setIntOption(StandardSocketOptions.IP_TOS, tc); in setTrafficClass()
345 return getIntOption(StandardSocketOptions.IP_TOS); in getTrafficClass()
DSocketAdaptor.java395 setIntOption(StandardSocketOptions.IP_TOS, tc); in setTrafficClass()
399 return getIntOption(StandardSocketOptions.IP_TOS); in getTrafficClass()
DSocketChannelImpl.java217 if (name == StandardSocketOptions.IP_TOS) { in setOption()
258 if (name == StandardSocketOptions.IP_TOS) { in getOption()
281 set.add(StandardSocketOptions.IP_TOS); in defaultOptions()
DDatagramChannelImpl.java222 if (name == StandardSocketOptions.IP_TOS || in setOption()
288 if (name == StandardSocketOptions.IP_TOS || in getOption()
338 set.add(StandardSocketOptions.IP_TOS); in defaultOptions()
DNet.java317 if (name == StandardSocketOptions.IP_TOS) {
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java327 case SocketOptions.IP_TOS: in getSocketOptionErrno()
415 case SocketOptions.IP_TOS: in setSocketOptionErrno()
416 Libcore.os.setsockoptInt(fd, IPPROTO_IP, IP_TOS, (Integer) value); in setSocketOptionErrno()
/libcore/ojluni/src/main/native/
Dnet_util_md.c922 { java_net_SocketOptions_IP_TOS, IPPROTO_IP, IP_TOS },
1073 if (level == IPPROTO_IP && opt == IP_TOS) { in NET_SetSockOpt()
DNet.c546 setsockopt(fdval(env, fdo), IPPROTO_IP, IP_TOS, parg, arglen); in Java_sun_nio_ch_Net_setIntOption0()
/libcore/luni/src/main/java/android/system/
DOsConstants.java355 public static final int IP_TOS = placeholder(); field in OsConstants
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java860 asc.setOption(StandardSocketOptions.IP_TOS, 5); in test_options_iae()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp348 initConstant(env, c, "IP_TOS", IP_TOS); in OsConstants_initConstants()