In /usr/include/netipx/ipx.h we already have #defined sipx_port,
presumably for compatibility with Linux.

Could we please also add two other #defines as per the patch below?

(This would have reduced my head-ache maintaining ports/emulators/wine
resp. feeding patches upstream quite a bit.)

Gerald -- [EMAIL PROTECTED], but I'd need a src committer for this

Index: ipx.h
===================================================================
RCS file: /sw/FreeBSD/CVSUP/src/sys/netipx/ipx.h,v
retrieving revision 1.17
diff -u -3 -p -r1.17 ipx.h
--- ipx.h       20 Mar 2002 02:39:13 -0000      1.17
+++ ipx.h       22 Jan 2003 12:14:05 -0000
@@ -130,7 +130,9 @@ struct sockaddr_ipx {
        struct ipx_addr sipx_addr;
        char            sipx_zero[2];
 };
-#define sipx_port sipx_addr.x_port
+#define sipx_port      sipx_addr.x_port
+#define sipx_network   sipx_addr.x_net
+#define sipx_node      sipx_addr.x_host.c_host

 /*
  * Definitions for IPX Internetwork Packet Exchange Protocol

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to