]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/comm/Tcp.h
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID__SRC_COMM_TCP_H
10 #define SQUID__SRC_COMM_TCP_H
15 /// Configuration settings for the TCP keep-alive feature
19 unsigned int idle
= 0;
20 unsigned int interval
= 0;
21 unsigned int timeout
= 0;
25 /// apply configured TCP keep-alive settings to the given FD socket
26 void ApplyTcpKeepAlive(int fd
, const TcpKeepAlive
&);
30 #endif /* SQUID__SRC_COMM_TCP_H */