/*
 * This file contains the x callbacks for various things.
 *
 * Copyright 1990 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 *
 * Tom Coppeto
 * MIT Network Services
 * 8 August 1990
 *
 *    $Source: /afs/net.mit.edu/tools/src/xport/RCS/data.c,v $
 *    $Author: tom $
 *    $Locker: tom $
 *    $Log:	data.c,v $
 * Revision 1.1  90/08/15  01:13:00  tom
 * Initial revision
 * 
 */

#ifndef lint
static char *rcsid = "$Header: /afs/net.mit.edu/tools/src/xport/RCS/data.c,v 1.1 90/08/15 01:13:00 tom Exp Locker: tom $";
#endif

#include "xport.h"
#include <mit-copyright.h>

char   *dsp_mode_labels[] = { "Status", "Traffic"};
int    num_dsp_modes = 2;
int    dsp_mode = DISPLAY_STATUS;

struct _board board[MAX_BOARDS];
struct in_addr addr;
char   *sysdesc;
int    nboards;
int    protect = 1;
int    update  = 60;
char   *community = "public";


struct _category device_type[] =
{
  0x10010, "Mini MMAC",
  0x10020, "MRXI",
  0x00000, (char *) NULL,
};


struct _category mpboard_type[] = 
{
  0x20000, "MPIM-X",
  0x20001, "MPIM-A",
  0x20002, "MPIM-C",
  0x20003, "MPIM-T",
  0x20004, "MPIM-F2",
  0x20005, "MPIM-F1",
  0x20006, "MPIM-T1",
  0x20007, "MPIM-B",
  0x00000, (char *) NULL,
};


struct _category spboard_type[] = 
{
  0x20001, "SPIM-A",
  0x20002, "SPIM-C",
  0x20003, "SPIM-T",
  0x20004, "SPIM-F2",
  0x20005, "SPIM-F1",
  0x20006, "SPIM-T1",
  0x20007, "SPIM-B",
  0x00000, (char *) NULL,
};


struct _category media_type[] =
{
  0x00,    "3rd Part Vendors",  
  0x01,    "IRM",               
  0x50,    "THIN_MIM",
  0x30,    "TRMIM_12",
  0x31,    "TRMIM_RPT",
  0x32,    "TRMIM_24",
  0x33,    "TRMIM_22",
  0x34,    "TRMIM_34",
  0x35,    "TRMIM_32",
  0x36,    "TRFOT_28",
  0x37,    "TRFOT_26",
  0x38,    "TRFOT_22",
  0x39,    "TRFOT_18",
  0x3a,    "TRFOT_12",
  0x3b,    "TRFOT_16",
  0x41,    "TPMIM_T1",
  0x42,    "TPMIM_T",
  0x43,    "TPMIM_T3",
  0x60,    "TPMIM_24",
  0x61,    "TPMIM_22",
  0x62,    "TPMIM_34",
  0x63,    "TPMIM_32",
  0x70,    "FO_22",
  0x80,    "FO_16",
  0x90,    "FOIRL",
  0x92,    "FOM_18",
  0x93,    "FOM_12",
  0x94,    "FOM_16",
  0x95,    "FOM_28",
  0x96,    "FOM_22",
  0x97,    "FOM_26",
  0xb0,    "IRM2",
  0xb1,    "IRBM",
  0xb4,    "TRMBM",
  0xb5,    "IRM/SNMP",
  0xc0,    "FOT_12",
  0xd0,    "TPT",
  0xe0,    "FOT_6",
  0xff,    "NOMIM",
  0x00,    (char *) NULL,
};


struct _category redundant_type[] = 
{
  1,       "Not used", 
  3,       "Primary", 
  4,       "Backup", 
  0,       (char *) NULL,
};


struct _category redundant_status[] = 
{
  1,       "Not used", 
  2,       "Active", 
  3,       "Inactive", 
  0,       (char *) NULL,
};
