mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Make SOMAXCONN a kernel option.
Submitted by: Terry Lambert <terry@lambert.org>
This commit is contained in:
parent
44c3e09cdc
commit
7bbd138e2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75458
@ -253,6 +253,7 @@ ETHER_8022 opt_ef.h
|
||||
ETHER_SNAP opt_ef.h
|
||||
MROUTING opt_mrouting.h
|
||||
INET opt_inet.h
|
||||
SOMAXCONN opt_inet.h
|
||||
INET6 opt_inet6.h
|
||||
IPSEC opt_ipsec.h
|
||||
IPSEC_ESP opt_ipsec.h
|
||||
|
@ -301,7 +301,9 @@ struct sockaddr_storage {
|
||||
/*
|
||||
* Maximum queue length specifiable by listen.
|
||||
*/
|
||||
#ifndef SOMAXCONN
|
||||
#define SOMAXCONN 128
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Message header for recvmsg and sendmsg calls.
|
||||
|
Loading…
Reference in New Issue
Block a user