aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-22 20:06:58 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:56 -0400
commitd3bb52b0948cf118131c951c5a34a2d4d0246171 (patch)
treee06f2029134bd0f6fae3cc99107191b55ef30ea4 /drivers/net/bonding/bonding.h
parentdd96df2cc2539ecd451614a2ffed4d8a4c541d92 (diff)
endianness annotations drivers/net/bonding/
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 6dcbd25e3ef0..2a6af7d23728 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -132,7 +132,7 @@ struct bond_params {
132 int downdelay; 132 int downdelay;
133 int lacp_fast; 133 int lacp_fast;
134 char primary[IFNAMSIZ]; 134 char primary[IFNAMSIZ];
135 u32 arp_targets[BOND_MAX_ARP_TARGETS]; 135 __be32 arp_targets[BOND_MAX_ARP_TARGETS];
136}; 136};
137 137
138struct bond_parm_tbl { 138struct bond_parm_tbl {
@@ -142,7 +142,7 @@ struct bond_parm_tbl {
142 142
143struct vlan_entry { 143struct vlan_entry {
144 struct list_head vlan_list; 144 struct list_head vlan_list;
145 u32 vlan_ip; 145 __be32 vlan_ip;
146 unsigned short vlan_id; 146 unsigned short vlan_id;
147}; 147};
148 148
@@ -193,7 +193,7 @@ struct bonding {
193 struct list_head bond_list; 193 struct list_head bond_list;
194 struct dev_mc_list *mc_list; 194 struct dev_mc_list *mc_list;
195 int (*xmit_hash_policy)(struct sk_buff *, struct net_device *, int); 195 int (*xmit_hash_policy)(struct sk_buff *, struct net_device *, int);
196 u32 master_ip; 196 __be32 master_ip;
197 u16 flags; 197 u16 flags;
198 struct ad_bond_info ad_info; 198 struct ad_bond_info ad_info;
199 struct alb_bond_info alb_info; 199 struct alb_bond_info alb_info;