diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2005-06-28 13:24:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-28 13:24:23 -0700 |
commit | 2f85a42964dd43fed3a339701db046bee5a8b903 (patch) | |
tree | c482ebfb01fb90ba48f20e8f6c871b00ea8e351a /include/net/sctp/constants.h | |
parent | 7a1af5d7bb94af16b980a53330436b9fadc12435 (diff) | |
download | kernel_samsung_espresso10-2f85a42964dd43fed3a339701db046bee5a8b903.zip kernel_samsung_espresso10-2f85a42964dd43fed3a339701db046bee5a8b903.tar.gz kernel_samsung_espresso10-2f85a42964dd43fed3a339701db046bee5a8b903.tar.bz2 |
[SCTP] Make init & delayed sack timeouts configurable by user.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/constants.h')
-rw-r--r-- | include/net/sctp/constants.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index 4868c7f..5999e56 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h @@ -263,23 +263,11 @@ enum { SCTP_MIN_PMTU = 576 }; enum { SCTP_MAX_DUP_TSNS = 16 }; enum { SCTP_MAX_GABS = 16 }; -/* Here we define the default timers. */ +/* Heartbeat interval - 30 secs */ +#define SCTP_DEFAULT_TIMEOUT_HEARTBEAT (30 * HZ) -/* cookie timer def = ? seconds */ -#define SCTP_DEFAULT_TIMEOUT_T1_COOKIE (3 * HZ) - -/* init timer def = 3 seconds */ -#define SCTP_DEFAULT_TIMEOUT_T1_INIT (3 * HZ) - -/* shutdown timer def = 300 ms */ -#define SCTP_DEFAULT_TIMEOUT_T2_SHUTDOWN ((300 * HZ) / 1000) - -/* 0 seconds + RTO */ -#define SCTP_DEFAULT_TIMEOUT_HEARTBEAT (10 * HZ) - -/* recv timer def = 200ms (in usec) */ +/* Delayed sack timer - 200ms */ #define SCTP_DEFAULT_TIMEOUT_SACK ((200 * HZ) / 1000) -#define SCTP_DEFAULT_TIMEOUT_SACK_MAX ((500 * HZ) / 1000) /* 500 ms */ /* RTO.Initial - 3 seconds * RTO.Min - 1 second |