1 /* BEGIN INCLUDE FILE: network_account_record.incl.pl1 */ 2 3 /****^ HISTORY COMMENTS: 4 1) change(87-03-24,Brunelle), approve(87-07-31,MCR7694), 5 audit(87-08-03,GDixon), install(87-08-04,MR12.1-1056): 6 Created. 7 2) change(87-05-07,Brunelle), approve(87-07-31,MCR7694), 8 audit(87-08-03,GDixon), install(87-08-04,MR12.1-1056): 9 Added active bit field. 10 END HISTORY COMMENTS */ 11 12 /* format: style4 */ 13 /* this defines the network accounting record as found in the database 14 (network_account_table). */ 15 16 dcl network_account_record_ptr ptr; 17 18 dcl 1 network_account_record aligned based (network_account_record_ptr), 19 2 version char (8), 20 2 key, 21 3 process_id bit (36) aligned, /* of the process using the connection */ 22 3 session_handle fixed bin (35), /* identifier of the connection being charged */ 23 3 network_id fixed bin (35), /* identifies the network being used */ 24 2 switches unaligned, 25 3 delete_switch bit (1) unaligned, /* delete entry when next read */ 26 3 unassigned_switch bit (1) unaligned, /* OFF if process associated with process_id is using the connection. 27 ON if altername process is using the connection. 28 If process_id identifies the owner of the connection 29 (login_server), then the altername process is the 30 user process. If process_id identifies a user process, 31 then alternate process is the owner process. 32 The connection must be assigned to one or the other. */ 33 3 purged bit (1) unaligned, /* purged due to inactivity */ 34 3 active bit (1) unaligned, /* used to determine activity during accounting update interval */ 35 3 mbz bit (32) unaligned, 36 2 connected_time fixed bin (71), /* excess connect time to be added when unassigned_switch on */ 37 2 update_time fixed bin (71), /* time record last updated when unassigned_switch off */ 38 2 byte_count fixed bin (35), /* bytes charged so far */ 39 2 packet_count fixed bin (35); /* packets charged so far */ 40 41 dcl NET_ACCT_RECORD_VERSION_1 char (8) int static options (constant) init ("NETACTR1"); 42 /* END INCLUDE FILE: network_account_record.incl.pl1 */