/* Copyright 1984 by the Massachusetts Institute of Technology */
/* This file contains IN routing table initialization.
 */

/* Version for MIT Telecom spine gateways (special version for broadgw) */

/*
 *------------------------------------------------------------------
 *
 * $Source: /afs/net.mit.edu/project/cgw/conf/spine/RCS/inga.ihtfp.c,v $
 * $Revision: 1.9 $
 * $Date: 90/09/30 23:25:05 $
 * $State: Exp $
 * $Author: jon $
 * $Locker:  $
 *
 *------------------------------------------------------------------
 */

#ifndef lint
static char *rcsid_inga_ihtftp_c = "$Header: /afs/net.mit.edu/project/cgw/conf/spine/RCS/inga.ihtfp.c,v 1.9 90/09/30 23:25:05 jon Exp $";
#endif	lint

#include	<types.h>
#include	<sys.h>
#include	<gw/src/defs.h>
#include	<gw/src/net.h>
#include	<gw/in/in.h>
#include	<gw/in/inrte.h>

#include	"../inga.h"
#include	"../mit-inga.h"

/* Allocate and init nets and subnets. */
dmitnet
byte nearnetgw[4] = { 192, 54, 222, 2 };
byte jvncgw[4] = { 192, 54, 222, 3 };

byte radio[4] = {44, 0, 0, 0};

byte no_subnet_mask[4] = {0, 0, 0, 0};

/* Default Gateway */
byte *defgw = { jvncgw };

/* Static routes */
struct ipsrte iprte_sinit[] = {
    0, 0, 0, 0,
};

ipr_res_entry_init jvnc_restrictions[] = {
  mitnet, no_subnet_mask, 0, F_DONT_LISTEN | F_RES_RIP,
  radio, no_subnet_mask, 0, F_DONT_ANNOUNCE | F_RES_RIP,
  0, 0, 6, F_SET_DEFAULT_METRIC,
  0, 0, 0, 0,
};

#ifndef NULL
#define NULL 0
#endif

ipr_res_entry_init *ipr_init_restrictions[] = {
  NULL,
  &jvnc_restrictions[0],
};
