#define DADDLEN 6		/* ethernet address length */
#define	MTU 1500		/* maximum ethernet transmission unit */
#define WINDOWSIZE 4096		/* 4Kbytes */
#define TSENDSIZE 1024
#define SLIPSENDSIZE 768
#define	IMAXLEN	(MTU - 20)	/* max IP data length */
#define UMAXLEN (IMAXLEN - 8)	/* max UDP data length */
#define TMAXSIZE (IMAXLEN - 20)	/* max TCP data length */
#define ICMPMAX 300 
#define	AMAXLEN 96		/* max ARP packet length */

#define NPORTS	32

#define MINRTO	18		/* actually 18.2 ticks per second */
#define MAXRTO	1820		/* this makes MAXRTO 100 seconds */
#define CONNWAITTIME 20		/* default contime in seconds */
#define htons(x) ((u_int)((u_char)(x) << 8) | (u_char)((unsigned int)(x) >> 8))
#define ntohs(x) ((u_int)((u_char)(x) << 8) | (u_char)((unsigned int)(x) >> 8))
