aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2005-11-09 13:35:51 -0500
committerJohn W. Linville <linville@tuxdriver.com>2005-11-13 14:48:20 -0500
commita77b53258d76513c37e766dc0db1fc9db7c4ac1e (patch)
treeac3be1ed375bc7452bbf1ba4d4f962fe743e6307 /drivers/net/bonding/bonding.h
parent12479f9a823dc7d791f198af2d3e4efae418a65e (diff)
[PATCH] bonding: make functions not static
The sysfs code needs access these functions, so make them not static, and move the protos to the header file. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Acked-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index c8a873fe76c5..96a733f2337a 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -260,6 +260,18 @@ extern inline void bond_set_slave_active_flags(struct slave *slave)
260 260
261struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); 261struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr);
262int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); 262int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
263void bond_deinit(struct net_device *bond_dev);
264int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev);
265int bond_release(struct net_device *bond_dev, struct net_device *slave_dev);
266int bond_sethwaddr(struct net_device *bond_dev, struct net_device *slave_dev);
267void bond_mii_monitor(struct net_device *bond_dev);
268void bond_loadbalance_arp_mon(struct net_device *bond_dev);
269void bond_activebackup_arp_mon(struct net_device *bond_dev);
270void bond_set_mode_ops(struct bonding *bond, int mode);
271int bond_parse_parm(char *mode_arg, struct bond_parm_tbl *tbl);
272const char *bond_mode_name(int mode);
273void bond_select_active_slave(struct bonding *bond);
274void bond_change_active_slave(struct bonding *bond, struct slave *new_active);
263 275
264#endif /* _LINUX_BONDING_H */ 276#endif /* _LINUX_BONDING_H */
265 277