diff options
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index fb730ec0396f..ffb668dd6d3b 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -32,7 +32,7 @@ | |||
32 | #ifdef BONDING_DEBUG | 32 | #ifdef BONDING_DEBUG |
33 | #define dprintk(fmt, args...) \ | 33 | #define dprintk(fmt, args...) \ |
34 | printk(KERN_DEBUG \ | 34 | printk(KERN_DEBUG \ |
35 | DRV_NAME ": %s() %d: " fmt, __FUNCTION__, __LINE__ , ## args ) | 35 | DRV_NAME ": %s() %d: " fmt, __func__, __LINE__ , ## args ) |
36 | #else | 36 | #else |
37 | #define dprintk(fmt, args...) | 37 | #define dprintk(fmt, args...) |
38 | #endif /* BONDING_DEBUG */ | 38 | #endif /* BONDING_DEBUG */ |
@@ -333,5 +333,13 @@ void bond_change_active_slave(struct bonding *bond, struct slave *new_active); | |||
333 | void bond_register_arp(struct bonding *); | 333 | void bond_register_arp(struct bonding *); |
334 | void bond_unregister_arp(struct bonding *); | 334 | void bond_unregister_arp(struct bonding *); |
335 | 335 | ||
336 | /* exported from bond_main.c */ | ||
337 | extern struct list_head bond_dev_list; | ||
338 | extern struct bond_parm_tbl bond_lacp_tbl[]; | ||
339 | extern struct bond_parm_tbl bond_mode_tbl[]; | ||
340 | extern struct bond_parm_tbl xmit_hashtype_tbl[]; | ||
341 | extern struct bond_parm_tbl arp_validate_tbl[]; | ||
342 | extern struct bond_parm_tbl fail_over_mac_tbl[]; | ||
343 | |||
336 | #endif /* _LINUX_BONDING_H */ | 344 | #endif /* _LINUX_BONDING_H */ |
337 | 345 | ||