1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 dcl x25_data_ptr ptr;
19 dcl x25_data_n_sc fixed bin;
20
21 dcl 1 x25_data aligned based (x25_data_ptr),
22 2 name char (32),
23 2 devx fixed bin,
24 2 state fixed bin,
25 2 n_lc fixed bin,
26 2 n_sc fixed bin,
27 2 n_pvc fixed bin,
28 2 flags,
29 3 send_output bit (1) unaligned,
30 3 mpx_started bit (1) unaligned,
31 3 bypass_restart bit (1) unaligned,
32 3 no_d bit (1) unaligned,
33 3 out_calls_collect bit (1) unaligned,
34 3 packet_trace_sw bit (1) unaligned,
35 3 pad1 bit (30) unaligned,
36 2 seq_mod uns fixed bin (8),
37 2 gfid bit (2),
38 2 load_proc_id bit (36),
39 2 load_ev_chan fixed bin (71),
40 2 net_type char (8),
41 2 restart_time fixed bin (71),
42 2 dialup_info like dialup_info,
43 2 lc_ptr ptr,
44 2 (write_head, write_tail) ptr,
45 2 long_packet_size fixed bin (11),
46 2 long_packet_head fixed bin,
47 2 long_packet_tail fixed bin,
48 2 breakall_idle_timer fixed bin,
49 2 my_address varying char (15),
50 2 sc (x25_data_n_sc refer (x25_data.n_sc)) like xsce;
51
52 dcl (
53 X25_HUNGUP init (0),
54 X25_LISTENING init (1),
55 X25_RESTARTING init (2),
56 X25_ACTIVE init (3)
57 ) fixed bin static options (constant);
58
59 dcl 1 x25_lces aligned based (x25_data.lc_ptr),
60 2 lc (x25_data.n_lc) like xlce;
61
62 dcl xlcep ptr;
63 dcl 1 xlce aligned based (xlcep),
64 2 state fixed bin,
65 2 scx fixed bin,
66 2 max_packet_size uns fixed bin (18),
67 2 max_window_size uns fixed bin (7),
68 2 baud_rate fixed bin,
69 2 flags aligned,
70 3 iti_call bit (1) unaligned,
71 3 int_issued bit (1) unaligned,
72 3 rnr_received bit (1) unaligned,
73 3 iti_break bit (1) unaligned,
74 3 rnr_sent bit (1) unaligned,
75 3 originate bit (1) unaligned,
76 3 timer_set bit (1) unaligned,
77 3 collect_call bit (1) unaligned,
78 3 write_status_sync_sent bit (1) unaligned,
79 3 pad bit (27) unaligned,
80 2 window_size fixed bin,
81 2 force_ack_time fixed bin (71),
82 2 state_time fixed bin (71),
83 2 next_recv_seq unsigned fixed bin (7),
84 2 next_send_seq unsigned fixed bin (7),
85 2 last_recv_seq unsigned fixed bin (7),
86 2 next_ack_seq unsigned fixed bin (7),
87 2 his_address varying char (15),
88 2 call_data varying char (16),
89 2 iti_params (18) uns fixed bin (9) unaligned;
90
91
92
93 dcl (
94 READY init (1),
95 DTE_WAITING init (2),
96 FLOW_CONTROL_READY init (3),
97 DTE_CLEAR_REQUEST init (4),
98 DTE_RESET_REQUEST init (5),
99 CONRESP_WAITING init (6)
100 ) fixed bin static options (constant);
101
102 dcl xscep ptr;
103 dcl 1 xsce aligned based (xscep),
104 2 name char (32),
105 2 devx fixed bin,
106 2 lcx fixed bin,
107 2 state fixed bin,
108 2 flags,
109 3 output_ready bit (1) unaligned,
110 3 end_of_page bit (1) unaligned,
111 3 wru_done bit (1) unaligned,
112 3 need_ftd bit (1) unaligned,
113 3 long_packet_pending bit (1) unaligned,
114 3 pad bit (13) unaligned,
115 3 mode (18) bit (1) unaligned,
116 2 long_packet_next_scx fixed bin,
117 2 service char (12),
118 2 (write_head, write_tail) ptr,
119 2 trans_table_ptr ptr;
120
121 dcl (
122 SC_HUNGUP init (0),
123 SC_LISTENING init (1),
124 SC_DIALING init (2),
125 SC_DIALED init (3)
126 ) fixed bin static options (constant);
127
128 %include mcs_interrupt_info;
129
130