Home
last modified time | relevance | path

Searched refs:SO_KEEPALIVE (Results 1 – 12 of 12) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Danet.c108 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val)) == -1) in anetKeepAlive()
184 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &yes, sizeof(yes)) == -1) { in anetTcpKeepAlive()
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_connect.c91 if (setsockopt(s, SOL_SOCKET, SO_KEEPALIVE,
/f-stack/tools/compat/include/sys/
H A Dsocket.h126 #define SO_KEEPALIVE 0x00000008 /* keep connections alive */ macro
/f-stack/freebsd/kern/
H A Duipc_debug.c97 if (so_options & SO_KEEPALIVE) { in db_print_sooptions()
H A Duipc_socket.c3035 case SO_KEEPALIVE:
3257 case SO_KEEPALIVE:
/f-stack/freebsd/sys/
H A Dsocket.h132 #define SO_KEEPALIVE 0x00000008 /* keep connections alive */ macro
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dnet.c131 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val)) == -1){ in redisKeepAlive()
/f-stack/freebsd/netinet/
H A Dtcp_timer.c457 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
/f-stack/lib/
H A Dff_syscall_wrapper.c356 return SO_KEEPALIVE; in so_opt_convert()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_connection.c816 if (setsockopt(ls[i].fd, SOL_SOCKET, SO_KEEPALIVE, in ngx_configure_listening_sockets()
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack.c4847 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in rack_start_hpts_timer()
5454 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in rack_timeout_keepalive()
10698 rack->rc_inp->inp_socket->so_options & SO_KEEPALIVE) && in rack_timer_audit()
11139 ((V_tcp_always_keepalive || rack->rc_inp->inp_socket->so_options & SO_KEEPALIVE) && in rack_do_segment_nounlock()
H A Dbbr.c837 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_start_hpts_timer()
1001 inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_timer_audit()
4846 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_timeout_keepalive()
11680 ((V_tcp_always_keepalive || bbr->rc_inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_do_segment_nounlock()