Searched refs:somaxconn (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/tools/regression/sockets/listen_backlog/
H A Dlisten_backlog.c47 * - That if we change the value of kern.ipc.somaxconn, the limits really
58 * We retrieve kern.ipc.somaxconn before running the tests in order to use a
63 static int somaxconn; variable
158 * either < 0 or > somaxconn, it should be set to somaxconn; otherwise, the
177 * to somaxconn.
179 if (socket_listen(PF_INET, SOCK_STREAM, 0, -1, 0, somaxconn, &sock,
195 * Fourth pass. Listen with a backlog of somaxconn and make sure it
196 * is set to somaxconn.
198 if (socket_listen(PF_INET, SOCK_STREAM, 0, somaxconn,
[all...]
/freebsd-13-stable/release/tools/
H A Dgce.conf88 kern.ipc.somaxconn=1024
/freebsd-13-stable/sys/kern/
H A Duipc_socket.c212 * NB: The original sysctl somaxconn is still available but hidden
215 static u_int somaxconn = SOMAXCONN; variable
223 val = somaxconn;
237 somaxconn = val;
244 SYSCTL_PROC(_kern_ipc, KIPC_SOMAXCONN, somaxconn,
970 if (backlog < 0 || backlog > somaxconn)
971 backlog = somaxconn;

Completed in 84 milliseconds