patch-2.1.22 linux/include/linux/route.h

Next file: linux/include/linux/skbuff.h
Previous file: linux/include/linux/rose.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.21/linux/include/linux/route.h linux/include/linux/route.h
@@ -125,7 +125,7 @@
 	unsigned char	rtmsg_class;
 	unsigned char	rtmsg_prefixlen;
 	unsigned char	rtmsg_reserved;
-	char		rtmsg_device[16];
+	int		rtmsg_ifindex;
 };
 
 
@@ -139,7 +139,8 @@
 	short		ifmsg_metric;
 	unsigned char	ifmsg_prefixlen;
 	unsigned char	ifmsg_reserved;
-	char		ifmsg_device[16];
+	int		ifmsg_index;
+	char		ifmsg_name[16];
 };
 
 enum rtrule_actions
@@ -160,11 +161,11 @@
 	struct in_addr	rtrmsg_src;
 	struct in_addr	rtrmsg_dst;
 	struct in_addr	rtrmsg_srcmap;
+	int		rtrmsg_ifindex;
 	unsigned char	rtrmsg_srclen;
 	unsigned char	rtrmsg_dstlen;
 	unsigned char	rtrmsg_tos;
 	unsigned char	rtrmsg_class;
-	char		rtrmsg_device[16];
 	unsigned char	rtrmsg_flags;
 	unsigned char	rtrmsg_action;
 	unsigned char	rtrmsg_preference;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov