Improve source-code compatibility with Linux applications using the

IPX stack.

PR:		kern/65217
Submitted by:	Radim Kolar
This commit is contained in:
Bruce M Simpson 2004-06-22 21:46:49 +00:00
parent bf670bc362
commit 100ecbae22

View File

@ -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