diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-08 00:19:09 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:21:08 -0800 |
commit | 3e6c8cd5669c1202fe806ce3e13d701f20a71c7e (patch) | |
tree | d7412c66923db0093472215cfe352e66d7214ac1 /include/net/tipc | |
parent | d54a81d341af80875c201890500f727c8188dd9b (diff) | |
download | linux-3e6c8cd5669c1202fe806ce3e13d701f20a71c7e.tar.bz2 |
[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 @@ */ 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 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 @@ #ifdef __KERNEL__ struct tipc_msg { - u32 hdr[15]; + __be32 hdr[15]; }; |