#define NPORTS	32

#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))
#define htonl(x) ((((u_long)htons((u_short)x)) << 16) | \
		 ((u_long)htons((u_long)x >> 16)))
#define ntohl(x)	htonl(x)
