1 
 2 /*             "net_data_transfer_dcls.incl.pl1" -- the include data that       */
 3 /*        declares the stream data block for the network Data Transfer DIM.     */
 4 
 5 /*        Originally created by D. M. Wells 1972, March 29.                     */
 6 
 7      declare
 8           1 SDB_template aligned based,
 9              2 next_block_ptr pointer,                      /* thread in list of SDB blocks                   */
10 
11              2 misc_info aligned,
12                 3 area_ptr pointer,
13 
14              2 parameters aligned,
15                 3 conn_event_channel fixed binary (71),     /* IPC channel for use in getting connected       */
16                 3 foreign_host fixed binary (16),           /* foreign host of desired connection             */
17                 3 foreign_socket fixed binary (32),         /* foreign socket at this foreign host            */
18                 3 userid fixed binary (24),                 /* userid of desird socket                        */
19                 3 local_pin fixed binary (8),               /* local pin we are to use                        */
20                 3 num_pins_allocated fixed binary (8),      /* number of pins we allocated (if any)           */
21 
22                 3 byte_size fixed binary (8),               /* byte size to use on this pair of sockets       */
23                 3 open_mode fixed binary (17),              /* stream_(input | input_output | output)         */
24                 3 control_bits unaligned,                   /* bits altered by control operations             */
25                    4 want_async_open bit (1),               /* on if we dont want open to block               */
26                    4 allow_partial_reads bit (1),           /* on if should return when get any bytes         */
27                    4 control_bits_pad bit (34),
28                 3 connection_mode fixed binary (17),        /* type of connection to make at open time        */
29                 3 xfer_mode fixed binary (3),               /* stream (1) | block (2) | compressed (3)        */
30                 3 timeout_period fixed binary (17),         /* time to allow for connections, etc.            */
31 
32                 3 filler_byte bit (255) aligned,            /* byte to be used as filler in compressed mode   */
33 
34              2 read_connection aligned,                     /* information about the read side of connection  */
35                 3 ncp_indx bit (36) unaligned,              /* NCP indx assigned to the read pin              */
36                 3 event_channel fixed binary (71),
37 
38              2 write_connection aligned,                    /* information about the write size of connection */
39                 3 ncp_indx bit (36) unaligned,
40                 3 event_channel fixed binary (71),
41 
42              2 xfer_buffer aligned,
43                 3 bit_offset fixed binary (24),
44                 3 num_bits fixed binary (24),
45                 3 workspace aligned,
46                    4 byte (0 : 9999) bit (1) unaligned,
47 
48              2 blocking,
49                 3 block_bytes_left fixed binary (24),
50                 3 replication fixed binary (24),
51                 3 replication_byte bit (255) aligned,
52                 3 descriptor_byte bit (255) aligned,
53 
54              2 end_of_SDB bit (1);
55 
56           /* end of "net_data_transfer_dcls.incl.pl1" --                        */
57