1
2
3
4
5
6
7
8
9 declare
10 (RECEIVE initial (0),
11 TRANSMIT initial (1))
12 fixed binary (1) internal static options (constant);
13
14 declare
15 1 SDB_template aligned based,
16 2 dim_name character (32) unaligned,
17 2 device_name_list pointer,
18 2 next_device pointer,
19 2 device_name_size fixed binary (24),
20 2 device_name character (32) unaligned,
21 2 r_ncp_idx fixed binary (12),
22 2 r_local_pin fixed binary (8),
23 2 w_ncp_idx fixed binary (12),
24 2 w_local_pin fixed binary (8),
25
26 2 mode_section aligned,
27 3 modes_inconsistent bit (1),
28 3 current_modes aligned,
29 4 mode_switches unaligned,
30 5 can bit (1),
31 5 erkl bit (1),
32 5 esc bit (1),
33 5 half bit (1),
34 5 tabsin bit (1),
35 5 edited bit (1),
36 5 red bit (1),
37 5 tabs bit (1),
38 5 rawi bit (1),
39 5 rawo bit (1),
40 5 handle_quit bit (1),
41 4 protocol_495 bit (1) unaligned,
42 4 allow_quits bit (1) unaligned,
43 4 do_telnet bit (1) unaligned,
44
45 3 canon_info aligned like canon_info_template,
46
47 3 break_chars aligned,
48 4 break (0 : 511) bit (1) unaligned,
49 3 read_delim_chars aligned,
50 4 delim (0 : 511) bit (1) unaligned,
51 3 old_term_type fixed binary (17),
52 3 terminal_type_name character (32) unaligned,
53 3 timeout_value fixed binary (17),
54
55 2 device_state aligned like device_state_template,
56 2 current_terminal_state aligned,
57 3 vacant bit (1) unaligned,
58 3 aborting_output bit (1) unaligned,
59
60 2 attachment_info aligned,
61 3 chan character (16) unaligned,
62 3 connect_done bit (1) unaligned,
63 3 attach_modes unaligned,
64 4 read bit (1),
65 4 write bit (1),
66 4 icp bit (1),
67 4 listen bit (1),
68 4 connect bit (1),
69 3 read_event_channel fixed binary (71),
70 3 write_event_channel fixed binary (71),
71 2 nextp pointer,
72
73 2 initial_raw_buffer aligned,
74 3 header like byte_buffer_header,
75 3 workspace aligned,
76 4 byte (0 : 1499) bit (9) unaligned,
77
78 2 output_buffer aligned,
79 3 header like byte_buffer_header,
80 3 workspace aligned,
81 4 byte8 (0 : 799) bit (8) unaligned,
82
83 2 string_ptr pointer,
84 2 area_ptr pointer,
85 2 output_ptr pointer,
86 2 rawbuffer_ptr pointer,
87
88 2 option_in_effect (0 : 1),
89 3 option (0 : 35) bit (1) unaligned,
90
91 2 option_in_negotiation (0 : 1),
92 3 option (0 : 35) bit (1) unaligned,
93
94 2 last_item_in_SDB bit (1) aligned;
95
96 declare
97 1 byte_buffer_header aligned based,
98 2 info aligned,
99 3 area_ptr pointer,
100 3 lock_word bit (36) aligned,
101 2 buffer_bound fixed binary (24),
102 2 byte_offset fixed binary (24),
103 2 num_bytes fixed binary (24);
104
105 % include net_conversion_dcls;
106
107
108