/freebsd/contrib/tcp_wrappers/ |
H A D | options.c | 307 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 D | CHANGES | 352 - (Extension language) "linger" keyword to set the socket linger time
|
/freebsd/tools/test/stress2/misc/ |
H A D | linger.sh | 37 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 D | linger3.sh | 111 int linger = 0; 114 linger = atoi(getenv("LINGER")); 122 if (linger != 0) 123 sleep(linger);
|
H A D | mmap47.sh | 87 cp[i] = 0xee; /* This value seems to linger with NFS */
|
H A D | mmap44.sh | 83 cp[i] = 0xee; /* This value seems to linger with NFS */
|
H A D | mmap45.sh | 75 cp[i] = 0xee; /* This value seems to linger with NFS */
|
H A D | mmap46.sh | 79 cp[i] = 0xee; /* This value seems to linger with NFS */
|
H A D | mmap48.sh | 90 cp[i] = 0xee; /* This value seems to linger with NFS */
|
/freebsd/tools/regression/sockets/accf_data_attach/ |
H A D | accf_data_attach.c | 65 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 D | thread_pool.h | 40 uint_t linger, pthread_attr_t *attr);
|
/freebsd/cddl/compat/opensolaris/include/ |
H A D | thread_pool.h | 48 uint_t linger, pthread_attr_t *attr);
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | bench_httpclient.c | 117 struct linger l; in frob_socket()
|
/freebsd/contrib/libevent/test/ |
H A D | bench_httpclient.c | 117 struct linger l; in frob_socket()
|
/freebsd/sys/contrib/openzfs/lib/libtpool/ |
H A D | thread_pool.c | 322 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 D | tcp_connect_port_test.c | 169 const struct linger lopt = { 1, 0 }; in connect_loop()
|
H A D | so_reuseport_lb_test.c | 58 const struct linger lopt = { 1, 0 }; in lb_simple_accept_loop()
|
/freebsd/crypto/openssl/apps/ |
H A D | s_time.c | 459 struct linger no_linger; in doConnection()
|
/freebsd/sys/sys/ |
H A D | socket.h | 199 struct linger { struct
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event-config.h.cmake | 331 /* Define to 1 if the system has the type `struct linger'. */
|
H A D | config.h.in | 272 /* Define to 1 if the system has the type `struct linger'. */
|
/freebsd/contrib/libevent/ |
H A D | event-config.h.cmake | 331 /* Define to 1 if the system has the type `struct linger'. */
|
H A D | config.h.in | 269 /* Define to 1 if the system has the type `struct linger'. */
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | rsocket.c | 3434 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 D | sshd.c | 1046 const struct linger l = { .l_onoff = 1, in server_accept_loop()
|