1 /* Begin include file lap_line_control.incl.pl1 */
 2 /* Written by C. Hornig, September 1979. */
 3 /* Modified by R. Harvey, November 1980 for system parameterization */
 4 
 5 /* Line Control Information */
 6 
 7 dcl  1 LAP_ACTIVATE aligned,
 8        2 order_type bit (18) unaligned init ("000001"b3),   /* constant */
 9        2 flags unaligned,
10          3 dce_mode bit (1) unaligned,                      /* we are DCE */
11          3 abm_mode bit (1) unaligned,                      /* default to LAPB */ /* UNUSED */
12          3 pad bit (16) unaligned,                          /* reserved */
13        2 pad bit (9) unaligned,                             /* expansion */
14        2 N2 uns fixed bin (9) unaligned,                    /* maximum retry count */
15        2 T1 uns fixed bin (9) unaligned,                    /* retransmission timer */
16        2 T3 uns fixed bin (9) unaligned;                    /* init timer */
17 dcl  (
18      LAP_DEACTIVATE init ("000002000000000000000000"b3),
19      LAP_SETUP init ("000003000000000000000000"b3),
20      LAP_DISCONNECT init ("000004000000000000000000"b3)
21      ) bit (72) aligned static options (constant);
22 
23 /* Line Status Information */
24 
25 dcl  1 lap_line_status aligned,
26        2 type unsigned fixed bin (18) unaligned,            /* status type, see below */
27        2 seqnum unsigned fixed bin (18) unaligned,          /* sequence number */
28        2 pad bit (36) unaligned;
29 
30 dcl  (
31      LAP_LINK_DOWN init (1),                                /* remote disconnect or setup failed */
32      LAP_LINK_UP init (2),                                  /* remote connect or setup succeeded */
33      LAP_TIMER_RECOVERY init (3),                           /* enter timer recovery mode */
34      LAP_REJECT init (4),                                   /* start retranmitting frames */
35      LAP_NORMAL init (5),                                   /* exit timer recovery mode */
36      LAP_LINK_RESET init (6),                               /* remote link reset */
37      LAP_ACK init (7)                                       /* frame acknowledgement */
38      ) unsigned fixed bin (18) static options (constant);
39 
40 /* End include file lap_line_control.incl.pl1 */