diff options
Diffstat (limited to 'include/linux/ipx.h')
| -rw-r--r-- | include/linux/ipx.h | 14 |
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 @@ | |||
| 7 | 7 | ||
| 8 | struct sockaddr_ipx { | 8 | struct sockaddr_ipx { |
| 9 | sa_family_t sipx_family; | 9 | sa_family_t sipx_family; |
| 10 | __u16 sipx_port; | 10 | __be16 sipx_port; |
| 11 | __u32 sipx_network; | 11 | __be32 sipx_network; |
| 12 | unsigned char sipx_node[IPX_NODE_LEN]; | 12 | unsigned char sipx_node[IPX_NODE_LEN]; |
| 13 | __u8 sipx_type; | 13 | __u8 sipx_type; |
| 14 | unsigned char sipx_zero; /* 16 byte fill */ | 14 | unsigned char sipx_zero; /* 16 byte fill */ |
| @@ -23,13 +23,13 @@ struct sockaddr_ipx { | |||
| 23 | #define IPX_CRTITF 1 | 23 | #define IPX_CRTITF 1 |
| 24 | 24 | ||
| 25 | struct ipx_route_definition { | 25 | struct ipx_route_definition { |
| 26 | __u32 ipx_network; | 26 | __be32 ipx_network; |
| 27 | __u32 ipx_router_network; | 27 | __be32 ipx_router_network; |
| 28 | unsigned char ipx_router_node[IPX_NODE_LEN]; | 28 | unsigned char ipx_router_node[IPX_NODE_LEN]; |
| 29 | }; | 29 | }; |
| 30 | 30 | ||
| 31 | struct ipx_interface_definition { | 31 | struct ipx_interface_definition { |
| 32 | __u32 ipx_network; | 32 | __be32 ipx_network; |
| 33 | unsigned char ipx_device[16]; | 33 | unsigned char ipx_device[16]; |
| 34 | unsigned char ipx_dlink_type; | 34 | unsigned char ipx_dlink_type; |
| 35 | #define IPX_FRAME_NONE 0 | 35 | #define IPX_FRAME_NONE 0 |
| @@ -55,8 +55,8 @@ struct ipx_config_data { | |||
| 55 | */ | 55 | */ |
| 56 | 56 | ||
| 57 | struct ipx_route_def { | 57 | struct ipx_route_def { |
| 58 | __u32 ipx_network; | 58 | __be32 ipx_network; |
| 59 | __u32 ipx_router_network; | 59 | __be32 ipx_router_network; |
| 60 | #define IPX_ROUTE_NO_ROUTER 0 | 60 | #define IPX_ROUTE_NO_ROUTER 0 |
| 61 | unsigned char ipx_router_node[IPX_NODE_LEN]; | 61 | unsigned char ipx_router_node[IPX_NODE_LEN]; |
| 62 | unsigned char ipx_device[16]; | 62 | unsigned char ipx_device[16]; |
