o ipx headers: Coding Style code reformatting

parent 1dbc2a79
......@@ -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;
......@@ -18,7 +17,6 @@ struct sockaddr_ipx
/*
* 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,8 +54,7 @@ struct ipx_config_data {
* OLD Route Definition for backward compatibility.
*/
struct ipx_route_def
{
struct ipx_route_def {
__u32 ipx_network;
__u32 ipx_router_network;
#define IPX_ROUTE_NO_ROUTER 0
......@@ -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_ */
......@@ -97,8 +97,10 @@ struct ipx_opt {
unsigned char node[IPX_NODE_LEN];
#endif
unsigned short type;
/* To handle special ncp connection-handling sockets for mars_nwe,
* the connection number must be stored in the socket. */
/*
* To handle special ncp connection-handling sockets for mars_nwe,
* the connection number must be stored in the socket.
*/
unsigned short ipx_ncp_conn;
};
......@@ -121,4 +123,4 @@ extern void ipx_proc_exit(void);
extern const char *ipx_frame_name(unsigned short);
extern const char *ipx_device_name(struct ipx_interface *intrfc);
#endif /* def _NET_INET_IPX_H_ */
#endif /* _NET_INET_IPX_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment