| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bio_sock2.c | 105 if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, in BIO_connect() 320 if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, in BIO_listen()
|
| /freebsd/cddl/lib/libdtrace/ |
| H A D | socket.d | 40 #pragma D binding "1.13" SO_KEEPALIVE 41 inline int SO_KEEPALIVE = 0x0008; /* keep connections alive */ variable
|
| /freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_cma.c | 206 if (sk->so_options & SO_KEEPALIVE) in sdp_response_handler() 239 if (sk->so_options & SO_KEEPALIVE) in sdp_connected_handler()
|
| H A D | sdp_main.c | 1563 (ssk->socket->so_options & SO_KEEPALIVE) == 0) in sdp_keepalive_timeout() 1615 if (sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_KEEPALIVE) { in sdp_ctloutput() 1617 if (so->so_options & SO_KEEPALIVE) in sdp_ctloutput()
|
| /freebsd/contrib/ofed/librdmacm/examples/ |
| H A D | rstream.c | 264 if (rs_setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &optval, optlen)) { in set_keepalive() 273 if (!(rs_getsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &optval, &optlen))) in set_keepalive()
|
| /freebsd/usr.sbin/nfscbd/ |
| H A D | nfscbd.c | 304 SO_KEEPALIVE, (char *)&on, sizeof(on)) < 0) in main()
|
| /freebsd/sys/kern/ |
| H A D | uipc_debug.c | 95 if (so_options & SO_KEEPALIVE) { in db_print_sooptions()
|
| H A D | uipc_socket.c | 1240 so->so_options = head->so_options & (SO_ACCEPTFILTER | SO_KEEPALIVE | 3900 case SO_KEEPALIVE: 4152 case SO_KEEPALIVE:
|
| /freebsd/contrib/tcp_wrappers/ |
| H A D | options.c | 329 if (dry_run == 0 && setsockopt(request->fd, SOL_SOCKET, SO_KEEPALIVE, in keepalive_option()
|
| /freebsd/sys/sys/ |
| H A D | socket.h | 131 #define SO_KEEPALIVE 0x00000008 /* keep connections alive */ macro
|
| /freebsd/contrib/pf/ftp-proxy/ |
| H A D | ftp-proxy.c | 494 setsockopt(s->client_fd, SOL_SOCKET, SO_KEEPALIVE, (void *)&on, in handle_connection() 496 setsockopt(s->server_fd, SOL_SOCKET, SO_KEEPALIVE, (void *)&on, in handle_connection()
|
| /freebsd/sys/netsmb/ |
| H A D | smb_trantcp.c | 162 nb_setsockopt_int(so, SOL_SOCKET, SO_KEEPALIVE, 1); in nb_connect_in()
|
| /freebsd/contrib/sendmail/libmilter/ |
| H A D | listener.c | 903 if (setsockopt(connfd, SOL_SOCKET, SO_KEEPALIVE,
|
| /freebsd/sys/netinet/ |
| H A D | tcp_timer.c | 415 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
|
| /freebsd/contrib/ntp/sntp/libevent/ |
| H A D | listener.c | 231 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, (void*)&on, sizeof(on))<0) in evconnlistener_new_bind()
|
| /freebsd/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | telnetd.c | 439 setsockopt(STDIN_FILENO, SOL_SOCKET, SO_KEEPALIVE, in main()
|
| /freebsd/contrib/libevent/ |
| H A D | listener.c | 231 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, (void*)&on, sizeof(on))<0) in evconnlistener_new_bind()
|
| /freebsd/crypto/heimdal/appl/rsh/ |
| H A D | rshd.c | 969 setsockopt(0, SOL_SOCKET, SO_KEEPALIVE, (char *)&on, in main()
|
| /freebsd/sys/rpc/ |
| H A D | svc_vc.c | 271 opt.sopt_name = SO_KEEPALIVE; in svc_vc_create_conn()
|
| H A D | clnt_vc.c | 199 sopt.sopt_name = SO_KEEPALIVE; in clnt_vc_create()
|
| /freebsd/crypto/openssh/ |
| H A D | sshd-session.c | 1175 setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) == -1) in main()
|
| H A D | sshconnect.c | 529 setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, (void *)&on, in ssh_connect_direct()
|
| /freebsd/usr.sbin/nfsd/ |
| H A D | nfsd.c | 888 SO_KEEPALIVE, (char *)&on, sizeof(on)) < 0) in main()
|
| /freebsd/crypto/krb5/src/kprop/ |
| H A D | kpropd.c | 511 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) < 0) { in doit()
|
| /freebsd/crypto/krb5/src/lib/apputils/ |
| H A D | net-server.c | 683 return setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof(one)); in setkeepalive()
|