patch-2.2.18 linux/include/linux/netdevice.h

Next file: linux/include/linux/nfs.h
Previous file: linux/include/linux/msdos_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -39,6 +39,8 @@
 #endif
 #endif
 
+struct divert_blk;
+
 /*
  *	For future expansion when we will have different priorities. 
  */
@@ -317,6 +319,11 @@
 	/* Semi-private data. Keep it at the end of device struct. */
 	struct dst_entry	*fastpath[NETDEV_FASTROUTE_HMASK+1];
 #endif
+
+#ifdef CONFIG_NET_DIVERT
+	/* this will get initialized at each interface type init routine */
+	struct divert_blk	*divert;
+#endif /* CONFIG_NET_DIVERT */
 };
 
 

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