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

Next file: linux-2.4.21/include/linux/netfilter_ipv4/ip_conntrack.h
Previous file: linux-2.4.21/include/linux/mtd/pmc551.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/linux/netdevice.h linux-2.4.21/include/linux/netdevice.h
@@ -465,6 +465,10 @@
 extern void		dev_add_pack(struct packet_type *pt);
 extern void		dev_remove_pack(struct packet_type *pt);
 extern int		dev_get(const char *name);
+extern struct net_device	*dev_get_by_flags(unsigned short flags,
+					unsigned short mask);
+extern struct net_device	*__dev_get_by_flags(unsigned short flags,
+					unsigned short mask);
 extern struct net_device	*dev_get_by_name(const char *name);
 extern struct net_device	*__dev_get_by_name(const char *name);
 extern struct net_device	*dev_alloc(const char *name, int *err);

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