--- old/make/src/native/genconstants/ch/genSocketOptionRegistry.c 2016-02-24 13:34:27.456280899 +0530 +++ new/make/src/native/genconstants/ch/genSocketOptionRegistry.c 2016-02-24 13:34:27.336280898 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,6 +34,13 @@ #include #endif +#if !defined(SO_QUICKACK) + #if defined(__linux__) + #define SO_QUICKACK 0xC /* Block/reenable quick ACKs. */ + #else + #define SO_QUICKACK 0 + #endif +#endif /** * Generates sun.nio.ch.SocketOptionRegistry, a class that maps Java-level * socket options to the platform specific level and option. @@ -117,6 +124,7 @@ #endif emit_unspec("ExtendedSocketOption.SO_OOBINLINE", SOL_SOCKET, SO_OOBINLINE); + emit_unspec("jdk.net.ExtendedSocketOptions.SO_QUICKACK", SOL_SOCKET, SO_QUICKACK); out(" return map; "); out(" } ");