Generate local kernel and UST indexes
[lttng-tools.git] / src / common / defaults.h
index 7bb10c2af43f33447ab70743440915487f14ce0f..d1e4adfcd9846c70f28eb08e08f4ac76197438bf 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.
  */
 #define DEFAULT_SNAPSHOT_NAME                          "snapshot"
 #define DEFAULT_SNAPSHOT_MAX_SIZE                      0 /* Unlimited. */
 
+/* Suffix of an index file. */
+#define DEFAULT_INDEX_FILE_SUFFIX                      ".idx"
+
 extern size_t default_channel_subbuf_size;
 extern size_t default_metadata_subbuf_size;
 extern size_t default_ust_pid_channel_subbuf_size;
This page took 0.023499 seconds and 4 git commands to generate.