diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-02 08:39:09 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-02 08:39:09 -0400 |
commit | d2f6409584e2c62ffad81690562330ff3bf4a458 (patch) | |
tree | 3bdfb97d0b51be2f7f414f2107e97603c1206abb /include/net/sctp/constants.h | |
parent | e1b09eba2686eca94a3a188042b518df6044a3c1 (diff) | |
parent | 4a89a04f1ee21a7c1f4413f1ad7dcfac50ff9b63 (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/net/sctp/constants.h')
-rw-r--r-- | include/net/sctp/constants.h | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index 2b76c0f4babc..5999e5684bbf 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h | |||
@@ -263,30 +263,11 @@ enum { SCTP_MIN_PMTU = 576 }; | |||
263 | enum { SCTP_MAX_DUP_TSNS = 16 }; | 263 | enum { SCTP_MAX_DUP_TSNS = 16 }; |
264 | enum { SCTP_MAX_GABS = 16 }; | 264 | enum { SCTP_MAX_GABS = 16 }; |
265 | 265 | ||
266 | typedef enum { | 266 | /* Heartbeat interval - 30 secs */ |
267 | SCTP_COUNTER_INIT_ERROR, | 267 | #define SCTP_DEFAULT_TIMEOUT_HEARTBEAT (30 * HZ) |
268 | } sctp_counter_t; | ||
269 | |||
270 | /* How many counters does an association need? */ | ||
271 | #define SCTP_NUMBER_COUNTERS 5 | ||
272 | |||
273 | /* Here we define the default timers. */ | ||
274 | |||
275 | /* cookie timer def = ? seconds */ | ||
276 | #define SCTP_DEFAULT_TIMEOUT_T1_COOKIE (3 * HZ) | ||
277 | |||
278 | /* init timer def = 3 seconds */ | ||
279 | #define SCTP_DEFAULT_TIMEOUT_T1_INIT (3 * HZ) | ||
280 | |||
281 | /* shutdown timer def = 300 ms */ | ||
282 | #define SCTP_DEFAULT_TIMEOUT_T2_SHUTDOWN ((300 * HZ) / 1000) | ||
283 | |||
284 | /* 0 seconds + RTO */ | ||
285 | #define SCTP_DEFAULT_TIMEOUT_HEARTBEAT (10 * HZ) | ||
286 | 268 | ||
287 | /* recv timer def = 200ms (in usec) */ | 269 | /* Delayed sack timer - 200ms */ |
288 | #define SCTP_DEFAULT_TIMEOUT_SACK ((200 * HZ) / 1000) | 270 | #define SCTP_DEFAULT_TIMEOUT_SACK ((200 * HZ) / 1000) |
289 | #define SCTP_DEFAULT_TIMEOUT_SACK_MAX ((500 * HZ) / 1000) /* 500 ms */ | ||
290 | 271 | ||
291 | /* RTO.Initial - 3 seconds | 272 | /* RTO.Initial - 3 seconds |
292 | * RTO.Min - 1 second | 273 | * RTO.Min - 1 second |