summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2005-11-09 10:35:44 -0800
committerJohn W. Linville <linville@tuxdriver.com>2005-11-13 14:48:20 -0500
commit12479f9a823dc7d791f198af2d3e4efae418a65e (patch)
tree276e753e6d9a4755678ff2a198f7695e96e85963 /drivers/net/bonding/bonding.h
parentb76850ab577bb4b929e60894d2025bbfcc043984 (diff)
downloadlinux-12479f9a823dc7d791f198af2d3e4efae418a65e.tar.bz2
[PATCH] bonding: expose some structs
The sysfs code needs to know what these structs look like, so make them not static, and move the definition to the header. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 1433e91db0f7..c8a873fe76c5 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -152,6 +152,11 @@ struct bond_params {
u32 arp_targets[BOND_MAX_ARP_TARGETS];
};
+struct bond_parm_tbl {
+ char *modename;
+ int mode;
+};
+
struct vlan_entry {
struct list_head vlan_list;
u32 vlan_ip;