Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4c45b3bf
Commit
4c45b3bf
authored
May 03, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o ipx headers: Coding Style code reformatting
parent
1dbc2a79
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
43 deletions
+42
-43
include/linux/ipx.h
include/linux/ipx.h
+12
-15
include/net/ipx.h
include/net/ipx.h
+30
-28
No files found.
include/linux/ipx.h
View file @
4c45b3bf
...
...
@@ -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_ */
include/net/ipx.h
View file @
4c45b3bf
...
...
@@ -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_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment