Support for few more socket options

This commit is contained in:
z3APA3A 2016-12-25 03:22:52 +03:00
parent c1beee44ef
commit cfc10e9efd

View File

@ -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