/* This file is included by the netcnf files to define default values 
   for most of the interesting flags.  New values can be added here without
   requiring source changes to the config files. */

/*
 *------------------------------------------------------------------
 *
 * $Source: /afs/net.mit.edu/project/cgw/conf/RCS/default_flag_values.h,v $
 * $Revision: 1.11 $
 * $Date: 90/12/07 17:15:18 $
 * $State: Exp $
 * $Author: jon $
 * $Locker:  $
 *
 * $Log:	default_flag_values.h,v $
 * Revision 1.11  90/12/07  17:15:18  jon
 * add variables for nip static gateways
 * 
 * 
 * Revision 1.10  90/09/29  20:18:07  jon
 * add redirect flag and direct interface rip metric variable
 * 
 * Revision 1.9  89/02/24  19:22:04  jon
 * add more interfaces to the default routing restrictions list, just in case ...
 * 
 * Revision 1.8  88/08/17  21:04:03  jon
 * Change nip lowest address to be 2.2 from 2.1 ... why not?
 * 
 * Revision 1.7  88/07/26  20:30:24  jon
 * Typo fix.
 * 
 * Revision 1.6  88/07/26  19:53:28  jon
 * Change the restriction stuff a bit ...
 * 
 * Revision 1.5  88/07/24  18:19:48  jon
 * Adds (in an unpleasant way) empty ip routing restrictions.
 * 
 * Revision 1.4  88/06/08  23:39:41  jon
 * Fix typo in #ifndef for egp control flag.
 * 
 * Revision 1.3  88/06/08  15:20:47  jon
 * Add test_gateway_flag to control things like not sending redirects and
 * acceptance of egp peer connections for testing.
 * 
 * Revision 1.2  88/05/31  17:19:26  jon
 * Change logflg to log only to the console.
 * 
 * Revision 1.1  88/05/31  17:05:50  jon
 * Initial revision
 * 
 *------------------------------------------------------------------
 */

#ifndef lint
static char *rcsid_default_flag_values_h = "$Header: /afs/net.mit.edu/project/cgw/conf/RCS/default_flag_values.h,v 1.11 90/12/07 17:15:18 jon Exp $";
#endif	lint

#ifndef TRUE
#define TRUE 1
#endif

#ifndef DEFINED_MSGFLG
bitw msgflg = 0x1f;		/* General message flag */
#endif

#ifndef DEFINED_INFLG
bitf inflg = 0x1f;		/* Internet message flag */
#endif

#ifndef DEFINED_RIPFLG
bitf ripflg = 0x1f;		/* RIP message flag */
#endif

#ifndef DEFINED_CHFLG
bitf chflg = 0x1f;		/* Chaos message flag */
#endif

#ifndef DEFINED_ARPFLG
bitf arpflg = 0x1f;		/* ARP message flag */
#endif

#ifndef DEFINED_TCPFLG
bitf tcpflg = 0x1f;		/* TCP message flag */
#endif

#ifndef DEFINED_NIPFLG
bitf nipflg = 0x1f;             /* Network Information Protocol flag */
#endif

#ifndef DEFINED_REBOOT
intf reboot = 1;		/* AutoReboot flag */
#endif

#ifndef DEFINED_NODDT
int noddt = 1;			/* If set, ddt doesn't go to cmd level */
#endif

#ifndef DEFINED_LOGFLG
bitf logflg = 1;		/* Log to the console only */
#endif

#ifndef DEFINED_FLUSH_RVD
int in_flush_rvd = 0;		/* Allow RVD through */
int in_flush_rvd_spin_mode = 0;
#endif

/* for NIP */
#ifndef DEFINED_NIP_ADDRS
byte nip_lowest_address[4] = {0, 0, 2, 2};
byte nip_highest_address[4] = {0, 0, 2, 252};
#endif

#ifndef DEFINED_NIP_GATEWAY
int use_static_nip_gateway = FALSE;
byte static_nip_gateway_address[4] = {0, 0, 0, 0};
#endif

#ifndef DEFINED_EGP_CONTROL_FLAG
bitf egp_control_flag = 0x3;
#endif

#ifndef DEFINED_TEST_GATEWAY_FLAG
bitf test_gateway_flag = FALSE;
#endif

#ifndef DEFINED_ROUTING_RESTRICTIONS
/* ugh, would it really be worse to call this char *? */
#ifndef ipr_res_entry_init
#ifndef inaddr
#include <gw/in/in.h>
#endif /* inaddr */
#include <gw/in/inrte.h>
#endif /* ipr_res_entry_init */
/* Five should be more than enough interfaces */
ipr_res_entry_init *ipr_init_restrictions[10] = {
  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
#endif

#ifndef DEFINED_DIRECT_ROUTE_RIP_METRIC
int DIRECT_ROUTE_RIP_METRIC = 1;
#endif

#ifndef DEFINED_REDIRECT_FLAG
int ip_send_redirects = TRUE;
#endif
