< prev index next >

src/java.base/unix/native/libnet/net_util_md.h

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 1997, 2019, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2020, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 45,56 **** /* Defines SO_REUSEPORT */ #ifndef SO_REUSEPORT #ifdef __linux__ #define SO_REUSEPORT 15 - #elif defined(__solaris__) - #define SO_REUSEPORT 0x100e #elif defined(AIX) || defined(MACOSX) #define SO_REUSEPORT 0x0200 #else #define SO_REUSEPORT 0 #endif --- 45,54 ----
*** 96,105 **** int gai_error); void NET_ThrowByNameWithLastError(JNIEnv *env, const char *name, const char *defaultDetail); void NET_SetTrafficClass(SOCKETADDRESS *sa, int trafficClass); - #ifdef __solaris__ - int net_getParam(char *driver, char *param); - #endif - #endif /* NET_UTILS_MD_H */ --- 94,99 ----
< prev index next >