Get the maximum TCP timeout in sessiond
[lttng-tools.git] / src / common / defaults.h
index 7bb10c2af43f33447ab70743440915487f14ce0f..c115491ec7413d0266129d2a6c2298c64fb9fa6d 100644 (file)
  */
 #define DEFAULT_METADATA_AVAILABILITY_WAIT_TIME 200000  /* usec */
 
+/*
+ * The usual value for the maximum TCP SYN retries time and TCP FIN timeout is
+ * 180 and 60 seconds on most Linux system and the default value since kernel
+ * 2.2 thus using the highest value. See tcp(7) for more details.
+ */
+#define DEFAULT_INET_TCP_TIMEOUT                       180     /* sec */
+
 /*
  * Default receiving and sending timeout for an application socket.
  */
This page took 0.024804 seconds and 5 git commands to generate.