patch-2.4.0-test3 linux/include/net/route.h

Next file: linux/include/net/slhc_vj.h
Previous file: linux/include/net/neighbour.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/include/net/route.h linux/include/net/route.h
@@ -118,6 +118,13 @@
 		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)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)