mirror of
https://repo.or.cz/socat.git
synced 2025-07-26 04:02:56 +00:00
Option so-reuseport did not work
This commit is contained in:
parent
6f48016ed8
commit
2ea6da3839
4 changed files with 160 additions and 5 deletions
|
@ -153,8 +153,8 @@ const struct optdesc opt_so_peercred = { "so-peercred", "peercred", OPT_SO_PEERC
|
|||
#ifdef SO_PRIORITY
|
||||
const struct optdesc opt_so_priority = { "so-priority", "priority", OPT_SO_PRIORITY, GROUP_SOCKET, PH_PASTSOCKET, TYPE_INT, OFUNC_SOCKOPT, SOL_SOCKET, SO_PRIORITY};
|
||||
#endif
|
||||
#ifdef SO_REUSEPORT /* AIX 4.3.3, BSD, HP-UX */
|
||||
const struct optdesc opt_so_reuseport= { "so-reuseport","reuseport",OPT_SO_REUSEPORT,GROUP_SOCKET, PH_PASTSOCKET, TYPE_INT, OFUNC_SOCKOPT, SOL_SOCKET, SO_REUSEPORT };
|
||||
#ifdef SO_REUSEPORT /* AIX 4.3.3, BSD, HP-UX, Linux >=3.9 */
|
||||
const struct optdesc opt_so_reuseport= { "so-reuseport","reuseport",OPT_SO_REUSEPORT,GROUP_SOCKET, PH_PREBIND, TYPE_INT, OFUNC_SOCKOPT, SOL_SOCKET, SO_REUSEPORT };
|
||||
#endif /* defined(SO_REUSEPORT) */
|
||||
#ifdef SO_SECURITY_AUTHENTICATION
|
||||
const struct optdesc opt_so_security_authentication={"so-security-authentication","securityauthentication",OPT_SO_SECURITY_AUTHENTICATION,GROUP_SOCKET,PH_PASTSOCKET,TYPE_INT,OFUNC_SOCKOPT,SOL_SOCKET,SO_SECURITY_AUTHENTICATION};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue