aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_3ad.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/bond_3ad.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/bond_3ad.h')
-rw-r--r--drivers/net/bonding/bond_3ad.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/bonding/bond_3ad.h b/drivers/net/bonding/bond_3ad.h
index 6ad5ad6e65d5..862952fa6fd9 100644
--- a/drivers/net/bonding/bond_3ad.h
+++ b/drivers/net/bonding/bond_3ad.h
@@ -108,7 +108,7 @@ typedef enum {
108typedef struct ad_header { 108typedef struct ad_header {
109 struct mac_addr destination_address; 109 struct mac_addr destination_address;
110 struct mac_addr source_address; 110 struct mac_addr source_address;
111 u16 length_type; 111 __be16 length_type;
112} ad_header_t; 112} ad_header_t;
113 113
114// Link Aggregation Control Protocol(LACP) data unit structure(43.4.2.2 in the 802.3ad standard) 114// Link Aggregation Control Protocol(LACP) data unit structure(43.4.2.2 in the 802.3ad standard)
@@ -117,25 +117,25 @@ typedef struct lacpdu {
117 u8 version_number; 117 u8 version_number;
118 u8 tlv_type_actor_info; // = actor information(type/length/value) 118 u8 tlv_type_actor_info; // = actor information(type/length/value)
119 u8 actor_information_length; // = 20 119 u8 actor_information_length; // = 20
120 u16 actor_system_priority; 120 __be16 actor_system_priority;
121 struct mac_addr actor_system; 121 struct mac_addr actor_system;
122 u16 actor_key; 122 __be16 actor_key;
123 u16 actor_port_priority; 123 __be16 actor_port_priority;
124 u16 actor_port; 124 __be16 actor_port;
125 u8 actor_state; 125 u8 actor_state;
126 u8 reserved_3_1[3]; // = 0 126 u8 reserved_3_1[3]; // = 0
127 u8 tlv_type_partner_info; // = partner information 127 u8 tlv_type_partner_info; // = partner information
128 u8 partner_information_length; // = 20 128 u8 partner_information_length; // = 20
129 u16 partner_system_priority; 129 __be16 partner_system_priority;
130 struct mac_addr partner_system; 130 struct mac_addr partner_system;
131 u16 partner_key; 131 __be16 partner_key;
132 u16 partner_port_priority; 132 __be16 partner_port_priority;
133 u16 partner_port; 133 __be16 partner_port;
134 u8 partner_state; 134 u8 partner_state;
135 u8 reserved_3_2[3]; // = 0 135 u8 reserved_3_2[3]; // = 0
136 u8 tlv_type_collector_info; // = collector information 136 u8 tlv_type_collector_info; // = collector information
137 u8 collector_information_length; // = 16 137 u8 collector_information_length; // = 16
138 u16 collector_max_delay; 138 __be16 collector_max_delay;
139 u8 reserved_12[12]; 139 u8 reserved_12[12];
140 u8 tlv_type_terminator; // = terminator 140 u8 tlv_type_terminator; // = terminator
141 u8 terminator_length; // = 0 141 u8 terminator_length; // = 0