Searched refs:set_tcp_keepalive (Results 1 – 9 of 9) sorted by relevance
24 bool set_tcp_keepalive(borrowed_fd fd, int interval_sec) { in set_tcp_keepalive() function
239 set_tcp_keepalive(fd->get(), keepalive_interval); in socket_spec_connect()
789 bool set_tcp_keepalive(borrowed_fd fd, int interval_sec);
1418 bool set_tcp_keepalive(borrowed_fd fd, int interval_sec) { in set_tcp_keepalive() function
216 if let Err(e) = sock_ref.set_tcp_keepalive(tcp_keepalive) { in poll_next_()
1984 pub fn set_tcp_keepalive(&self, params: &TcpKeepalive) -> io::Result<()> { in set_tcp_keepalive() method1986 sys::set_tcp_keepalive(self.as_raw(), params) in set_tcp_keepalive()
616 if let Err(e) = socket.set_tcp_keepalive(&conf) { in connect()
724 pub(crate) fn set_tcp_keepalive(socket: Socket, keepalive: &TcpKeepalive) -> io::Result<()> { in set_tcp_keepalive() function
1165 pub(crate) fn set_tcp_keepalive(fd: Socket, keepalive: &TcpKeepalive) -> io::Result<()> { in set_tcp_keepalive() function