Add support for configuring route entry features
Subsystems (2)
PATCH 1/1 Add support for configuring route entry features
This is needed to test my previous per route entry TCP options patch.
Feature display is still numeric, so this is not the final version yet.
To use: add "features nows nots nosack nodsack to a route entry.
Based loosley on original patch by Ilpo Järvinen.
Signed-off-by Gilad Ben-Yossef <[email protected]>
CC Ilpo Järvinen <[email protected]>
--- include/linux/rtnetlink.h | 10 ++++++---- ip/iproute.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 5 deletions(-)
include/linux/rtnetlink.h +6 -4
@@ -376,10 +376,12 @@ enum#define RTAX_MAX (__RTAX_MAX - 1) -#define RTAX_FEATURE_ECN 0x00000001 -#define RTAX_FEATURE_SACK 0x00000002 -#define RTAX_FEATURE_TIMESTAMP 0x00000004 -#define RTAX_FEATURE_ALLFRAG 0x00000008 +#define RTAX_FEATURE_ECN 0x00000001 +#define RTAX_FEATURE_NO_SACK 0x00000002 +#define RTAX_FEATURE_NO_TSTAMP 0x00000004 +#define RTAX_FEATURE_ALLFRAG 0x00000008 +#define RTAX_FEATURE_NO_WSCALE 0x00000010 +#define RTAX_FEATURE_NO_DSACK 0x00000020struct rta_session {
ip/iproute.c +44 -1
69 lines not on this page · raw message
Signature · 1 line
1.5.6.3