diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-08 03:19:09 -0500 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:21:08 -0500 |
| commit | 3e6c8cd5669c1202fe806ce3e13d701f20a71c7e (patch) | |
| tree | d7412c66923db0093472215cfe352e66d7214ac1 /include/net/tipc | |
| parent | d54a81d341af80875c201890500f727c8188dd9b (diff) | |
[TIPC]: endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tipc')
| -rw-r--r-- | include/net/tipc/tipc_bearer.h | 2 | ||||
| -rw-r--r-- | include/net/tipc/tipc_msg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tipc/tipc_bearer.h b/include/net/tipc/tipc_bearer.h index e07136d74c2f..2151a80cdf30 100644 --- a/include/net/tipc/tipc_bearer.h +++ b/include/net/tipc/tipc_bearer.h | |||
| @@ -58,7 +58,7 @@ | |||
| 58 | */ | 58 | */ |
| 59 | 59 | ||
| 60 | struct tipc_media_addr { | 60 | struct tipc_media_addr { |
| 61 | __u32 type; /* bearer type (network byte order) */ | 61 | __be32 type; /* bearer type (network byte order) */ |
| 62 | union { | 62 | union { |
| 63 | __u8 eth_addr[6]; /* 48 bit Ethernet addr (byte array) */ | 63 | __u8 eth_addr[6]; /* 48 bit Ethernet addr (byte array) */ |
| 64 | #if 0 | 64 | #if 0 |
diff --git a/include/net/tipc/tipc_msg.h b/include/net/tipc/tipc_msg.h index 4d096eebc93f..fb42eb7a86a5 100644 --- a/include/net/tipc/tipc_msg.h +++ b/include/net/tipc/tipc_msg.h | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | #ifdef __KERNEL__ | 40 | #ifdef __KERNEL__ |
| 41 | 41 | ||
| 42 | struct tipc_msg { | 42 | struct tipc_msg { |
| 43 | u32 hdr[15]; | 43 | __be32 hdr[15]; |
| 44 | }; | 44 | }; |
| 45 | 45 | ||
| 46 | 46 | ||
