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

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

diff -u --recursive --new-file v1.3.98/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -71,7 +71,7 @@
 					 * any address resolution module,
 					 * not only ARP.
 					 */
-	unsigned int	hh_refcnt;	/* number of users */
+	int		hh_refcnt;	/* number of users */
 	unsigned short  hh_type;	/* protocol identifier, f.e ETH_P_IP */
 	char		hh_uptodate;	/* hh_data is valid */
 	char		hh_data[16];    /* cached hardware header */
@@ -218,7 +218,7 @@
 
 extern int		ip_addr_match(unsigned long addr1, unsigned long addr2);
 extern int		ip_chk_addr(unsigned long addr);
-extern struct device	*ip_dev_check(unsigned long daddr);
+extern struct device	*ip_dev_bynet(unsigned long daddr, unsigned long mask);
 extern unsigned long	ip_my_addr(void);
 extern unsigned long	ip_get_mask(unsigned long addr);
 extern struct device 	*ip_dev_find(unsigned long addr);
@@ -246,7 +246,7 @@
 extern int		dev_lockct;
 
 /*
- *	These two dont currently need to be interrupt safe
+ *	These two don't currently need to be interrupt-safe
  *	but they may do soon. Do it properly anyway.
  */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this