cvs commit: src/sys/kern uipc_socket.c src/sys/sys socket.h
Robert Watson
rwatson at FreeBSD.org
Sun Sep 18 14:08:08 PDT 2005
rwatson 2005-09-18 21:08:03 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c
sys/sys socket.h
Log:
Add three new read-only socket options, which allow regression tests
and other applications to query the state of the stack regarding the
accept queue on a listen socket:
SO_LISTENQLIMIT Return the value of so_qlimit (socket backlog)
SO_LISTENQLEN Return the value of so_qlen (complete sockets)
SO_LISTENINCQLEN Return the value of so_incqlen (incomplete sockets)
Minor white space tweaks to existing socket options to make them
consistent.
Discussed with: andre
MFC after: 1 week
Revision Changes Path
1.249 +17 -0 src/sys/kern/uipc_socket.c
1.89 +3 -0 src/sys/sys/socket.h
More information about the cvs-all
mailing list