1 /* $Id: ipx_ld.h,v 1.4 2003-03-13 00:20:21 btb Exp $ */
5 * ipx.h header file for IPX for the DOS emulator
6 * Tim Bird, tbird@novell.com
13 #define MAX_PACKET_DATA 1500
15 typedef struct IPXAddressStruct {
16 u_char Network[4] __attribute__((packed));
17 u_char Node[6] __attribute__((packed));
18 u_char Socket[2] __attribute__((packed));
21 typedef struct IPXPacketStructure {
22 u_short Checksum __attribute__((packed));
23 u_short Length __attribute__((packed));
24 u_char TransportControl __attribute__((packed));
25 u_char PacketType __attribute__((packed));
26 IPXAddress_t Destination __attribute__((packed));
27 IPXAddress_t Source __attribute__((packed));
30 typedef struct ipx_socket_struct {
32 struct ipx_socket_struct *next;
45 #define n_printf(format, args...) _mprintf(1, format, ## args)
47 #define n_printf(format, args...) fprintf(stderr,format, ## args)
49 #define enter_priv_on()
50 #define leave_priv_setting()