Home
last modified time | relevance | path

Searched refs:SO_REUSEPORT (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/net/SocketOptions/
DOptionsTest.java63 TestClass.create(StandardSocketOptions.SO_REUSEPORT, Boolean.FALSE),
71 TestClass.create(StandardSocketOptions.SO_REUSEPORT, Boolean.FALSE),
79 TestClass.create(StandardSocketOptions.SO_REUSEPORT, Boolean.FALSE),
97 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in doSocketTests()
100 if (!(test.option == StandardSocketOptions.SO_REUSEPORT && !reuseport)) { in doSocketTests()
119 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in doDgSocketTests()
122 if (!(test.option == StandardSocketOptions.SO_REUSEPORT && !reuseport)) { in doDgSocketTests()
159 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in doServerSocketTests()
162 if (!(test.option == StandardSocketOptions.SO_REUSEPORT && !reuseport)) { in doServerSocketTests()
186 boolean reuseport = options.contains(StandardSocketOptions.SO_REUSEPORT); in legacyGetOption()
[all …]
/libcore/ojluni/src/main/native/
Dnio_util.h42 #ifndef SO_REUSEPORT
44 #define SO_REUSEPORT 15 macro
46 #define SO_REUSEPORT 0x0200 macro
48 #define SO_REUSEPORT 0 macro
Dnet_util_md.c1234 setsockopt(fd, level, SO_REUSEPORT, arg, len); in NET_SetSockOpt()
/libcore/ojluni/src/main/java/java/net/
DDatagramSocketImpl.java288 } else if (name == StandardSocketOptions.SO_REUSEPORT && in setOption()
290 setOption(SocketOptions.SO_REUSEPORT, value); in setOption()
333 } else if (name == StandardSocketOptions.SO_REUSEPORT && in getOption()
335 return (T) getOption(SocketOptions.SO_REUSEPORT); in getOption()
DSocketImpl.java400 } else if (name == StandardSocketOptions.SO_REUSEPORT && in setOption()
402 setOption(SocketOptions.SO_REUSEPORT, value); in setOption()
443 } else if (name == StandardSocketOptions.SO_REUSEPORT && in getOption()
445 return (T)getOption(SocketOptions.SO_REUSEPORT); in getOption()
DSocketOptions.java183 @Native public static final int SO_REUSEPORT = 0x0E; field
DStandardSocketOptions.java209 public static final SocketOption<Boolean> SO_REUSEPORT = field in StandardSocketOptions
/libcore/api/
Dcurrent.txt6043 field public static final int SO_REUSEPORT = 14; // 0xe
6076 field public static final java.net.SocketOption<java.lang.Boolean> SO_REUSEPORT;