1 
 2 /*        BEGIN include file ncp_data_dcls.incl.pl1 --                          */
 3 
 4 /*             This include file contains declarations of structures kept       */
 5 /*        in the NCP data base which aren't associated directly with            */
 6 /*        Network connections or process control.                               */
 7 
 8 /*        Originally created by D. M. Wells, Jan., 1976 by altering a           */
 9 /*                  previously existing include file.                           */
10      declare
11           1 ncp_dt aligned based,                           /* Information about global state of NCP          */
12              2 ncp_ev_chan fixed binary (71),               /* event channel id of NCP Daemon process         */
13              2 ncp_procid bit (36),                         /* process id of NCP Daemon process               */
14              2 ncp_up fixed binary (2),                     /* -1 crashed, 0 uninit, 1 imp down, 2 up         */
15              2 htbl_size fixed binary (17),                 /* max size of host table in entries              */
16              2 rtbl_size fixed binary (17),                 /* max size of RFC table in entries               */
17              2 stbl_size fixed binary (17),                 /* max size of socket table in entries            */
18              2 size_pad fixed binary (17),
19 
20              2 htbl_gent fixed binary (17),                 /* max host entry used                            */
21              2 rtbl_gent fixed binary (17),                 /* max RFC entry used                             */
22              2 stbl_gent fixed binary (17),                 /* max socket entry used                          */
23              2 gent_pad fixed binary (17),
24 
25              2 htbl_lock bit (36) aligned,                  /* lock for host table                            */
26              2 rtbl_lock bit (36) aligned,                  /* lock for RFC table                             */
27              2 stbl_lock bit (36) aligned,                  /* lock for socket table                          */
28              2 lock_pad bit (36) aligned,
29 
30              2 state_change_reason character (32) unaligned,          /* reason for last state change         */
31 
32              2 ncp_devx fixed binary (12),                  /* IOAM devx of NCP pseudo-device                 */
33              2 ncp_state_changes fixed binary (17),         /* number of times NCP has changed state          */
34              2 spacen1 (14) fixed fixed binary (35),
35 
36              2 host_id fixed binary (32),                   /* network identifier of this Multics System      */
37              2 crash_on_ncp_error bit (1) aligned,          /* on if should crash to trap ncp error */
38              2 imp_state char (8) aligned,
39              2 time_imp_state_changed fixed binary (71),
40              2 time_ncp_state_changed fixed binary (71),
41 
42              2 imp_special_message bit (32),
43              2 imp_state_change_count fixed binary (17),
44              2 spacen3 (3) fixed binary (17),
45              2 ptbl_size fixed binary (17),                 /* number of entries in process table             */
46              2 ptbl_gent fixed binary (17),                 /* index of highest slot in use                   */
47              2 ptbl_lock bit (36) aligned,                  /* lock word for "proc_tb"                        */
48 
49              2 access_dirname character (168) unaligned,              /* dir of access defining segment       */
50              2 access_ename character (32) unaligned;                 /* entry of access defining segment     */
51 
52      declare
53           1 meter_dt aligned based,                         /* various meters kept by the NCP                 */
54              2 prev_user_call_time fixed binary (71),
55              2 prev_daemon_call_time fixed binary (71),
56              2 accu_time_in_ncp fixed binary (71),
57              2 accu_time_since_user_call fixed binary (71),
58 
59              2 nprocs_in_ncp fixed binary (17),
60              2 nprocs_inconsistent bit (1),
61              2 ndaemon_calls fixed binary (17),
62              2 ncalls (5) fixed binary (17),
63 
64              2 net_error_count fixed binary (17),
65              2 ncp_wakeup_count (7) fixed binary (17),
66 
67              2 call_count (0: 31) fixed binary (17),
68 
69              2 ctl_mess_count (0: 15) fixed binary (17),
70 
71              2 tbop_mf_count (48) fixed binary (17),
72 
73              2 eco_time fixed binary (71),
74              2 erp_time fixed binary (71),
75              2 eco_host fixed binary (16),
76              2 erp_host fixed binary (16),
77              2 num_activations fixed binary (30),           /* number of socket activations performed         */
78              2 num_processes fixed binary (30);             /* number of processes using the NCP              */
79 
80 /*        END include file ncp_data_dcls.incl.pl1 --                            */
81