From owner-freebsd-net Wed Jan 22 14:34:24 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A927437B401 for ; Wed, 22 Jan 2003 14:34:23 -0800 (PST) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B037043ED8 for ; Wed, 22 Jan 2003 14:34:21 -0800 (PST) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from [128.130.111.39] (acrux [128.130.111.39]) by vexpert.dbai.tuwien.ac.at (8.12.6/8.12.6) with ESMTP id h0MMYJB5028579 for ; Wed, 22 Jan 2003 23:34:20 +0100 (CET) Date: Wed, 22 Jan 2003 23:34:26 +0100 (CET) From: Gerald Pfeifer To: freebsd-net@freebsd.org Subject: PATCH: /usr/include/netipx/ipx.h and Linux compatibility Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 -- gerald@FreeBSD.org, 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 majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message