/*	@(#)config.h	13.2 (RC International) 91/02/26	*/

#ifndef	_CONFIG_

#define _CONFIG_

/*
 *   Configuration options for networking.
 */
#define	INET	1	/* include Internet (TCP/UDP/ICMP/IP) protocols */
#define	NS	1	/* include Xerox Networking System protocols */
#define	NSIP	0	/* 0 XNS encapsulation into IP code interfaces */
#define	NSL	0	/* 0 SLIP (Serial Line IP) interfaces */
#define	NIMP	0	/* 0 IMP (Internet Message Processor) interfaces */
#define	NHY	0	/* 0 Hyperchannel interfaces */
#undef	PUP		/* PUP protocol support dropped in 4.3BSD */

#define NETHER		8	/* max of 4 Ethernet connections per PU */
#define NVN		10	/* max of 10 virtual nets per PU */
#define GATEWAY		1	/* we will gateway between networks */
#define	SUBNETSARELOCAL	0	/* not all subnets are direct-connected to us */
#undef  DIRECTED_BROADCAST	/* brdcst rcvd only if intf has IFF_BROADCAST */

/*
 * User level configuration options.
 */
#define MAXHOSTNAMELEN	64	/* max hostname size */

/*
 * Definitions for byte order: byte significance from low address to high.
 */
#define	LITTLE_ENDIAN	1234	/* least-significant byte first (vax) */
#define	BIG_ENDIAN	4321	/* most-significant byte first (IBM, net) */
#define	PDP_ENDIAN	3412	/* LSB first in word, MSW first in long (pdp) */

#ifdef	MIPSEL
#define	BYTE_ORDER	LITTLE_ENDIAN
#else
#define	BYTE_ORDER	BIG_ENDIAN
#endif

/*
 *  IP specific controls
 */
#define	IPFORWARDING	1	/* forward received IP packets */
#define	IPSENDREDIRECTS	1	/* send ICMP redirects on bad routes */

/*
 *  TCP specific controls
 */
#define BSD		43	/* just pretend that we are 4.3 */
#define TCP_COMPAT_42	1	/* we have to interoperate w/4.2 systems */
#undef	OLDSTAT			/* set if we have to use old netstat binaries */

/*
 *  UDP specific controls
 */
#define	COMPAT_42	30	/* interoperability w/4.2 UDP */

/*
 *  SPP (XNS) specific controls
 */
#define THREEWAYSHAKE	1	/* use 3-way handshake to start/stop */

#endif _CONFIG_
