Searched refs:linger (Results 1 - 15 of 15) sorted by relevance

/freebsd-13-stable/contrib/tcp_wrappers/
H A Doptions.c82 static void linger_option(); /* execute "linger time" option */
119 "linger", linger_option, NEED_ARG,
318 /* linger_option - set the socket linger time (Marc Boucher <marc@cam.org>) */
326 struct linger linger; local
329 if (sscanf(value, "%d%c", &linger.l_linger, &junk) != 1
330 || linger.l_linger < 0)
331 tcpd_jump("bad linger value: \"%s\"", value);
333 linger.l_onoff = (linger
[all...]
/freebsd-13-stable/cddl/compat/opensolaris/include/
H A Dthread_pool.h49 uint_t linger, pthread_attr_t *attr);
/freebsd-13-stable/sys/contrib/openzfs/include/
H A Dthread_pool.h43 uint_t linger, pthread_attr_t *attr);
/freebsd-13-stable/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c67 struct linger linger; local
249 linger.l_onoff = 1;
250 linger.l_linger = 0;
251 ret = setsockopt(so, SOL_SOCKET, SO_LINGER, &linger, sizeof(linger));
/freebsd-13-stable/contrib/libevent/test/
H A Dbench_httpclient.c117 struct linger l;
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c117 struct linger l;
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dsockopt.c198 struct linger li;
201 if (setsockopt(sock->socketdes, SOL_SOCKET, SO_LINGER, (char *) &li, sizeof(struct linger)) == -1) {
/freebsd-13-stable/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c322 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, argument
367 tpool->tp_linger = linger;
/freebsd-13-stable/tests/sys/netinet/
H A Dso_reuseport_lb_test.c57 const struct linger lopt = { 1, 0 };
78 ATF_REQUIRE_MSG(error == 0, "Setting linger failed: %s",
H A Dtcp_connect_port_test.c172 const struct linger lopt = { 1, 0 };
222 "Setting linger for client socket %d failed: %s",
/freebsd-13-stable/crypto/openssl/apps/
H A Ds_time.c393 struct linger no_linger;
/freebsd-13-stable/sys/sys/
H A Dsocket.h138 #define SO_LINGER 0x00000080 /* linger on close if data present */
196 * Structure used for manipulating linger option.
198 struct linger { struct
200 int l_linger; /* linger time */
/freebsd-13-stable/contrib/ofed/librdmacm/
H A Drsocket.c3434 opt_on = !((struct linger *) optval)->l_onoff;
3600 ((struct linger *) optval)->l_onoff =
3602 ((struct linger *) optval)->l_linger = 0;
3603 *optlen = sizeof(struct linger);
/freebsd-13-stable/sys/kern/
H A Duipc_socket.c2985 struct linger l;
3218 struct linger l;
/freebsd-13-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c1637 struct linger l;
1654 log(LOG_ERR, "%s: sosetopt(%p, linger = 0) failed with %d.\n",

Completed in 268 milliseconds