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


/* Per site static data. This includes hand initialized network
 * interface tables. By default, this also allocates the whole table.
 * Also, node name and various other stuff.
 */


#include	<types.h>
#include	<sys.h>
#include	<gw/src/const.h>
#include	<gw/src/param.h>
#include	<gw/src/defs.h>
#include	<gw/src/net.h>

#include	"netcnf.h"

#include	<gw/nets/vii.h>
#include	<gw/nets/ether.h>

#include        <gw/in/rvd.h>

/* Node name and type */

char	name[]	= "b54gw";
int	mach_type = M_uVAX2;

bitw msgflg = 0x1f;		/* General message flag */
bitf inflg = 0x1f;		/* Internet message flag */
bitf ripflg = 0x1f;		/* RIP message flag */
bitf chflg = 0x1f;		/* Chaos message flag */
bitf arpflg = 0x1f;		/* ARP message flag */
bitf tcpflg = 0x1f;  	        /* TCP message flag */
intf reboot = 1;		/* enable DEQNA sanity timer */
int noddt = 1;			/* If set, ddt doesn't go to cmd level */
bitf logflg = 1;		/* console */
unsl in_flush_rvd = FLUSH_RVD_NOTHING;
unsl in_flush_rvd_spin_mode = 0;

/* Actual network configuration table */

/* ext	vii_prinit(), vii_in();
ext word	vii_out();
*/
ext	e10_prinit(), e10_in();
ext word	e10_out();
ext dct /* viidct[], */ qnadct[];

net	nets[NNETS] =	/* Make it explicit to prevent errors */
{{ NULL, e10_prinit, e10_out, NULL, e10_in, NULL, NULL, /* 10Mbit Ethernet */
    10, 4, 0, 0, EMAX, sizeof(e10pkt) + 4, 0,
    qnadct, &qnadct[0], &qnadct[1], T_E10, C_BRD },
{ NULL, e10_prinit, e10_out, NULL, e10_in, NULL, NULL, /* 10Mbit Ethernet */
    10, 4, 0, 0, EMAX, sizeof(e10pkt) + 4, 0,
    qnadct, &qnadct[2], &qnadct[3], T_E10, C_BRD },
};


/* Various per site externals that can be set at compile time.
 * Do not touch anything here!
 */

unsw	nnets = NNETS;			/* Number of networks */
net	*lstnet	= &nets[NNETS];		/* Pointer after last net */
