mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
Support for few more socket options
This commit is contained in:
parent
c1beee44ef
commit
cfc10e9efd
@ -86,6 +86,12 @@ struct socketoptions sockopts[] = {
|
|||||||
#ifdef SO_REUSEPORT
|
#ifdef SO_REUSEPORT
|
||||||
{SO_REUSEPORT, "SO_REUSEPORT"},
|
{SO_REUSEPORT, "SO_REUSEPORT"},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SO_PORT_SCALABILITY
|
||||||
|
{SO_PORT_SCALABILITY, "SO_PORT_SCALABILITY"},
|
||||||
|
#endif
|
||||||
|
#ifdef SO_REUSE_UNICASTPORT
|
||||||
|
{SO_REUSE_UNICASTPORT, "SO_REUSE_UNICASTPORT"},
|
||||||
|
#endif
|
||||||
#ifdef SO_KEEPALIVE
|
#ifdef SO_KEEPALIVE
|
||||||
{SO_KEEPALIVE, "SO_KEEPALIVE"},
|
{SO_KEEPALIVE, "SO_KEEPALIVE"},
|
||||||
#endif
|
#endif
|
||||||
@ -205,6 +211,12 @@ int MODULEMAINFUNC (int argc, char** argv){
|
|||||||
#ifdef SO_REUSEPORT
|
#ifdef SO_REUSEPORT
|
||||||
"SO_REUSEPORT "
|
"SO_REUSEPORT "
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SO_PORT_SCALABILITY
|
||||||
|
"SO_PORT_SCALABILITY "
|
||||||
|
#endif
|
||||||
|
#ifdef SO_REUSE_UNICASTPORT
|
||||||
|
"SO_REUSE_UNICASTPORT "
|
||||||
|
#endif
|
||||||
#ifdef SO_KEEPALIVE
|
#ifdef SO_KEEPALIVE
|
||||||
"SO_KEEPALIVE "
|
"SO_KEEPALIVE "
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user