Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2004 16:32:26 +0200
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/65217: PATCH: Improve Linux IPX application compatibility
Message-ID:  <E1BAV9G-0000BJ-9S@asura.bsd>
Resent-Message-ID: <200404051650.i35GoMnE061754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65217
>Category:       kern
>Synopsis:       PATCH: Improve Linux IPX application compatibility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 05 09:50:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #5: Thu Mar 25 09:24:50 CET 2004 root@asura.bsd:/usr/src/sys/i386/compile/UP i386
>Description:
While porting Descent 2 from linux to BSD i have found that some minor
things for better linux source code compatibility are missing.
>How-To-Repeat:
>Fix:
--- ipx.h.orig	Sun Dec  7 22:09:10 2003
+++ ipx.h	Mon Apr  5 16:24:54 2004
@@ -108,6 +108,7 @@
 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 @@
 	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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BAV9G-0000BJ-9S>