1 /* Begin include file lap_mpx_data.incl.pl1 */
 2 
 3 dcl  lmdp pointer;
 4 dcl  1 lmd aligned based (lmdp),
 5        2 dialup_info unaligned like dialup_info,
 6        2 mgr_ev_chn fixed bin (71),                         /* for notifying about crashes etc. */
 7        2 mgr_pid bit (36) aligned,
 8        2 max_frame_size fixed bin,                          /* N1 */
 9        2 pad fixed bin (35),
10        2 window uns fixed bin (3),                          /* max of 7 */
11        2 devx fixed bin,                                    /* multiplexer device index */
12        2 sc_devx fixed bin,                                 /* devx of subchannel */
13        2 activate_order aligned like LAP_ACTIVATE,          /* order for this subchannel */
14        2 state fixed bin (4),                               /* current state of link */
15        2 flags,
16          3 disc_first bit (1) unaligned,                    /* send DISC before bringing up link */
17          3 started bit (1) unaligned,                       /* dialups are allowed */
18          3 listen bit (1) unaligned,                        /* subchannel is listening */
19          3 active bit (1) unaligned,                        /* ACTIVATE order sent */
20          3 alt_seq bit (1) unaligned,                       /* odd number of reset's */
21          3 send_output bit (1) unaligned,                   /* ready for output */
22          3 output_ready bit (1) unaligned,                  /* must send a SEND_OUTPUT */
23          3 have_data bit (1) unaligned,                     /* have buffered data */
24          3 timer_mode bit (1) unaligned,                    /* recovering from a timeout */
25          3 timer_send bit (1) unaligned,
26          3 pad bit (26) unaligned,
27        2 reset_count fixed bin (35),                        /* number of resets */
28        2 seq_offset unsigned fixed bin (3),                 /* offset to frame number due to resets */
29        2 ack_frame unsigned fixed bin (3),                  /* last acknowledged frame */
30        2 send_frame unsigned fixed bin (3),                 /* frame in progress */
31        2 next_send_frame unsigned fixed bin (3),            /* next frame to be sent */
32        2 last_frame unsigned fixed bin (3),                 /* last buffered frame */
33        2 next_buffer unsigned fixed bin (18),               /* next buffer to send */
34        2 q_frames unsigned fixed bin (3),                   /* number of frames in queue */
35        2 frame (0:7),
36          3 time_entered fixed bin (71),
37          3 time_sent fixed bin (71),
38          3 chain unsigned fixed bin (18),                   /* buffer chains */
39        2 saved_meters_ptr ptr,                              /* unwired copy of meters */
40        2 meters like lap_mpx_meters;                        /* wired meters */
41 
42 dcl  (
43      HUNG_UP init (0),                                      /* link states */
44      LISTENING init (1),
45      DIALED init (2),
46      SETUP init (3),
47      LINK_UP init (4)
48      ) fixed bin (4) static options (constant);
49 
50 %include lap_mpx_meters;
51 
52 /* End include file lap_mpx_data.incl.pl1 */