*#ident	"$Revision: 2.24 $"
*
* BSD: Berkeley Network Services
*
*FLAG	PREFIX	SOFT	#DEV	DEPENDENCIES
ox	bsd	-	-	socket
				bsd_init(){}
				getdtablesize(){nopkg}
				gethostname(){nopkg}
				sethostname(){nopkg}
				getdomainname(){nopkg}
				setdomainname(){nopkg}
$$$$

/*
 * This parameter affects hosts with more than 1 hardware network interface.
 * Hosts that have only a single interface will not forward IP packets.
 *
 * 1 = Forward IP packets received that should be resent to another host.
 * 0 = Don't forward packets.
 *
 * This parameter also enables/disables IP source routing.
 *
 * IP multicast packets can be forwared if the boot/ip_mroute.o file exists
 * when the kernel is configured and the mrouted(1M) daemon is used.
 */
#ifdef MINIROOT
int ipforwarding = 0;
#else
int ipforwarding = 1;
#endif

/*
 * 1 = When forwarding IP packets, and a packet is forwarded using the same
 *     interface on which it arrived and if the source host is on the
 *     directly-attached network, then send an ICMP redirect to the source host.
 *     If the packet was forwarded using a route to a host or to a subnet,
 *     a host redirect is sent, otherwise a network redirect is sent.
 * 0 = The generation of redirects is inhibited.
 */
int ipsendredirects = 1;

/*
 * 1 = For gateways (>1 interface and ipforwarding = 1), cause a broadcast
 *     packet destined for network A that arrived on network B's interface
 *     to be broadcast on network A.
 * 0 = Don't broadcast the packet to network A, though this host will receive
 *     the packet.
 */
int ipdirected_broadcast = 0;

/*
 * TCP calculates a maximum segment size to use for each connection, and
 * sends no datagrams larger than that size. This size will be no larger
 * than that supported on the outgoing interface.  Furthermore, if the
 * destination is not on the local network, the size will be no larger
 * than 576 bytes, unless the tcp_mtudisc option below is set.
 *
 * subnetsarelocal:
 *   1 = other subnets of a directly-connected subnetted network are
 *       considered to be local.
 *   0 = other subnets are not local.
 *
 *  The tcp_mtudisc option below is a better way to accomplish the same end.
 */
int subnetsarelocal = 1;

/*
 * If not zero, limit the maximum ethernet packet size to this
 */
int maxethermtu = 0;

/*
 * Debugging:
 *   1 = print debugging messages on the console.
 *   0 = don't print any messages.
 */
int icmpprintfs = 0;
int ipprintfs   = 0;
int tcpprintfs  = 0;

/* Use loopback interface for local traffic */
int useloopback = 1;

/* loopback interface MTU */
int lomtu = 112+8*1024;			/* MLEN + integral number of pages */

/* TCP window sizes/socket space reservation */
unsigned long tcp_sendspace = 60 * 1024;	/* must be < 512K */
unsigned long tcp_recvspace = 60 * 1024;	/* must be < 512K */

/* TCP large windows (RFC 1323) control. */
int tcp_winscale = 1;
int tcp_tsecho = 1;

/* TCP MTU Discovery control. This controls the use of RFC 1191
 * methods for determining TCP maximum segment sizes.  If this flag is on,
 * TCP will set the dont-fragment flag in the IP headers of TCP segments.
 * The "fragmentation needed" messages from routers will be used to determine
 * new MSS size for TCP connections.  When this flag is set, the MSS of TCP
 * connections will no longer default to tcp_mssdflt when connections are
 * not local.
 */
int tcp_mtudisc = 1;

/* TCP MTU Discovery, table of typical MTUs.  If TCP isn't told the
 * MTU of the far side of the complaining router, it will pick the
 * next smaller value from this table.  It contains typical MTUs
 * you might encounter.  This is from Table 7-1 in RFC 1191.
 *
 * Warning: this list must be in descending order and must be
 * terminated with a zero.
 */
int tcp_mtutable[] = {
	65535,
	65280,	/* HIPPI */
	32768,
	17914,
	9180,	/* ATM */
	8166,	/* 802.4 */
	4352,	/* FDDI */
	2002,
	1492,	/* Ethernet/802.3 */
	1006,	/* Arpanet */
	508,
	0 /* ZERO MUST TERMINATE THIS LIST! */ };


/* UDP maximum datagram size */
unsigned long udp_sendspace = 60 * 1024;	/* must be < (64K - 28) */

/* UDP socket buffers: reserve space for (sendspace * recvgram) bytes */
unsigned long udp_recvgrams = 2;		/* clamped to 64K/sendspace */

/*
 * Default Time-To-Live (TTL) values:
 *
 * These values should be sufficient for the Internet.
 * Increase them for extremely large internets with large "diameters."
 */
int tcp_ttl = 60;
int udp_ttl = 60;

/*
 * Mbuf parameters:
 *
 * Maximum # of 1-page clusters.  This limits the total memory that
 * network buffers, "mbufs," can consume.
 * A 0 value tells the kernel to set the number based on the
 * amount of physical memory configured in the machine.
 * The current formula is 1/8 of the total physical memory.
 */
int nm_clusters = 0;

/*
 * Minimum # of free clusters.  The mbuf allocation system tends to
 * keep a pool of free clusters this large.  A big system which
 * experiences bursts of load should use a larger value than a
 * small system or a system with a relatively constant network load.
 *
 * This value is in pages. Minimum is 32.
 * The misleading name is historical.
 */
int mbuf_max_clfree = 0;		/* <= nm_clusters */

/*
 * Timeout value for SO_KEEPALIVE (in units of 0.5 seconds).  Default
 * is 2 hours.  Do not decrease this below 10 minutes.
 */

int	tcp_keepidle = (2 * 60 * 60 * 2);

/*
 * Time interval for SO_KEEPALIVE probes, after tcp_keepidle timeout has
 * passed (in units of 0.5 seconds).  Default is 75 seconds.
 */

int	tcp_keepintvl = (75 * 2);

/*
 * TCP maximum persist time
 * This is the absolute longest time we'll persist without a response.
 * If we get a response, we'll keep going even in the face of a zero window,
 * since that's the correct behavior.
 * If we don't get a response, we will terminate the connection.
 * It may terminate sooner if we exceed the RTO by 511 times. but it will
 * The default is 2 hours, the same as tcp_keepidle.
 */

int tcp_maxpersistidle = (2 * 60 * 60 * 2);

/*
 * TCP 2MSL timer interval.  This should never be lowered unless absolutely
 * necessary.  The TCP specification mandates a value of four minutes;
 * we use 60 seconds for compatibility with previous IRIX releases.
 */

int tcp_2msl = (60 * 2);
