diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-04-01 17:22:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 17:22:11 -0400 |
commit | a748ee2426817a95b1f03012d8f339c45c722ae1 (patch) | |
tree | 37cb9f8836f05bd49b86eb52ddeff3e98185cc58 /include/linux | |
parent | 9fc4178b149ae8b0a2fbf83f2f4df3cf8789177b (diff) |
net: move address list functions to a separate file
+little renaming of unicast functions to be smooth with multicast ones
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-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); |