diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2003-06-25 10:26:40 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-06-25 10:26:40 -0700 |
| commit | 5da50850e87876668823abab06270579f3dd8f2c (patch) | |
| tree | 84d30238056864d13d19bf12c1348ef924d6341f /include/linux/rtnetlink.h | |
| parent | 012af0b9fa72664a9043dbd94778a11dd55ab06a (diff) | |
[TCP]: Sanitize initcwnd calculation, add new metrics.
1) Remove srtt etc. tests in tcp_init_cwnd, was buggy
anyways.
2) Add RTAX_INITCWMD route metric, use this in tcp_init_cwnd()
if non-zero.
3) Add RTAX_FEATURES (to enable/disable ECN/SACK/TIMESTAMPS
on a per-route basis), currently unused.
Diffstat (limited to 'include/linux/rtnetlink.h')
| -rw-r--r-- | include/linux/rtnetlink.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 19b88f2c7c43..788132027e48 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -284,9 +284,17 @@ enum #define RTAX_REORDERING RTAX_REORDERING RTAX_HOPLIMIT, #define RTAX_HOPLIMIT RTAX_HOPLIMIT + RTAX_INITCWND, +#define RTAX_INITCWND RTAX_INITCWND + RTAX_FEATURES, +#define RTAX_FEATURES RTAX_FEATURES }; -#define RTAX_MAX RTAX_HOPLIMIT +#define RTAX_MAX RTAX_FEATURES + +#define RTAX_FEATURE_ECN 0x00000001 +#define RTAX_FEATURE_SACK 0x00000002 +#define RTAX_FEATURE_TIMESTAMP 0x00000004 struct rta_session { |
