kern/65217: PATCH: Improve Linux IPX application compatibility

Radim Kolar hsn at netmag.cz
Mon Apr 5 09:50:23 PDT 2004


>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 at 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:


More information about the freebsd-bugs mailing list