diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2004-06-22 21:46:49 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-06-22 21:46:49 +0000 |
commit | 100ecbae2279745d724f9b6d3aa6c9a37eef1253 (patch) | |
tree | 1a62eb844cf48ce5ac715dd295d1442c9c66202d /sys/netipx | |
parent | bf670bc362e82576f93f82d58a5125ea4d6585c3 (diff) | |
download | src-100ecbae2279745d724f9b6d3aa6c9a37eef1253.tar.gz src-100ecbae2279745d724f9b6d3aa6c9a37eef1253.zip |
Improve source-code compatibility with Linux applications using the
IPX stack.
PR: kern/65217
Submitted by: Radim Kolar
Notes
Notes:
svn path=/head/; revision=130941
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/ipx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netipx/ipx.h b/sys/netipx/ipx.h index e633efb6fbb9..7f4ef164d3ac 100644 --- a/sys/netipx/ipx.h +++ b/sys/netipx/ipx.h @@ -108,6 +108,7 @@ union ipx_host { union ipx_net { u_char c_net[4]; u_short s_net[2]; + u_int u_net; }; union ipx_net_u { @@ -131,6 +132,8 @@ struct sockaddr_ipx { char sipx_zero[2]; }; #define sipx_port sipx_addr.x_port +#define sipx_network sipx_addr.x_net.u_net +#define sipx_node sipx_addr.x_host.c_host /* * Definitions for IPX Internetwork Packet Exchange Protocol |