diff options
Diffstat (limited to 'include/linux/tipc_config.h')
| -rw-r--r-- | include/linux/tipc_config.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/linux/tipc_config.h b/include/linux/tipc_config.h index 33a653913d94..b0c916d1f375 100644 --- a/include/linux/tipc_config.h +++ b/include/linux/tipc_config.h | |||
| @@ -194,34 +194,34 @@ | |||
| 194 | 194 | ||
| 195 | 195 | ||
| 196 | struct tipc_node_info { | 196 | struct tipc_node_info { |
| 197 | __u32 addr; /* network address of node */ | 197 | __be32 addr; /* network address of node */ |
| 198 | __u32 up; /* 0=down, 1= up */ | 198 | __be32 up; /* 0=down, 1= up */ |
| 199 | }; | 199 | }; |
| 200 | 200 | ||
| 201 | struct tipc_link_info { | 201 | struct tipc_link_info { |
| 202 | __u32 dest; /* network address of peer node */ | 202 | __be32 dest; /* network address of peer node */ |
| 203 | __u32 up; /* 0=down, 1=up */ | 203 | __be32 up; /* 0=down, 1=up */ |
| 204 | char str[TIPC_MAX_LINK_NAME]; /* link name */ | 204 | char str[TIPC_MAX_LINK_NAME]; /* link name */ |
| 205 | }; | 205 | }; |
| 206 | 206 | ||
| 207 | struct tipc_bearer_config { | 207 | struct tipc_bearer_config { |
| 208 | __u32 priority; /* Range [1,31]. Override per link */ | 208 | __be32 priority; /* Range [1,31]. Override per link */ |
| 209 | __u32 detect_scope; | 209 | __be32 detect_scope; |
| 210 | char name[TIPC_MAX_BEARER_NAME]; | 210 | char name[TIPC_MAX_BEARER_NAME]; |
| 211 | }; | 211 | }; |
| 212 | 212 | ||
| 213 | struct tipc_link_config { | 213 | struct tipc_link_config { |
| 214 | __u32 value; | 214 | __be32 value; |
| 215 | char name[TIPC_MAX_LINK_NAME]; | 215 | char name[TIPC_MAX_LINK_NAME]; |
| 216 | }; | 216 | }; |
| 217 | 217 | ||
| 218 | #define TIPC_NTQ_ALLTYPES 0x80000000 | 218 | #define TIPC_NTQ_ALLTYPES 0x80000000 |
| 219 | 219 | ||
| 220 | struct tipc_name_table_query { | 220 | struct tipc_name_table_query { |
| 221 | __u32 depth; /* 1:type, 2:+name info, 3:+port info, 4+:+debug info */ | 221 | __be32 depth; /* 1:type, 2:+name info, 3:+port info, 4+:+debug info */ |
| 222 | __u32 type; /* {t,l,u} info ignored if high bit of "depth" is set */ | 222 | __be32 type; /* {t,l,u} info ignored if high bit of "depth" is set */ |
| 223 | __u32 lowbound; /* (i.e. displays all entries of name table) */ | 223 | __be32 lowbound; /* (i.e. displays all entries of name table) */ |
| 224 | __u32 upbound; | 224 | __be32 upbound; |
| 225 | }; | 225 | }; |
| 226 | 226 | ||
| 227 | /* | 227 | /* |
| @@ -262,8 +262,8 @@ struct tipc_route_info { | |||
| 262 | */ | 262 | */ |
| 263 | 263 | ||
| 264 | struct tlv_desc { | 264 | struct tlv_desc { |
| 265 | __u16 tlv_len; /* TLV length (descriptor + value) */ | 265 | __be16 tlv_len; /* TLV length (descriptor + value) */ |
| 266 | __u16 tlv_type; /* TLV identifier */ | 266 | __be16 tlv_type; /* TLV identifier */ |
| 267 | }; | 267 | }; |
| 268 | 268 | ||
| 269 | #define TLV_ALIGNTO 4 | 269 | #define TLV_ALIGNTO 4 |
| @@ -377,9 +377,9 @@ struct tipc_genlmsghdr { | |||
| 377 | 377 | ||
| 378 | struct tipc_cfg_msg_hdr | 378 | struct tipc_cfg_msg_hdr |
| 379 | { | 379 | { |
| 380 | __u32 tcm_len; /* Message length (including header) */ | 380 | __be32 tcm_len; /* Message length (including header) */ |
| 381 | __u16 tcm_type; /* Command type */ | 381 | __be16 tcm_type; /* Command type */ |
| 382 | __u16 tcm_flags; /* Additional flags */ | 382 | __be16 tcm_flags; /* Additional flags */ |
| 383 | char tcm_reserved[8]; /* Unused */ | 383 | char tcm_reserved[8]; /* Unused */ |
| 384 | }; | 384 | }; |
| 385 | 385 | ||
