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

/freebsd-11-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-11-stable/cddl/compat/opensolaris/include/
H A Dthread_pool.h49 uint_t linger, pthread_attr_t *attr);
/freebsd-11-stable/libexec/rshd/
H A Drshd.c129 struct linger linger; local
172 linger.l_onoff = 1;
173 linger.l_linger = 60; /* XXX */
174 if (setsockopt(0, SOL_SOCKET, SO_LINGER, (char *)&linger,
175 sizeof (linger)) < 0)
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c117 struct linger l;
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dthread_pool.c225 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, argument
247 tpool->tp_linger = linger;
/freebsd-11-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-11-stable/sys/sys/
H A Dsocket.h128 #define SO_LINGER 0x0080 /* linger on close if data present */
183 * Structure used for manipulating linger option.
185 struct linger { struct
187 int l_linger; /* linger time */
/freebsd-11-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-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c303 struct linger l;
318 printf("%s can't set linger to 0, no RST! err %d\n", __FUNCTION__, err);
/freebsd-11-stable/sys/kern/
H A Duipc_socket.c2510 struct linger l;
2767 struct linger l;
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c1644 struct linger l;
1661 log(LOG_ERR, "%s: sosetopt(%p, linger = 0) failed with %d.\n",

Completed in 278 milliseconds