[TIPC]: endianness annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro 2006-11-08 00:19:09 -08:00 • committed by David S. Miller
commit 3e6c8cd566
7 changed files with 38 additions and 52 deletions

View file

@ -58,7 +58,7 @@
*/
struct tipc_media_addr {
__u32 type; /* bearer type (network byte order) */
__be32 type; /* bearer type (network byte order) */
union {
__u8 eth_addr[6]; /* 48 bit Ethernet addr (byte array) */
#if 0

View file

@ -40,7 +40,7 @@
#ifdef __KERNEL__
struct tipc_msg {
u32 hdr[15];
__be32 hdr[15];
};