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

/*
 *------------------------------------------------------------------
 *
 * $Source: /afs/net.mit.edu/project/cgw/conf/e19gw/RCS/incnf.e19gw.c,v $
 * $Revision: 1.3 $
 * $Date: 91/02/11 18:30:02 $
 * $State: Exp $
 * $Author: jon $
 * $Locker:  $
 *
 * $Log:	incnf.e19gw.c,v $
 * Revision 1.3  91/02/11  18:30:02  jon
 * cisco address change
 * 
 * Revision 1.2  89/03/17  16:56:33  jon
 * add slip interfaces
 * 
 *------------------------------------------------------------------
 */

#ifndef lint
static char *rcsid_incnf_e19gw_c = "$Header: /afs/net.mit.edu/project/cgw/conf/e19gw/RCS/incnf.e19gw.c,v 1.3 91/02/11 18:30:02 jon Exp $";
#endif	lint

/* 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	"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	10

inia	iniatbl[NINADDR] =

{	{ { 18, 68, 0, 6 }, NULL, { 255, 255, 0, 0 }, IF_RIP },
	{ { 18, 88, 2, 253 }, NULL, { 255, 255, 0, 0 }, IF_RIP },
	{ { 18, 88, 2, 1 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 2 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 3 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 4 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 5 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 6 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 7 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 88, 2, 8 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
};

inia	*iniatlst[NNETS] =

{	&iniatbl[0],
	&iniatbl[1],
	&iniatbl[2],
	&iniatbl[3],
	&iniatbl[4],
	&iniatbl[5],
	&iniatbl[6],
	&iniatbl[7],
	&iniatbl[8],
	&iniatbl[9],
};


/* 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;


/* 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 */
