From owner-freebsd-net@FreeBSD.ORG Sun Jan 2 13:11:04 2005 Return-Path: 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 6D61216A4CE for ; Sun, 2 Jan 2005 13:11:04 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 174A943D1D for ; Sun, 2 Jan 2005 13:11:04 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id j02D7SQM029114; Sun, 2 Jan 2005 08:07:28 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)j02D7OQs029110; Sun, 2 Jan 2005 13:07:28 GMT (envelope-from robert@fledge.watson.org) Date: Sun, 2 Jan 2005 13:07:24 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Gerald Pfeifer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: PATCH: /usr/include/netipx/ipx.h and Linux compatibility X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 13:11:04 -0000 (blast from the past e-mail) On Wed, 22 Jan 2003, Gerald Pfeifer wrote: > 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 FYI: It looks like Bruce Simpson applied this change (or one very much like it) to HEAD (5-CURRENT) ipx.h as 1.18, and I recently merged it RELENG_4 ipx.h as 1.15.2.1. Thanks! Robert N M Watson > 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 >