/*
*  defines that are only applicable to the IBM PC/ PC-DOS environment
*  other files will take this one's place for other machines
*/
typedef unsigned char u_char;
typedef unsigned int u_int;
typedef unsigned short u_short;
typedef unsigned long u_long;

/*
 *	defines for pointers
 */
#undef NULL
#define NULL	((void *)0)
#define TCPPORTS	24
#define UDPPORTS	2
#define NPORTS		32

/* size of routing table */
#define NROUTE		10

/*
 *	defines for clock related values
 */
#define TICKSPERSEC 18		/* actually 18.2 (91/5) ticks per second */
#define WRAPTIME 1572480L	/* in ticks, only for PC */

/*
 *	used by tcpport->flag
 */
#define	O_OPEN		0x01
#define O_RELEASED	0x02
#define O_STREAM	0x04
#define O_GOTALL	0x20
#define O_CLOSING	0x40
#define O_CLOSED	0x80

/*
 *	duplicate from config.h
 */
#define H_BOOTP		001
#define H_RARP		002
#define H_MYIP		004
