1
0
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:
Alfred Perlstein 2001-04-13 03:50:37 +00:00
parent 44c3e09cdc
commit 7bbd138e2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75458
2 changed files with 3 additions and 0 deletions

View File

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

View File

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