/openjdk7/jdk/test/java/nio/channels/ServerSocketChannel/ |
H A D | SocketOptionTests.java | 54 if (!options.contains(SO_RCVBUF)) 55 throw new RuntimeException("SO_RCVBUF should be supported"); 58 ssc.setOption(SO_RCVBUF, 256*1024); // can't check 59 int before = ssc.getOption(SO_RCVBUF); 60 int after = ssc.setOption(SO_RCVBUF, Integer.MAX_VALUE).getOption(SO_RCVBUF); 62 throw new RuntimeException("setOption caused SO_RCVBUF to decrease");
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocketOptions.java | 294 public final static int SO_RCVBUF = 0x1002; field in interface:SocketOptions
|
H A D | StandardSocketOptions.java | 155 public static final SocketOption<Integer> SO_RCVBUF = field in class:StandardSocketOptions 156 new StdSocketOption<Integer>("SO_RCVBUF", Integer.class);
|
H A D | AbstractPlainDatagramSocketImpl.java | 286 case SO_RCVBUF: 291 "SO_RCVBUF"); 338 case SO_RCVBUF:
|
H A D | ServerSocket.java | 788 * Sets a default proposed value for the SO_RCVBUF option for sockets 794 * The value of SO_RCVBUF is used both to set the size of the internal 828 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); 832 * Gets the value of the SO_RCVBUF option for this <tt>ServerSocket</tt>, 838 * @return the value of the SO_RCVBUF option for this <tt>Socket</tt>. 849 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF);
|
H A D | AbstractPlainSocketImpl.java | 244 case SO_RCVBUF: 248 "or SO_RCVBUF"); 305 case SO_RCVBUF:
|
H A D | DatagramSocket.java | 949 * Sets the SO_RCVBUF option to the specified value for this 950 * <tt>DatagramSocket</tt>. The SO_RCVBUF option is used by the 952 * network I/O buffers. The SO_RCVBUF setting may also be used 956 * Because SO_RCVBUF is a hint, applications that want to 960 * Increasing SO_RCVBUF may allow the network implementation 965 * than SO_RCVBUF can be received. 983 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); 987 * Get value of the SO_RCVBUF option for this <tt>DatagramSocket</tt>, that is the 990 * @return the value of the SO_RCVBUF option for this <tt>DatagramSocket</tt> 999 Object o = getImpl().getOption(SocketOptions.SO_RCVBUF); [all...] |
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | SocketOptionTests.java | 53 List<? extends SocketOption<?>> expected = Arrays.asList(SO_SNDBUF, SO_RCVBUF, 72 dc.setOption(SO_RCVBUF, 128*1024); // can't check 78 before = dc.getOption(SO_RCVBUF); 79 after = dc.setOption(SO_RCVBUF, Integer.MAX_VALUE).getOption(SO_RCVBUF); 81 throw new RuntimeException("setOption caused SO_RCVBUF to decrease");
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousServerSocketChannel/ |
H A D | Basic.java | 146 if (!options.contains(SO_RCVBUF)) 147 throw new RuntimeException("SO_RCVBUF should be supported"); 150 ch.setOption(SO_RCVBUF, 256*1024); // can't check 151 int before = ch.getOption(SO_RCVBUF); 152 int after = ch.setOption(SO_RCVBUF, Integer.MAX_VALUE).getOption(SO_RCVBUF); 154 throw new RuntimeException("setOption caused SO_RCVBUF to decrease");
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | SocketOptionTests.java | 52 List<? extends SocketOption> expected = Arrays.asList(SO_SNDBUF, SO_RCVBUF, 72 sc.setOption(SO_RCVBUF, 256*1024); // can't check 78 before = sc.getOption(SO_RCVBUF); 79 after = sc.setOption(SO_RCVBUF, Integer.MAX_VALUE).getOption(SO_RCVBUF); 81 throw new RuntimeException("setOption caused SO_RCVBUF to decrease");
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | SctpStdSocketOption.java | 38 public static final int SO_RCVBUF = 6; field in class:SctpStdSocketOption
|
H A D | ServerSocketAdaptor.java | 201 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size); 209 return ssc.getOption(StandardSocketOptions.SO_RCVBUF).intValue();
|
H A D | DatagramSocketAdaptor.java | 325 setIntOption(StandardSocketOptions.SO_RCVBUF, size); 329 return getIntOption(StandardSocketOptions.SO_RCVBUF);
|
H A D | SocketAdaptor.java | 389 setIntOption(StandardSocketOptions.SO_RCVBUF, size); 393 return getIntOption(StandardSocketOptions.SO_RCVBUF);
|
H A D | AsynchronousServerSocketChannelImpl.java | 232 set.add(StandardSocketOptions.SO_RCVBUF);
|
H A D | ServerSocketChannelImpl.java | 178 set.add(StandardSocketOptions.SO_RCVBUF);
|
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/ |
H A D | SctpStandardSocketOptions.java | 274 public static final SctpSocketOption<Integer> SO_RCVBUF = field in class:SctpStandardSocketOptions 275 new SctpStdSocketOption<Integer>("SO_RCVBUF", Integer.class, 276 sun.nio.ch.SctpStdSocketOption.SO_RCVBUF);
|
/openjdk7/jdk/src/share/native/sun/nio/ch/ |
H A D | genSocketOptionRegistry.c | 103 emit_unspec("StandardSocketOptions.SO_RCVBUF", SOL_SOCKET, SO_RCVBUF);
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | SocketOptionTests.java | 84 SO_SNDBUF, SO_RCVBUF, SO_LINGER); 108 sc.setOption(SO_RCVBUF, 16*1024); 109 checkOption(sc, SO_RCVBUF, 16*1024);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | SctpNet.java | 218 name.equals(SO_RCVBUF) || 243 name.equals(SO_RCVBUF) || 260 if (name == SO_RCVBUF ||
|
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | DualStackPlainDatagramSocketImpl.java | 169 case SO_RCVBUF : 210 case SO_RCVBUF :
|
H A D | DualStackPlainSocketImpl.java | 200 case SO_RCVBUF :
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/ |
H A D | SocketOptionTests.java | 92 SO_SNDBUF, SO_RCVBUF, SO_LINGER); 115 smc.setOption(SO_RCVBUF, 16*1024, null);
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | net_util_md.c | 168 * Iterative way to find the max value that SO_SNDBUF or SO_RCVBUF 1038 { java_net_SocketOptions_SO_RCVBUF, SOL_SOCKET, SO_RCVBUF }, 1244 * On Linux the SO_SNDBUF/SO_RCVBUF values must be post-processed 1284 * On Linux SO_SNDBUF/SO_RCVBUF aren't symmetric. This 1289 || (opt == SO_RCVBUF))) { 1314 * and SO_RCVBUF to the kernel configured limit 1383 * SOL_SOCKET/{SO_SNDBUF,SO_RCVBUF} - On Solaris we may need to clamp 1388 if (opt == SO_SNDBUF || opt == SO_RCVBUF) { 1443 * is that if SO_RCVBUF is too small then small packets 1447 if (level == SOL_SOCKET && opt == SO_RCVBUF) { [all...] |
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/ |
H A D | Basic.java | 133 ch.setOption(SO_RCVBUF, 128*1024) 137 // check SO_SNDBUF/SO_RCVBUF limits 143 before = ch.getOption(SO_RCVBUF); 144 after = ch.setOption(SO_RCVBUF, Integer.MAX_VALUE).getOption(SO_RCVBUF); 146 throw new RuntimeException("setOption caused SO_RCVBUF to decrease"); 163 ch.getOption(SO_RCVBUF);
|