diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-03 18:42:33 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-03 18:42:33 -0300 |
| commit | 4c45b3bf981cbac8639cd444e9ee130db71f2871 (patch) | |
| tree | 00bec8420c541027b55718a21ccb605edca353b6 /include/linux | |
| parent | 1dbc2a79d698817b340fe6686d0e3204a33c41e2 (diff) | |
o ipx headers: Coding Style code reformatting
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipx.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/include/linux/ipx.h b/include/linux/ipx.h index a6fa09060107..4f29c60964c4 100644 --- a/include/linux/ipx.h +++ b/include/linux/ipx.h @@ -5,8 +5,7 @@ #define IPX_NODE_LEN 6 #define IPX_MTU 576 -struct sockaddr_ipx -{ +struct sockaddr_ipx { sa_family_t sipx_family; __u16 sipx_port; __u32 sipx_network; @@ -16,9 +15,8 @@ struct sockaddr_ipx }; /* - * So we can fit the extra info for SIOCSIFADDR into the address nicely + * So we can fit the extra info for SIOCSIFADDR into the address nicely */ - #define sipx_special sipx_port #define sipx_action sipx_zero #define IPX_DLTITF 0 @@ -56,14 +54,13 @@ struct ipx_config_data { * OLD Route Definition for backward compatibility. */ -struct ipx_route_def -{ - __u32 ipx_network; - __u32 ipx_router_network; +struct ipx_route_def { + __u32 ipx_network; + __u32 ipx_router_network; #define IPX_ROUTE_NO_ROUTER 0 - unsigned char ipx_router_node[IPX_NODE_LEN]; - unsigned char ipx_device[16]; - unsigned short ipx_flags; + unsigned char ipx_router_node[IPX_NODE_LEN]; + unsigned char ipx_device[16]; + unsigned short ipx_flags; #define IPX_RT_SNAP 8 #define IPX_RT_8022 4 #define IPX_RT_BLUEBOOK 2 @@ -71,7 +68,7 @@ struct ipx_route_def }; #define SIOCAIPXITFCRT (SIOCPROTOPRIVATE) -#define SIOCAIPXPRISLT (SIOCPROTOPRIVATE+1) -#define SIOCIPXCFGDATA (SIOCPROTOPRIVATE+2) -#define SIOCIPXNCPCONN (SIOCPROTOPRIVATE+3) -#endif /* def _IPX_H_ */ +#define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1) +#define SIOCIPXCFGDATA (SIOCPROTOPRIVATE + 2) +#define SIOCIPXNCPCONN (SIOCPROTOPRIVATE + 3) +#endif /* _IPX_H_ */ |
