X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=c115491ec7413d0266129d2a6c2298c64fb9fa6d;hb=d831c2497e9e8b2360cbe2026fdb2d736fa07641;hp=7bb10c2af43f33447ab70743440915487f14ce0f;hpb=3757b38542c2ce30ee7319a85662153de08e7f9a;p=lttng-tools.git diff --git a/src/common/defaults.h b/src/common/defaults.h index 7bb10c2af..c115491ec 100644 --- a/src/common/defaults.h +++ b/src/common/defaults.h @@ -198,6 +198,13 @@ */ #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. */