aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index b5670ab5107c..60f0c83192fe 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1991,15 +1991,20 @@ extern int dev_addr_add_multiple(struct net_device *to_dev,
1991extern int dev_addr_del_multiple(struct net_device *to_dev, 1991extern int dev_addr_del_multiple(struct net_device *to_dev,
1992 struct net_device *from_dev, 1992 struct net_device *from_dev,
1993 unsigned char addr_type); 1993 unsigned char addr_type);
1994extern void dev_addr_flush(struct net_device *dev);
1995extern int dev_addr_init(struct net_device *dev);
1996
1997/* Functions used for unicast addresses handling */
1998extern int dev_uc_add(struct net_device *dev, unsigned char *addr);
1999extern int dev_uc_del(struct net_device *dev, unsigned char *addr);
2000extern int dev_uc_sync(struct net_device *to, struct net_device *from);
2001extern void dev_uc_unsync(struct net_device *to, struct net_device *from);
2002extern void dev_uc_flush(struct net_device *dev);
2003extern void dev_uc_init(struct net_device *dev);
1994 2004
1995/* Functions used for secondary unicast and multicast support */ 2005/* Functions used for secondary unicast and multicast support */
1996extern void dev_set_rx_mode(struct net_device *dev); 2006extern void dev_set_rx_mode(struct net_device *dev);
1997extern void __dev_set_rx_mode(struct net_device *dev); 2007extern void __dev_set_rx_mode(struct net_device *dev);
1998extern int dev_unicast_delete(struct net_device *dev, void *addr);
1999extern int dev_unicast_add(struct net_device *dev, void *addr);
2000extern int dev_unicast_sync(struct net_device *to, struct net_device *from);
2001extern void dev_unicast_unsync(struct net_device *to, struct net_device *from);
2002extern void dev_unicast_flush(struct net_device *dev);
2003extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all); 2008extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all);
2004extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly); 2009extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly);
2005extern int dev_mc_sync(struct net_device *to, struct net_device *from); 2010extern int dev_mc_sync(struct net_device *to, struct net_device *from);