Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/net/
DSocketImpl.java45 public abstract class SocketImpl implements SocketOptions {
370 setOption(SocketOptions.SO_KEEPALIVE, value); in setOption()
372 setOption(SocketOptions.SO_SNDBUF, value); in setOption()
374 setOption(SocketOptions.SO_RCVBUF, value); in setOption()
376 setOption(SocketOptions.SO_REUSEADDR, value); in setOption()
378 setOption(SocketOptions.SO_LINGER, value); in setOption()
380 setOption(SocketOptions.IP_TOS, value); in setOption()
382 setOption(SocketOptions.TCP_NODELAY, value); in setOption()
390 return (T)getOption(SocketOptions.SO_KEEPALIVE); in getOption()
392 return (T)getOption(SocketOptions.SO_SNDBUF); in getOption()
[all …]
DDatagramSocketImpl.java38 public abstract class DatagramSocketImpl implements SocketOptions {
258 setOption(SocketOptions.SO_SNDBUF, value); in setOption()
260 setOption(SocketOptions.SO_RCVBUF, value); in setOption()
262 setOption(SocketOptions.SO_REUSEADDR, value); in setOption()
264 setOption(SocketOptions.IP_TOS, value); in setOption()
267 setOption(SocketOptions.IP_MULTICAST_IF2, value); in setOption()
276 setOption(SocketOptions.IP_MULTICAST_LOOP, value); in setOption()
284 return (T) getOption(SocketOptions.SO_SNDBUF); in getOption()
286 return (T) getOption(SocketOptions.SO_RCVBUF); in getOption()
288 return (T) getOption(SocketOptions.SO_REUSEADDR); in getOption()
[all …]
DSocket.java751 in = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR); in getLocalAddress()
1012 getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on)); in setTcpNoDelay()
1028 return ((Boolean) getImpl().getOption(SocketOptions.TCP_NODELAY)).booleanValue(); in getTcpNoDelay()
1050 getImpl().setOption(SocketOptions.SO_LINGER, new Boolean(on)); in setSoLinger()
1057 getImpl().setOption(SocketOptions.SO_LINGER, new Integer(linger)); in setSoLinger()
1077 Object o = getImpl().getOption(SocketOptions.SO_LINGER); in getSoLinger()
1137 getImpl().setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(on)); in setOOBInline()
1154 return ((Boolean) getImpl().getOption(SocketOptions.SO_OOBINLINE)).booleanValue(); in getOOBInline()
1180 getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); in setSoTimeout()
1197 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout()
[all …]
DDatagramSocket.java887 in = (InetAddress) getImpl().getOption(SocketOptions.SO_BINDADDR); in getLocalAddress()
937 getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); in setSoTimeout()
954 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout()
999 getImpl().setOption(SocketOptions.SO_SNDBUF, new Integer(size)); in setSendBufferSize()
1015 Object o = getImpl().getOption(SocketOptions.SO_SNDBUF); in getSendBufferSize()
1057 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
1073 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
1119 getImpl().setOption(SocketOptions.SO_REUSEADDR, new Integer(on?-1:0)); in setReuseAddress()
1121 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); in setReuseAddress()
1136 Object o = getImpl().getOption(SocketOptions.SO_REUSEADDR); in getReuseAddress()
[all …]
DMulticastSocket.java473 getImpl().setOption(SocketOptions.IP_MULTICAST_IF, inf); in setInterface()
498 (InetAddress)getImpl().getOption(SocketOptions.IP_MULTICAST_IF); in getInterface()
556 getImpl().setOption(SocketOptions.IP_MULTICAST_IF2, netIf); in setNetworkInterface()
574 = (Integer)getImpl().getOption(SocketOptions.IP_MULTICAST_IF2); in getNetworkInterface()
599 getImpl().setOption(SocketOptions.IP_MULTICAST_LOOP, Boolean.valueOf(disable)); in setLoopbackMode()
611 return ((Boolean)getImpl().getOption(SocketOptions.IP_MULTICAST_LOOP)).booleanValue(); in getLoopbackMode()
DServerSocket.java654 getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); in setSoTimeout()
668 Object o = getImpl().getOption(SocketOptions.SO_TIMEOUT); in getSoTimeout()
716 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on)); in setReuseAddress()
732 return ((Boolean) (getImpl().getOption(SocketOptions.SO_REUSEADDR))).booleanValue(); in getReuseAddress()
851 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); in setReceiveBufferSize()
873 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); in getReceiveBufferSize()
DSocketOptions.java46 public interface SocketOptions { interface
DInet6AddressImpl.java264 IoBridge.setSocketOption(fd, SocketOptions.SO_TIMEOUT, sockTo); in icmpEcho()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java42 import java.net.SocketOptions;
310 case SocketOptions.IP_MULTICAST_IF: in getSocketOptionErrno()
311 case SocketOptions.IP_MULTICAST_IF2: in getSocketOptionErrno()
313 case SocketOptions.IP_MULTICAST_LOOP: in getSocketOptionErrno()
327 case SocketOptions.IP_TOS: in getSocketOptionErrno()
331 case SocketOptions.SO_BROADCAST: in getSocketOptionErrno()
333 case SocketOptions.SO_KEEPALIVE: in getSocketOptionErrno()
335 case SocketOptions.SO_LINGER: in getSocketOptionErrno()
341 case SocketOptions.SO_OOBINLINE: in getSocketOptionErrno()
343 case SocketOptions.SO_RCVBUF: in getSocketOptionErrno()
[all …]
/libcore/ojluni/annotations/mmodule/java/net/
DSocketImpl.annotated.java33 public abstract class SocketImpl implements java.net.SocketOptions {
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocketImpl.java32 public abstract class SocketImpl implements java.net.SocketOptions {
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt801 public abstract class SocketImpl implements java.net.SocketOptions {
/libcore/
Dopenjdk_java_files.bp319 "ojluni/src/main/java/java/net/SocketOptions.java",
/libcore/ojluni/
DNOTICE8605 java/net/SocketOptions.java follows.