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

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

diff -u --recursive --new-file v2.1.29/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -69,6 +69,8 @@
 #define IFF_IP_MASK_OK	2
 #define IFF_IP_BRD_OK	4
 
+struct neighbour;
+
 /*
  *	We tag multicasts with these structures.
  */
@@ -264,7 +266,7 @@
 					      struct ifmap *map);
 #define HAVE_HEADER_CACHE
 	int			(*hard_header_cache)(struct dst_entry *dst,
-						     struct dst_entry *neigh,
+						     struct neighbour *neigh,
 						     struct hh_cache *hh);
 	void			(*header_cache_update)(struct hh_cache *hh,
 						       struct device *dev,

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