diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 15 |
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, | |||
1991 | extern int dev_addr_del_multiple(struct net_device *to_dev, | 1991 | extern 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); |
1994 | extern void dev_addr_flush(struct net_device *dev); | ||
1995 | extern int dev_addr_init(struct net_device *dev); | ||
1996 | |||
1997 | /* Functions used for unicast addresses handling */ | ||
1998 | extern int dev_uc_add(struct net_device *dev, unsigned char *addr); | ||
1999 | extern int dev_uc_del(struct net_device *dev, unsigned char *addr); | ||
2000 | extern int dev_uc_sync(struct net_device *to, struct net_device *from); | ||
2001 | extern void dev_uc_unsync(struct net_device *to, struct net_device *from); | ||
2002 | extern void dev_uc_flush(struct net_device *dev); | ||
2003 | extern 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 */ |
1996 | extern void dev_set_rx_mode(struct net_device *dev); | 2006 | extern void dev_set_rx_mode(struct net_device *dev); |
1997 | extern void __dev_set_rx_mode(struct net_device *dev); | 2007 | extern void __dev_set_rx_mode(struct net_device *dev); |
1998 | extern int dev_unicast_delete(struct net_device *dev, void *addr); | ||
1999 | extern int dev_unicast_add(struct net_device *dev, void *addr); | ||
2000 | extern int dev_unicast_sync(struct net_device *to, struct net_device *from); | ||
2001 | extern void dev_unicast_unsync(struct net_device *to, struct net_device *from); | ||
2002 | extern void dev_unicast_flush(struct net_device *dev); | ||
2003 | extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all); | 2008 | extern int dev_mc_delete(struct net_device *dev, void *addr, int alen, int all); |
2004 | extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly); | 2009 | extern int dev_mc_add(struct net_device *dev, void *addr, int alen, int newonly); |
2005 | extern int dev_mc_sync(struct net_device *to, struct net_device *from); | 2010 | extern int dev_mc_sync(struct net_device *to, struct net_device *from); |