Home
last modified time | relevance | path

Searched refs:linger (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/tools/test/stress2/misc/
H A Dlinger.sh37 sed '1,/^EOF/d' < $here/$0 > linger.c
38 mycc -o linger -Wall -O2 linger.c
39 rm -f linger.c
70 rm -f /tmp/linger
H A Dlinger3.sh111 int linger = 0;
114 linger = atoi(getenv("LINGER"));
122 if (linger != 0)
123 sleep(linger);
H A Dmmap44.sh83 cp[i] = 0xee; /* This value seems to linger with NFS */
/freebsd/contrib/tcp_wrappers/
H A Doptions.c307 struct linger linger; in linger_option() local
310 if (sscanf(value, "%d%c", &linger.l_linger, &junk) != 1 in linger_option()
311 || linger.l_linger < 0) in linger_option()
314 linger.l_onoff = (linger.l_linger != 0); in linger_option()
315 if (setsockopt(request->fd, SOL_SOCKET, SO_LINGER, (char *) &linger, in linger_option()
316 sizeof(linger)) < 0) in linger_option()
317 tcpd_warn("setsockopt SO_LINGER %d: %m", linger.l_linger); in linger_option()
H A DCHANGES352 - (Extension language) "linger" keyword to set the socket linger time
/freebsd/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c65 struct linger linger; in main() local
247 linger.l_onoff = 1; in main()
248 linger.l_linger = 0; in main()
249 ret = setsockopt(so, SOL_SOCKET, SO_LINGER, &linger, sizeof(linger)); in main()
/freebsd/sys/contrib/openzfs/include/
H A Dthread_pool.h40 uint_t linger, pthread_attr_t *attr);
/freebsd/cddl/compat/opensolaris/include/
H A Dthread_pool.h48 uint_t linger, pthread_attr_t *attr);
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c117 struct linger l; in frob_socket()
/freebsd/contrib/libevent/test/
H A Dbench_httpclient.c117 struct linger l; in frob_socket()
/freebsd/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c322 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, in tpool_create() argument
367 tpool->tp_linger = linger; in tpool_create()
/freebsd/tests/sys/netinet/
H A Dtcp_connect_port_test.c169 const struct linger lopt = { 1, 0 }; in connect_loop()
H A Dso_reuseport_lb_test.c54 const struct linger lopt = { 1, 0 }; in lb_simple_accept_loop()
/freebsd/crypto/openssl/apps/
H A Ds_time.c459 struct linger no_linger; in doConnection()
/freebsd/sys/sys/
H A Dsocket.h198 struct linger { struct
/freebsd/contrib/ntp/sntp/libevent/
H A Devent-config.h.cmake331 /* Define to 1 if the system has the type `struct linger'. */
H A Dconfig.h.in272 /* Define to 1 if the system has the type `struct linger'. */
H A DChangeLog-1.4180 o removed linger from http server socket; reported by Ilya Martynov
H A Dconfigure.ac753 AC_CHECK_TYPES([struct linger],,,
/freebsd/contrib/libevent/
H A Devent-config.h.cmake331 /* Define to 1 if the system has the type `struct linger'. */
H A Dconfig.h.in269 /* Define to 1 if the system has the type `struct linger'. */
H A Dconfigure.ac753 AC_CHECK_TYPES([struct linger],,,
H A DChangeLog-1.4180 o removed linger from http server socket; reported by Ilya Martynov
/freebsd/contrib/ofed/librdmacm/
H A Drsocket.c3434 opt_on = !((struct linger *) optval)->l_onoff; in rsetsockopt()
3600 ((struct linger *) optval)->l_onoff = in rgetsockopt()
3602 ((struct linger *) optval)->l_linger = 0; in rgetsockopt()
3603 *optlen = sizeof(struct linger); in rgetsockopt()
/freebsd/crypto/openssh/
H A Dsshd.c1291 const struct linger l = { .l_onoff = 1,

12