2 * $Source: /cvs/cvsroot/d2x/arch/linux/include/ipx_ld.h,v $
5 * $Date: 2001-10-19 07:39:26 $
8 * ipx.h header file for IPX for the DOS emulator
9 * Tim Bird, tbird@novell.com
11 * $Log: not supported by cvs2svn $
12 * Revision 1.2 2001/10/19 07:29:37 bradleyb
13 * Brought linux networking in line with d1x, moved some arch/linux_* stuff to arch/linux/
21 #define MAX_PACKET_DATA 1500
23 typedef struct IPXAddressStruct {
24 u_char Network[4] __attribute__((packed));
25 u_char Node[6] __attribute__((packed));
26 u_char Socket[2] __attribute__((packed));
29 typedef struct IPXPacketStructure {
30 u_short Checksum __attribute__((packed));
31 u_short Length __attribute__((packed));
32 u_char TransportControl __attribute__((packed));
33 u_char PacketType __attribute__((packed));
34 IPXAddress_t Destination __attribute__((packed));
35 IPXAddress_t Source __attribute__((packed));
38 typedef struct ipx_socket_struct {
40 struct ipx_socket_struct *next;
53 #define n_printf(format, args...) _mprintf(1, format, ## args)
55 #define n_printf(format, args...) fprintf(stderr,format, ## args)
57 #define enter_priv_on()
58 #define leave_priv_setting()