diff --git a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java index 53647e0a10e..55e2afb79e9 100644 --- a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java +++ b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java @@ -59,65 +59,70 @@ import java.nio.channels.SelectionKey; * {@link #setOption(SctpSocketOption,Object) setOption} method. An SCTP * channel support the following options: *
- *+ *
+ * + * *
* * Additional (implementation specific) options may also be supported. The list diff --git a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java index cb498c9017d..2300bbbe146 100644 --- a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java +++ b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java @@ -63,65 +63,70 @@ import java.nio.channels.SelectionKey; * {@link #setOption(SctpSocketOption,Object,Association) setOption} method. An * {@code SctpMultiChannel} supports the following options: *- * + * + * *Option Name - *Description + *Option Name + *Description *- * *{@link SctpStandardSocketOptions#SCTP_DISABLE_FRAGMENTS - * SCTP_DISABLE_FRAGMENTS} + *{@link SctpStandardSocketOptions#SCTP_DISABLE_FRAGMENTS + * SCTP_DISABLE_FRAGMENTS} *Enables or disables message fragmentation *- * *{@link SctpStandardSocketOptions#SCTP_EXPLICIT_COMPLETE - * SCTP_EXPLICIT_COMPLETE} + *{@link SctpStandardSocketOptions#SCTP_EXPLICIT_COMPLETE + * SCTP_EXPLICIT_COMPLETE} *Enables or disables explicit message completion *- * *{@link SctpStandardSocketOptions#SCTP_FRAGMENT_INTERLEAVE - * SCTP_FRAGMENT_INTERLEAVE} + *{@link SctpStandardSocketOptions#SCTP_FRAGMENT_INTERLEAVE + * SCTP_FRAGMENT_INTERLEAVE} *Controls how the presentation of messages occur for the message * receiver *- * *{@link SctpStandardSocketOptions#SCTP_INIT_MAXSTREAMS - * SCTP_INIT_MAXSTREAMS} + *{@link SctpStandardSocketOptions#SCTP_INIT_MAXSTREAMS + * SCTP_INIT_MAXSTREAMS} *The maximum number of streams requested by the local endpoint during * association initialization *- * *{@link SctpStandardSocketOptions#SCTP_NODELAY SCTP_NODELAY} + *{@link SctpStandardSocketOptions#SCTP_NODELAY SCTP_NODELAY} *Enables or disable a Nagle-like algorithm *- * *{@link SctpStandardSocketOptions#SCTP_PRIMARY_ADDR - * SCTP_PRIMARY_ADDR} + *{@link SctpStandardSocketOptions#SCTP_PRIMARY_ADDR + * SCTP_PRIMARY_ADDR} *Requests that the local SCTP stack use the given peer address as the * association primary *- * *{@link SctpStandardSocketOptions#SCTP_SET_PEER_PRIMARY_ADDR - * SCTP_SET_PEER_PRIMARY_ADDR} + *{@link SctpStandardSocketOptions#SCTP_SET_PEER_PRIMARY_ADDR + * SCTP_SET_PEER_PRIMARY_ADDR} *Requests that the peer mark the enclosed address as the association * primary *- * *{@link SctpStandardSocketOptions#SO_SNDBUF - * SO_SNDBUF} + *{@link SctpStandardSocketOptions#SO_SNDBUF + * SO_SNDBUF} *The size of the socket send buffer *- * *{@link SctpStandardSocketOptions#SO_RCVBUF - * SO_RCVBUF} + *{@link SctpStandardSocketOptions#SO_RCVBUF + * SO_RCVBUF} *The size of the socket receive buffer *- * + * *{@link SctpStandardSocketOptions#SO_LINGER - * SO_LINGER} + *{@link SctpStandardSocketOptions#SO_LINGER + * SO_LINGER} *Linger on close if data is present (when configured in blocking mode * only) *- *+ *
+ * + * *
* * Additional (implementation specific) options may also be supported. The list diff --git a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java index cf56fd16c9f..212e111a930 100644 --- a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java +++ b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java @@ -47,17 +47,22 @@ import java.nio.channels.spi.AbstractSelectableChannel; * {@link #setOption(SctpSocketOption,Object) setOption} method. SCTP server socket * channels support the following options: *- * + * + * *Option Name - *Description + *Option Name + *Description *- * *{@link SctpStandardSocketOptions#SCTP_DISABLE_FRAGMENTS - * SCTP_DISABLE_FRAGMENTS} + *{@link SctpStandardSocketOptions#SCTP_DISABLE_FRAGMENTS + * SCTP_DISABLE_FRAGMENTS} *Enables or disables message fragmentation *- * *{@link SctpStandardSocketOptions#SCTP_EXPLICIT_COMPLETE - * SCTP_EXPLICIT_COMPLETE} + *{@link SctpStandardSocketOptions#SCTP_EXPLICIT_COMPLETE + * SCTP_EXPLICIT_COMPLETE} *Enables or disables explicit message completion *- * *{@link SctpStandardSocketOptions#SCTP_FRAGMENT_INTERLEAVE - * SCTP_FRAGMENT_INTERLEAVE} + *{@link SctpStandardSocketOptions#SCTP_FRAGMENT_INTERLEAVE + * SCTP_FRAGMENT_INTERLEAVE} *Controls how the presentation of messages occur for the message * receiver *- * *{@link SctpStandardSocketOptions#SCTP_INIT_MAXSTREAMS - * SCTP_INIT_MAXSTREAMS} + *{@link SctpStandardSocketOptions#SCTP_INIT_MAXSTREAMS + * SCTP_INIT_MAXSTREAMS} *The maximum number of streams requested by the local endpoint during * association initialization *- * *{@link SctpStandardSocketOptions#SCTP_NODELAY SCTP_NODELAY} + *{@link SctpStandardSocketOptions#SCTP_NODELAY SCTP_NODELAY} *Enables or disable a Nagle-like algorithm *- * *{@link SctpStandardSocketOptions#SCTP_PRIMARY_ADDR - * SCTP_PRIMARY_ADDR} + *{@link SctpStandardSocketOptions#SCTP_PRIMARY_ADDR + * SCTP_PRIMARY_ADDR} *Requests that the local SCTP stack use the given peer address as the * association primary *- * *{@link SctpStandardSocketOptions#SCTP_SET_PEER_PRIMARY_ADDR - * SCTP_SET_PEER_PRIMARY_ADDR} + *{@link SctpStandardSocketOptions#SCTP_SET_PEER_PRIMARY_ADDR + * SCTP_SET_PEER_PRIMARY_ADDR} *Requests that the peer mark the enclosed address as the association * primary *- * *{@link SctpStandardSocketOptions#SO_SNDBUF - * SO_SNDBUF} + *{@link SctpStandardSocketOptions#SO_SNDBUF + * SO_SNDBUF} *The size of the socket send buffer *- * *{@link SctpStandardSocketOptions#SO_RCVBUF - * SO_RCVBUF} + *{@link SctpStandardSocketOptions#SO_RCVBUF + * SO_RCVBUF} *The size of the socket receive buffer *- * + * *{@link SctpStandardSocketOptions#SO_LINGER - * SO_LINGER} + *{@link SctpStandardSocketOptions#SO_LINGER + * SO_LINGER} *Linger on close if data is present (when configured in blocking mode * only) *- *+ *
+ * + * *
* * Additional (implementation specific) options may also be supported. The list- * + * + * *Option Name - *Description + *Option Name + *Description *- * + * *{@link SctpStandardSocketOptions#SCTP_INIT_MAXSTREAMS - * SCTP_INIT_MAXSTREAMS} + *{@link SctpStandardSocketOptions#SCTP_INIT_MAXSTREAMS + * SCTP_INIT_MAXSTREAMS} *The maximum number of streams requested by the local endpoint during * association initialization *