diff options
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index f4a5ea116e34..07dcbe73b50c 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -74,9 +74,12 @@ extern void dccp_time_wait(struct sock *sk, int state, int timeo); | |||
74 | 74 | ||
75 | #define DCCP_RTO_MAX ((unsigned)(120 * HZ)) /* FIXME: using TCP value */ | 75 | #define DCCP_RTO_MAX ((unsigned)(120 * HZ)) /* FIXME: using TCP value */ |
76 | 76 | ||
77 | /* bounds for sampled RTT values from packet exchanges (in usec) */ | 77 | /* |
78 | * RTT sampling: sanity bounds and fallback RTT value from RFC 4340, section 3.4 | ||
79 | */ | ||
78 | #define DCCP_SANE_RTT_MIN 100 | 80 | #define DCCP_SANE_RTT_MIN 100 |
79 | #define DCCP_SANE_RTT_MAX (4 * USEC_PER_SEC) | 81 | #define DCCP_FALLBACK_RTT (USEC_PER_SEC / 5) |
82 | #define DCCP_SANE_RTT_MAX (3 * USEC_PER_SEC) | ||
80 | 83 | ||
81 | /* Maximal interval between probes for local resources. */ | 84 | /* Maximal interval between probes for local resources. */ |
82 | #define DCCP_RESOURCE_PROBE_INTERVAL ((unsigned)(HZ / 2U)) | 85 | #define DCCP_RESOURCE_PROBE_INTERVAL ((unsigned)(HZ / 2U)) |