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:44 -0500
committerJohn W. Linville <linville@tuxdriver.com>2005-11-13 14:48:20 -0500
commit12479f9a823dc7d791f198af2d3e4efae418a65e (patch)
tree276e753e6d9a4755678ff2a198f7695e96e85963 /drivers/net/bonding/bonding.h
parentb76850ab577bb4b929e60894d2025bbfcc043984 (diff)
[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 {
152 u32 arp_targets[BOND_MAX_ARP_TARGETS]; 152 u32 arp_targets[BOND_MAX_ARP_TARGETS];
153}; 153};
154 154
155struct bond_parm_tbl {
156 char *modename;
157 int mode;
158};
159
155struct vlan_entry { 160struct vlan_entry {
156 struct list_head vlan_list; 161 struct list_head vlan_list;
157 u32 vlan_ip; 162 u32 vlan_ip;