summaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-10 23:18:26 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-10 23:18:26 +0000
commitc7c4310f7fc1485925d800628bf50b3aeab535ef (patch)
treeb12aa4be0e8fb82aaaea97fb475e793e8a347c49 /include/net/route.h
parent1ffd1d069ca4c5ffe16fea6175dab1b9bbb15820 (diff)
Merge with Linux 2.4.0-test3-pre8. Linus has accepted most of what
I've sent him, so we're very close to full integration of the MIPS port into his sources.
Diffstat (limited to 'include/net/route.h')
-rw-r--r--include/net/route.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 180daad87..20536ca63 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -118,6 +118,13 @@ extern __inline__ void ip_rt_put(struct rtable * rt)
dst_release(&rt->u.dst);
}
+#ifdef CONFIG_INET_ECN
+#define IPTOS_RT_MASK (IPTOS_TOS_MASK & ~3)
+#else
+#define IPTOS_RT_MASK IPTOS_TOS_MASK
+#endif
+
+
extern __u8 ip_tos2prio[16];
extern __inline__ char rt_tos2priority(u8 tos)