diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2005-11-09 13:35:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-13 14:48:20 -0500 |
commit | a77b53258d76513c37e766dc0db1fc9db7c4ac1e (patch) | |
tree | ac3be1ed375bc7452bbf1ba4d4f962fe743e6307 /drivers/net/bonding/bonding.h | |
parent | 12479f9a823dc7d791f198af2d3e4efae418a65e (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.h | 12 |
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 | ||
261 | struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); | 261 | struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); |
262 | int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); | 262 | int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); |
263 | void bond_deinit(struct net_device *bond_dev); | ||
264 | int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev); | ||
265 | int bond_release(struct net_device *bond_dev, struct net_device *slave_dev); | ||
266 | int bond_sethwaddr(struct net_device *bond_dev, struct net_device *slave_dev); | ||
267 | void bond_mii_monitor(struct net_device *bond_dev); | ||
268 | void bond_loadbalance_arp_mon(struct net_device *bond_dev); | ||
269 | void bond_activebackup_arp_mon(struct net_device *bond_dev); | ||
270 | void bond_set_mode_ops(struct bonding *bond, int mode); | ||
271 | int bond_parse_parm(char *mode_arg, struct bond_parm_tbl *tbl); | ||
272 | const char *bond_mode_name(int mode); | ||
273 | void bond_select_active_slave(struct bonding *bond); | ||
274 | void 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 | ||