summaryrefslogtreecommitdiffstats
path: root/include/linux/ipx.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-03 00:27:06 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-11-05 14:11:24 -0800
commit4833ed094097323f5f219820f6ebdc8dd66f501f (patch)
tree6a7fc59c2756d94ce889092f40c352a3f1bd0e5b /include/linux/ipx.h
parent10b1fbdb0a0ca91847a534ad26d0bc250c25b74f (diff)
downloadtalos-obmc-linux-4833ed094097323f5f219820f6ebdc8dd66f501f.tar.gz
talos-obmc-linux-4833ed094097323f5f219820f6ebdc8dd66f501f.zip
[IPX]: Trivial parts of 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/linux/ipx.h')
-rw-r--r--include/linux/ipx.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/ipx.h b/include/linux/ipx.h
index 4f29c60964c4..eb19b4ea84f4 100644
--- a/include/linux/ipx.h
+++ b/include/linux/ipx.h
@@ -7,8 +7,8 @@
struct sockaddr_ipx {
sa_family_t sipx_family;
- __u16 sipx_port;
- __u32 sipx_network;
+ __be16 sipx_port;
+ __be32 sipx_network;
unsigned char sipx_node[IPX_NODE_LEN];
__u8 sipx_type;
unsigned char sipx_zero; /* 16 byte fill */
@@ -23,13 +23,13 @@ struct sockaddr_ipx {
#define IPX_CRTITF 1
struct ipx_route_definition {
- __u32 ipx_network;
- __u32 ipx_router_network;
+ __be32 ipx_network;
+ __be32 ipx_router_network;
unsigned char ipx_router_node[IPX_NODE_LEN];
};
struct ipx_interface_definition {
- __u32 ipx_network;
+ __be32 ipx_network;
unsigned char ipx_device[16];
unsigned char ipx_dlink_type;
#define IPX_FRAME_NONE 0
@@ -55,8 +55,8 @@ struct ipx_config_data {
*/
struct ipx_route_def {
- __u32 ipx_network;
- __u32 ipx_router_network;
+ __be32 ipx_network;
+ __be32 ipx_router_network;
#define IPX_ROUTE_NO_ROUTER 0
unsigned char ipx_router_node[IPX_NODE_LEN];
unsigned char ipx_device[16];
OpenPOWER on IntegriCloud