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

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

/*
 *------------------------------------------------------------------
 *
 * $Source: /afs/net.mit.edu/project/cgw/conf/fmgc/RCS/incnf.fmgc.c,v $
 * $Revision: 1.7 $
 * $Date: 90/12/07 17:46:54 $
 * $State: Exp $
 * $Author: jon $
 * $Locker:  $
 *
 * $Log:	incnf.fmgc.c,v $
 * Revision 1.7  90/12/07  17:46:54  jon
 * change address (swap with cisco)
 * ,
 * 
 * Revision 1.6  90/09/29  20:39:29  jon
 * new address for slip lines
 * 
 * Revision 1.5  88/09/15  18:23:26  jon
 * fix typo
 * 
 * Revision 1.4  88/09/15  18:22:09  jon
 * Change net 44 address and remove subnet mask from net 44
 * 
 * Revision 1.3  88/08/29  22:50:09  jon
 * Add net 44 address.
 * 
 * Revision 1.2  88/06/07  15:21:23  jon
 * Add Apollo's network.
 * 
 *------------------------------------------------------------------
 */

#ifndef lint
static char *rcsid_incnf_fmgc_c = "$Header: /afs/net.mit.edu/project/cgw/conf/fmgc/RCS/incnf.fmgc.c,v 1.7 90/12/07 17:46:54 jon Exp $";
#endif	lint

#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, 17 }, NULL, { 255, 255, 0, 0 }, IF_RIP },
	{ { 18, 71, 2, 10 }, NULL, { 255, 255, 0, 0 }, IF_RIP },
	{ { 18, 71, 2, 1 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 2, 2 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 2, 3 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 2, 4 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 2, 5 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 2, 6 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 2, 7 }, NULL, { 255, 255, 0, 0 }, 
	                    IF_RIP_IGN | IF_PPP_PROXY},
	{ { 18, 71, 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 */
