diff options
author | bms <bms@FreeBSD.org> | 2004-06-22 21:46:49 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-06-22 21:46:49 +0000 |
commit | e80fd5cfb6adc73e22533743cdf7c82715e13e36 (patch) | |
tree | 1a62eb844cf48ce5ac715dd295d1442c9c66202d /sys/netipx/ipx.h | |
parent | f90e62b30dfa145eed4392dbb06905ad53ac2140 (diff) | |
download | FreeBSD-src-e80fd5cfb6adc73e22533743cdf7c82715e13e36.zip FreeBSD-src-e80fd5cfb6adc73e22533743cdf7c82715e13e36.tar.gz |
Improve source-code compatibility with Linux applications using the
IPX stack.
PR: kern/65217
Submitted by: Radim Kolar
Diffstat (limited to 'sys/netipx/ipx.h')
-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 e633efb..7f4ef16 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 |