/* Copyright 1984 by the Massachusetts Institute of Technology */


/* Hand initialized network interface IN address tables. Also various
 * other externals that can be set here.
 */


#include	<types.h>
#include	<sys.h>
#include	<gw/src/const.h>
#include	<gw/src/defs.h>
#include	<gw/src/net.h>
/* #include	<gw/in/in.h> */
#include "in.h"
#include        <gw/in/egp.h>

#include	"netcnf.h"


/* Network interface address tables. These define the relationship
 * between network interfaces and their IN addresses. The table comes
 * in two parts; one is a table indexed by interface number that;
 * lists a chain of IN addresses for that interface number, the first
 * being the primary, and the second is the interface address chains.
 * If an entry in the first table is NULL, that net has no IN address.
 */

#define	NINADDR	5

inia	iniatbl[NINADDR] =
{	{ { 18, 72, 0, 37 }, NULL, {255, 255, 0, 0 }, IF_RIP},
	{ { 18, 72, 3, 1 }, NULL, {255, 255, 0, 0}, IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 72, 3, 2 }, NULL, {255, 255, 0, 0}, IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 72, 3, 3 }, &iniatbl[4], {255, 255, 0, 0},
	    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 72, 3, 4 }, NULL, {255, 255, 0, 0}, IF_RIP_IGN | IF_PPP_PROXY},
};

inia	*iniatlst[NNETS] =

{       NULL, 
	&iniatbl[0],
	&iniatbl[1],
	&iniatbl[2],
	&iniatbl[3],
};


/* For subnet kludgery; if you are on a class A net with subnets set
 * this variable to your net number to enable subnet routing. If
 * zero, this feature is turned off.
 */

unsb	myanet = 022;

/* Test EGP stuff */

#include "test_egpcnf.h"

/* Various externals that can be set at compile time from info in
 * this file. Do not touch!
 */

unsb	ninaddr = NINADDR;		/* Number of IN net addresses */
unsw	inovfin[NNETS];			/* IP queue overflow discards */

byte  time_server[4] = {18, 72, 0, 144};

long time_zone_offset = -5 * 60 * 60;  /* EST */

