Here are patches to make SOMAXCONN tunable from the config files.
Right now, it's not possible to override SOMAXCONN.
I would like to see these merged into 4.3?
I stuffed the option into opt_inet.h, since it is the only opt_*.h
file already included in the only place the value is used in the
Obviously, user space programs should use kern.ipc.somaxconn to
retrieve the current value, rather than relying on the header.
What is the feeling about #ifdef _KERNEL and providing sysctl
inlines, so that user space programs "just work" for everything
but global (static) initializers?
RCS file: /home/cvs/FreeBSD/sys/sys/socket.h,v
retrieving revision 126.96.36.199
diff -r188.8.131.52 socket.h
> #ifndef SOMAXCONN
RCS file: /home/cvs/FreeBSD/sys/conf/options,v
retrieving revision 1.5
diff -r1.5 options
> SOMAXCONN opt_inet.h
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message