--- old/src/java.base/share/classes/jdk/net/ExtendedSocketOptions.java 2015-11-18 17:26:31.170896497 -0800 +++ new/src/java.base/share/classes/jdk/net/ExtendedSocketOptions.java 2015-11-18 17:26:31.071896496 -0800 @@ -59,4 +59,15 @@ */ public static final SocketOption SO_FLOW_SLA = new ExtSocketOption("SO_FLOW_SLA", SocketFlow.class); + + /** + * Sets SO_REUSEPORT for a socket. This option enables and disables + * the ability of having multiple sockets listen to the same address + * and port. It is supported in Linux with kernel 3.9+. + * Setting or getting this option requires + * {@code ("setOption.SO_REUSEPORT")} or {@code "getOption.SO_REUSEPORT"} + * respectively. + */ + public static final SocketOption SO_REUSEPORT = new + ExtSocketOption("SO_REUSEPORT", Boolean.class); }