home *** CD-ROM | disk | FTP | other *** search
- /* #define DEBUG */
- #ifdef KERNEL
- #define memcpy mymemcpy
- #define MIB
- #endif
-
- #ifdef KERNEL
- #include <mt\stdio.h>
- #endif
- #define INET
- typedef unsigned long u_long;
- typedef unsigned short u_short;
- typedef unsigned short ushort;
- typedef unsigned int u_int;
- typedef unsigned char u_char;
- typedef long off_t;
- typedef char * caddr_t;
-
- typedef char *caddr_t;
- typedef long daddr_t;
- typedef unsigned (*FUNC)();
- #define NIL ((char *) 0)
- /*
- #ifdef KERNEL
- #define NULL ((struct mbuf *) 0)
- #endif
- */
- #define PZERO 0
- #define BSD 43
-
- #include "sems.h"
- #include "splx.h"
- #include "utils.h"
- #include "errno.h"
- #include "nerrno.h"
- #include "logsys.h"
- #include <sys/msg.h>
- #include "netlib.h"
-
- #define MAXHOSTNAMELEN 120
- #ifndef MAXPATHLEN
- #define MAXPATHLEN 80
- #endif
- #define MAXSOCKETS 2048
- #define LINT
- #ifdef LINT
- #ifdef KERNEL
- #include "lint.h"
- #endif
- #else
- in_cksum();
- #endif
-
- #define index(string,c) strchr((string),(c))
- #define perror(x) _perror(x)
- #define TRUE 1
- #define FALSE 0