home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sockpli.zip / ACSMGTC.COP next >
Text File  |  1995-06-27  |  237KB  |  4,494 lines

  1.  /************************************************************/
  2.  /*                                                          */
  3.  /* Management Verb Control Blocks...                        */
  4.  /*                                                          */
  5.  /************************************************************/
  6.  
  7.  define structure
  8.    1 cnos,
  9.      2 opcode                     /* Verb operation code    */
  10.                                   type USHORT,
  11.  /*                               -------                   */
  12.      2 reserv2                    /* Reserved               */
  13.                                   char (2),
  14.  /*                               -------                   */
  15.      2 primary_rc                 /* Primary RETURN_CODE    */
  16.                                   type USHORT,
  17.  /*                               -------                   */
  18.      2 secondary_rc               /* Secondary RETURN_CODE  */
  19.                                   type ULONG,
  20.  /*                               -------                   */
  21.      2 key                        /* Key (ASCII)            */
  22.                                   char (8),
  23.  /*                               -------                   */
  24.      2 lu_alias                   /* LU Alias (ASCII)       */
  25.                                   char (8),
  26.  /*                               -------                   */
  27.      2 plu_alias                  /* Partner LU Alias       */
  28.                                   char (8),
  29.  /*                               -------                   */
  30.      2 fqplu_name                 /* FQ Partner LU Name
  31.                                   char (17),
  32.  /*                               -------                   */
  33.      2 reserv3                    /* Reserved               */
  34.                                   type UCHAR,
  35.  /*                               -------                   */
  36.      2 mode_name                  /* Mode Name              */
  37.                                   char (8),
  38.  /*                               -------                   */
  39.      2 mode_name_byte,            /* Mode Name              */
  40.        3 mode_name_select         /* Mode Name Select       */
  41.                                   bit (1),
  42.  /*                               --------                  */
  43.        3 set_negotiable           /* Set Negotiable Ind.    */
  44.                                   bit (1),
  45.  /*                               --------                  */
  46.        3 *                        /* Reserved               */
  47.                                   bit (6),
  48.  /*                               --------                  */
  49.      2 plu_mode_sess_lim          /* PLU mode session limit */
  50.                                   type USHORT,
  51.  /*                               -------                   */
  52.      2 min_conwinners_source      /* Min contention winners */
  53.                                   type USHORT,
  54.  /*                               -------                   */
  55.      2 min_conwinners_target      /* Min contention winners */
  56.                                   type USHORT,
  57.  /*                               -------                   */
  58.      2 auto_act                   /* Auto Activate          */
  59.                                   type USHORT;
  60.  /*                               ------------              */
  61.      2 misc_flag,
  62.        3 drain_target bit(1),
  63.                                                             */
  64.    /* Drain Target?                                         */
  65.        3 drain_source bit(1),
  66.                                                             */
  67.    /* Drain Source?                                         */
  68.        3 responsible bit(1),
  69.                                                             */
  70.    /* Responsible?                                          */
  71.        3 reserv6 bit(5),
  72.                                                             */
  73.    /* Reserved                                              */
  74.        3 reserv7 bit(8),
  75.                                                             */
  76.    /* Reserved                                              */
  77.  
  78.  define alias @cnos handle cnos;
  79.  
  80.  define structure
  81.    1 connect_physical_link,
  82.      2 opcode                     /* Verb operation code    */
  83.                                   type USHORT,
  84.  /*                               -------                   */
  85.      2 reserv2                    /* Reserved               */
  86.                                   char (2),
  87.  /*                               -------                   */
  88.      2 primary_rc                 /* Primary RETURN_CODE    */
  89.                                   type USHORT,
  90.  /*                               -------                   */
  91.      2 secondary_rc               /* Secondary RETURN_CODE  */
  92.                                   type ULONG,
  93.  /*                               -------                   */
  94.      2 key                        /* Key (ASCII)            */
  95.                                   char (8),
  96.  /*                               -------                   */
  97.      2 reserv3                    /* Reserved               */
  98.                                   char (8),
  99.  /*                               -------                   */
  100.      2 physical_link_name         /* Physical Link Name     */
  101.                                   char (8),
  102.  /*                               -------                   */
  103.      2 connection_type            /* Connection Type        */
  104.                                   type UCHAR,
  105.  /*                               -------                   */
  106.      2 reserv4                    /* Reserved               */
  107.                                   char (24);
  108.  /*                               -------                   */
  109.  
  110.  define alias @connect_physical_link handle connect_physical_link;
  111.  
  112.  
  113.  define structure
  114.    1 activate_dlc,
  115.      2 opcode                     /* Verb operation code    */
  116.                                   type USHORT,
  117.  /*                               -------                   */
  118.      2 reserv2                    /* Reserved               */
  119.                                   char (2),
  120.  /*                               -------                   */
  121.      2 primary_rc                 /* Primary RETURN_CODE    */
  122.                                   type USHORT,
  123.  /*                               -------                   */
  124.      2 secondary_rc               /* Secondary RETURN_CODE  */
  125.                                   type ULONG,
  126.  /*                               -------                   */
  127.      2 key                        /* Key (ASCII)            */
  128.                                   char (8),
  129.  /*                               -------                   */
  130.      2 dlc_name                   /* DLC name (ASCII)       */
  131.                                   char (8),
  132.  /*                               -------                   */
  133.      2 adapter_num                /* DLC adapter number     */
  134.                                   type UCHAR,
  135.  /*                               -------                   */
  136.      2 reserv3                    /* Reserved               */
  137.                                   type UCHAR,
  138.  /*                               -------                   */
  139.      2 reserv4                    Reserved                  */
  140.                                   type UCHAR;/*
  141.  /*                               -------                   */
  142.  
  143.  define alias @activate_dlc handle activate_dlc;
  144.  
  145.  
  146.  define structure
  147.    1 deactivate_dlc,
  148.      2 opcode                     /* Verb operation code    */
  149.                                   type USHORT,
  150.  /*                               -------                   */
  151.      2 reserv2                    /* Reserved               */
  152.                                   char (2),
  153.  /*                               -------                   */
  154.      2 primary_rc                 /* Primary RETURN_CODE    */
  155.                                   type USHORT,
  156.  /*                               -------                   */
  157.      2 secondary_rc               /* Secondary RETURN_CODE  */
  158.                                   type ULONG,
  159.  /*                               -------                   */
  160.      2 key                        /* Key (ASCII)            */
  161.                                   char (8),
  162.  /*                               -------                   */
  163.      2 dlc_name                   /* DLC name (ASCII)       */
  164.                                   char (8),
  165.  /*                               -------                   */
  166.      2 adapter_num                /* DLC adapter number     */
  167.                                   type UCHAR,
  168.  /*                               -------                   */
  169.      2 reserv3                    Reserved                  */
  170.                                   type UCHAR;/*
  171.  /*                               -------                   */
  172.  
  173.  define alias @deactivate_dlc handle deactivate_dlc;
  174.  
  175.  
  176.  define structure
  177.    1 activate_logical_links,
  178.      2 opcode                     /* Verb operation code    */
  179.                                   type USHORT,
  180.  /*                               -------                   */
  181.      2 reserv2                    /* Reserved               */
  182.                                   char (2),
  183.  /*                               -------                   */
  184.      2 primary_rc                 /* Primary RETURN_CODE    */
  185.                                   type USHORT,
  186.  /*                               -------                   */
  187.      2 secondary_rc               /* Secondary RETURN_CODE  */
  188.                                   type ULONG,
  189.  /*                               -------                   */
  190.      2 key                        /* Key (ASCII)            */
  191.                                   char (8),
  192.  /*                               -------                   */
  193.      2 link_name                  /* Link Name (EBCDIC type A) */
  194.                                   char (8),
  195.  /*                               -------                   */
  196.      2 number_of_links            Number of Links to Start  */
  197.                                   type UCHAR;/*
  198.  /*                               -------                   */
  199.  
  200.  define alias @activate_logical_links handle activate_logical_links;
  201.  
  202.  define structure
  203.    1 deactivate_logical_link,
  204.      2 opcode                     /* Verb operation code    */
  205.                                   type USHORT,
  206.  /*                               -------                   */
  207.      2 reserv2                    /* Reserved               */
  208.                                   char (2),
  209.  /*                               -------                   */
  210.      2 primary_rc                 /* Primary RETURN_CODE    */
  211.                                   type USHORT,
  212.  /*                               -------                   */
  213.      2 secondary_rc               /* Secondary RETURN_CODE  */
  214.                                   type ULONG,
  215.  /*                               -------                   */
  216.      2 key                        /* Key (ASCII)            */
  217.                                   char (8),
  218.  /*                               -------                   */
  219.      2 link_id                    /* Link ID                */
  220.                                   char (12),
  221.  /*                               -------                   */
  222.      2 type                       /* Type of link           */
  223.                                   type UCHAR,
  224.  /*                               -------                   */
  225.      2 reserv3                    /* Reserved               */
  226.                                   char (24)
  227.  /*                               -------                   */
  228.  
  229.  define alias @deactivate_logical_link handle deactivate_logical_link;
  230.  
  231.  
  232.  
  233.  define structure
  234.    1 deactivate_conv_group,
  235.      2 opcode                     /* Verb operation code    */
  236.                                   type USHORT,
  237.  /*                               -------                   */
  238.      2 reserv2                    /* Reserved               */
  239.                                   char (2),
  240.  /*                               -------                   */
  241.      2 primary_rc                 /* Primary RETURN_CODE    */
  242.                                   type USHORT,
  243.  /*                               -------                   */
  244.      2 secondary_rc               /* Secondary RETURN_CODE  */
  245.                                   type ULONG,
  246.  /*                               -------                   */
  247.      2 key                        /* Key (ASCII)            */
  248.                                   char (8),
  249.  /*                               -------                   */
  250.      2 lu_alias                   /* LU Alias (ASCII) 0 or 1-8 bytes
  251.                                   char (8),
  252.  /*                               -------                   */
  253.                                                             */
  254.      2 conv_group_id              /* Conversation Group ID  */
  255.                                   type ULONG,
  256.  /*                               -------                   */
  257.      2 type                       /* Type of Deactivate     */
  258.                                   type UCHAR,
  259.  /*                               -------                   */
  260.      2 reserv3                    /* Reserved               */
  261.                                   type UCHAR,
  262.  /*                               -------                   */
  263.      2 sense_data                 Sense data returned       */
  264.                                   char (4);/*
  265.  /*                               -------                   */
  266.  
  267.  define alias @deactivate_conv_group handle deactivate_conv_group;
  268.  
  269.  
  270.  define structure
  271.    1 deactivate_session,
  272.      2 opcode                     /* Verb operation code    */
  273.                                   type USHORT,
  274.  /*                               -------                   */
  275.      2 reserv2                    /* Reserved               */
  276.                                   char (2),
  277.  /*                               -------                   */
  278.      2 primary_rc                 /* Primary RETURN_CODE    */
  279.                                   type USHORT,
  280.  /*                               -------                   */
  281.      2 secondary_rc               /* Secondary RETURN_CODE  */
  282.                                   type ULONG,
  283.  /*                               -------                   */
  284.      2 key                        /* Key (ASCII)            */
  285.                                   char (8),
  286.  /*                               -------                   */
  287.      2 sess_id                    /* Session ID             */
  288.                                   char (8),
  289.  /*                               -------                   */
  290.      2 lu_alias                   /* LU Alias (ASCII)       */
  291.                                   char (8),
  292.  /*                               -------                   */
  293.    /* 0 or 1-8 bytes                                        */
  294.      2 plu_alias                  /* Partner LU Alias (ASCII) */
  295.                                   char (8),
  296.  /*                               -------                   */
  297.    /* 0 or 1-8 bytes                                        */
  298.      2 mode_name                  /* Mode Name (EBCDIC type A) */
  299.                                   char (8),
  300.  /*                               -------                   */
  301.    /* 0-17 bytes                                            */
  302.      2 type                       /* Type of Deactivate     */
  303.                                   type UCHAR,
  304.  /*                               -------                   */
  305.      2 reserv3                    /* Reserved               */
  306.                                   type UCHAR,
  307.  /*                               -------                   */
  308.      2 sense_data                 /* Sense data returned    */
  309.                                   char (4),
  310.  /*                               -------                   */
  311.      2 fqplu_name                 /* FQ Partner LU Name (EBCDIC ty
  312.                                   char (17),
  313.  /*                               -------                   */
  314.  pe A)*/
  315.    /* 0-17 bytes                                            */
  316.      2 reserv4                    Reserved                  */
  317.                                   char (20);/*
  318.  /*                               -------                   */
  319.  
  320.  define alias @deactivate_session handle deactivate_session;
  321.  
  322.  
  323.  define structure
  324.    1 disconnect_physical_link,
  325.      2 opcode                     /* Verb operation code    */
  326.                                   type USHORT,
  327.  /*                               -------                   */
  328.      2 reserv2                    /* Reserved               */
  329.                                   char (2),
  330.  /*                               -------                   */
  331.      2 primary_rc                 /* Primary RETURN_CODE    */
  332.                                   type USHORT,
  333.  /*                               -------                   */
  334.      2 secondary_rc               /* Secondary RETURN_CODE  */
  335.                                   type ULONG,
  336.  /*                               -------                   */
  337.      2 key                        /* Key (ASCII)            */
  338.                                   char (8),
  339.  /*                               -------                   */
  340.      2 reserv3                    /* Reserved               */
  341.                                   char (8),
  342.  /*                               -------                   */
  343.      2 physical_link_name         /* Physical Link Name     */
  344.                                   char (8),
  345.  /*                               -------                   */
  346.      2 reserv4                    Reserved                  */
  347.                                   char (24);/*
  348.  /*                               -------                   */
  349.  
  350.  define alias @disconnect_physical_link handle disconnect_physical_link;
  351.  
  352.  define structure
  353.    1 start_am,
  354.      2 opcode                     /* Verb operation code    */
  355.                                   type USHORT,
  356.  /*                               -------                   */
  357.      2 reserv2                    /* Reserved               */
  358.                                   char (2),
  359.  /*                               -------                   */
  360.      2 primary_rc                 /* Primary RETURN_CODE    */
  361.                                   type USHORT,
  362.  /*                               -------                   */
  363.      2 secondary_rc               /* Secondary RETURN_CODE  */
  364.                                   type ULONG,
  365.  /*                               -------                   */
  366.      2 key                        Key (ASCII)               */
  367.                                   char (8);/*
  368.  /*                               -------                   */
  369.  
  370.  define alias @start_am handle start_am;
  371.  
  372.  define structure
  373.    1 stop_am,
  374.      2 opcode                     /* Verb operation code    */
  375.                                   type USHORT,
  376.  /*                               -------                   */
  377.      2 reserv2                    /* Reserved               */
  378.                                   char (2),
  379.  /*                               -------                   */
  380.      2 primary_rc                 /* Primary RETURN_CODE    */
  381.                                   type USHORT,
  382.  /*                               -------                   */
  383.      2 secondary_rc               /* Secondary RETURN_CODE  */
  384.                                   type ULONG,
  385.  /*                               -------                   */
  386.      2 key                        Key (ASCII)               */
  387.                                   char (8);/*
  388.  /*                               -------                   */
  389.  
  390.  define alias @stop_am handle stop_am;
  391.  
  392.  define structure
  393.    1 accept_incoming_calls,
  394.      2 opcode                     /* Verb operation code    */
  395.                                   type USHORT,
  396.  /*                               -------                   */
  397.      2 reserv2                    /* Reserved               */
  398.                                   char (2),
  399.  /*                               -------                   */
  400.      2 primary_rc                 /* Primary RETURN_CODE    */
  401.                                   type USHORT,
  402.  /*                               -------                   */
  403.      2 secondary_rc               /* Secondary RETURN_CODE  */
  404.                                   type ULONG,
  405.  /*                               -------                   */
  406.      2 key                        /* Key (ASCII)            */
  407.                                   char (8),
  408.  /*                               -------                   */
  409.      2 icrt_name                  ICRT entry name (ASCII)   */
  410.                                   char (16);/*
  411.  /*                               -------                   */
  412.  
  413.  define alias @accept_incoming_calls handle accept_incoming_calls;
  414.  
  415.  define structure
  416.    1 reject_incoming_calls,
  417.      2 opcode                     /* Verb operation code    */
  418.                                   type USHORT,
  419.  /*                               -------                   */
  420.      2 reserv2                    /* Reserved               */
  421.                                   char (2),
  422.  /*                               -------                   */
  423.      2 primary_rc                 /* Primary RETURN_CODE    */
  424.                                   type USHORT,
  425.  /*                               -------                   */
  426.      2 secondary_rc               /* Secondary RETURN_CODE  */
  427.                                   type ULONG,
  428.  /*                               -------                   */
  429.      2 key                        /* Key (ASCII)            */
  430.                                   char (8),
  431.  /*                               -------                   */
  432.      2 icrt_name                  ICRT entry name (ASCII)   */
  433.                                   char (16);/*
  434.  /*                               -------                   */
  435.  
  436.  define alias @reject_incoming_calls handle reject_incoming_calls;
  437.  
  438.  define structure
  439.    1 psid_struct,
  440.      2 machine_type               /* Machine type           */
  441.                                   char (4),
  442.  /*                               -------                   */
  443.      2 machine_mod_num            /* Machine model number   */
  444.                                   char (3),
  445.  /*                               -------                   */
  446.      2 plant_of_mfg               /* IBM manufacturing plant */
  447.                                   char (2),
  448.  /*                               -------                   */
  449.      2 machine_seq_num            Machine sequence number
  450.                                   char (7);/*
  451.  /*                               -------                   */
  452.                                                             */
  453.  
  454.  define alias @psid_struct handle psid_struct;
  455.  define alias type_product_set_id type psid_struct;
  456.  define alias @type_product_set_id type @psid_struct;
  457.  
  458.  
  459.  define structure
  460.    1 sna_global_info_sect,
  461.    /********************************************************************
  462.  ******/
  463.     /* Error: /* The address of this structure should be: sna_global_inf
  464.  o_ptr                                                      */
  465.    /********************************************************************
  466.  ******/
  467.      2 version                    /* Communications Manager version */
  468.                                   type UCHAR,
  469.  /*                               -------                   */
  470.      2 release                    /* Communications Manager release */
  471.                                   type UCHAR,
  472.  /*                               -------                   */
  473.      2 net_name                   /* NETID (EBCDIC type A)  */
  474.                                   char (8),
  475.  /*                               -------                   */
  476.      2 pu_name                    /* PU name (EBCDIC type A) */
  477.                                   char (8),
  478.  /*                               -------                   */
  479.      2 node_id                    /* Node ID used in XID    */
  480.                                   char (4),
  481.  /*                               -------                   */
  482.      2 product_set_id             /* Product Set ID         */
  483.                                   type type_product_set_id,
  484.  /*                               -------                   */
  485.      2 alias_cp_name              /* Alias CP Name (ASCII)  */
  486.                                   char (8),
  487.  /*                               -------                   */
  488.      2 node_type                  /* Node Type              */
  489.                                   type UCHAR,
  490.  /*                               -------                   */
  491.      2 cp_nau_addr                /* CP NAU Address         */
  492.                                   type UCHAR,
  493.  /*                               -------                   */
  494.    /* 0 (not used...independent LU) OR                      */
  495.    /* 1-254                                                 */
  496.      2 reserv3                    Reserved                  */
  497.                                   char (6);/*
  498.  /*                               -------                   */
  499.    /********************************************************************
  500.  ****/
  501.    /* Additional fields may be added here in future releases */
  502.    /********************************************************************
  503.  ****/
  504.  
  505.  define alias @sna_global_info_sect handle sna_global_info_sect;
  506.  
  507.  
  508.  
  509.  define structure
  510.    1 lu62_info_sect,
  511.    /********************************************************************
  512.  ******/
  513.     /* Error: /* The address of this structure should be: lu62_info_ptr
  514.                                                             */
  515.    /********************************************************************
  516.  ******/
  517.      2 lu62_init_sect_len         /* Structure length       */
  518.                                   type ULONG,
  519.  /*                               -------                   */
  520.      2 num_lu62s                  /* Number of active LUs displayed */
  521.                                   type USHORT,
  522.  /*                               -------                   */
  523.      2 total_lu62s                Total Number of active LUs */
  524.                                   type USHORT;/*
  525.  /*                               -------                   */
  526.    /********************************************************************
  527.  ****/
  528.    /* Additional fields may be added here in future releases */
  529.    /********************************************************************
  530.  ****/
  531.  
  532.  define alias @lu62_info_sect handle lu62_info_sect;
  533.  
  534.  define structure
  535.    1 lu62_overlay,
  536.    /********************************************************************
  537.  ******/
  538.     /* Error: /* The address of the first of these structures should be:
  539.   lu62_info_ptr +*/
  540.    /* lu62_info_ptr->lu62_init_sect_len to find the next LU, add:
  541.                                                             */
  542.    /* lu62_entry_len                                        */
  543.    /********************************************************************
  544.  ******/
  545.      2 lu62_entry_len             /* Size of this LU entry  */
  546.                                   type ULONG,
  547.  /*                               -------                   */
  548.     /* Error: ULONG  lu62_overlay_len;           /* This value contains:
  549.                                                             */
  550.    /* sizeof(struct lu62_overlay) -                         */
  551.    /* sizeof(lu62_entry_len)                                */
  552.      2 lu_name                    /* LU Name (EBCDIC type A) */
  553.                                   char (8),
  554.  /*                               -------                   */
  555.      2 lu_alias                   /* LU Alias (ASCII)       */
  556.                                   char (8),
  557.  /*                               -------                   */
  558.      2 num_plus                   /* Number of partner LUs  */
  559.                                   type USHORT,
  560.  /*                               -------                   */
  561.      2 fqlu_name                  /* Fully Qualified LU Name */
  562.                                   char (17),
  563.  /*                               -------                   */
  564.    /* (EBCDIC type A)                                       */
  565.      2 default_lu                 /* Default LU?            */
  566.                                   type UCHAR,
  567.  /*                               -------                   */
  568.      2 reserv3                    /* Reserved               */
  569.                                   type UCHAR,
  570.  /*                               -------                   */
  571.      2 lu_local_addr              /* NAU address 0-254      */
  572.                                   type UCHAR,
  573.  /*                               -------                   */
  574.      2 lu_sess_lim                /* Configured session limit */
  575.                                   type USHORT,
  576.  /*                               -------                   */
  577.    /* 0-255                                                 */
  578.      2 max_tps                    /* Max number of TPs 1-255 */
  579.                                   type UCHAR,
  580.  /*                               -------                   */
  581.      2 lu_type                    /* Always LU type 6.2     */
  582.                                   type UCHAR,
  583.  /*                               -------                   */
  584.      2 pu_name                    PU Name (EBCDIC type A)   */
  585.                                   char (8);/*
  586.  /*                               -------                   */
  587.    /********************************************************************
  588.  ****/
  589.    /* Additional fields may be added here in future releases */
  590.    /********************************************************************
  591.  ****/
  592.  
  593.  define alias @lu62_overlay handle lu62_overlay;
  594.  
  595.  define structure
  596.    1 plu62_overlay,
  597.    /********************************************************************
  598.  ******/
  599.     /* Error: /* The address of the first of these structures should be:
  600.   The address of                                            */
  601.    /* the current lu62_overlay + lu62_overlay_len + sizeof(lu62_entry_le
  602.  n)                                                         */
  603.     /* Error: /* To find the next partner LU, add: plu62_entry_len.
  604.                                                             */
  605.    /********************************************************************
  606.  ******/
  607.      2 plu62_entry_len            /* Size of this partner LU */
  608.                                   type ULONG,
  609.  /*                               -------                   */
  610.     /* Error: ULONG  plu62_overlay_len;          /* This value contains:
  611.                                                             */
  612.    /* sizeof(struct plu62_overlay) -                        */
  613.    /* sizeof(plu62_entry_len)                               */
  614.      2 plu_alias                  /* Partner LU Alias (ASCII) */
  615.                                   char (8),
  616.  /*                               -------                   */
  617.      2 num_modes                  /* Number of modes        */
  618.                                   type USHORT,
  619.  /*                               -------                   */
  620.      2 plu_un_name                /* Partner LU Uninterpreted Name
  621.                                   char (8),
  622.  /*                               -------                   */
  623.                                                             */
  624.    /* (EBCDIC)                                              */
  625.      2 fqplu_name                 /* Fully Qualified Partner LU Na
  626.                                   char (17),
  627.  /*                               -------                   */
  628.  me                                                         */
  629.    /* (EBCDIC type A)                                       */
  630.      2 reserv3                    /* Reserved               */
  631.                                   type UCHAR,
  632.  /*                               -------                   */
  633.      2 plu_sess_lim               /* Partner LU session limit */
  634.                                   type USHORT,
  635.  /*                               -------                   */
  636.      2 dlc_name                   /* DLC name (ASCII)       */
  637.                                   char (8),
  638.  /*                               -------                   */
  639.      2 adapter_num                /* DLC adapter number     */
  640.                                   type UCHAR,
  641.  /*                               -------                   */
  642.      2 dest_addr_len              /* Length of adapter addr */
  643.                                   type UCHAR,
  644.  /*                               -------                   */
  645.      2 dest_addr                  /* Destination adapter addr */
  646.                                   char (32),
  647.  /*                               -------                   */
  648.        3 par_sess_supp bit(1),
  649.  sions?                                                     */
  650.        3 reserv4 bit(7),
  651.                                                             */
  652.        3 def_already_ver bit(1),
  653.  ready verif?                                               */
  654.        3 def_conv_sec bit(1),
  655.  nv security?                                               */
  656.        3 def_sess_sec bit(1),
  657.  ssion security*/
  658.        3 reserv5 bit(5),
  659.                                                             */
  660.        3 act_already_ver bit(1),
  661.  dy verified?                                               */
  662.        3 act_conv_sec bit(1),
  663.  rsation sec?                                               */
  664.        3 reserv6 bit(6),
  665.                                                             */
  666.        3 implicit_part bit(1),
  667.  ner?                                                       */
  668.        3 reserv7 bit(7),
  669.                                                             */
  670.      2  bit();
  671.  /*                               -------                   */
  672.    /********************************************************************
  673.  ****/
  674.    /* Additional fields may be added here in future releases */
  675.    /********************************************************************
  676.  ****/
  677.  
  678.  define alias @plu62_overlay handle plu62_overlay;
  679.  
  680.  define structure
  681.    1 mode_overlay,
  682.    /********************************************************************
  683.  ******/
  684.     /* Error: /* The address of the first of these structures should be:
  685.   The address of                                            */
  686.    /* the current plu62_overlay + plu62_overlay_len + sizeof(plu62_entry
  687.  _len)*/
  688.     /* Error: /* To find the next mode, add: mode_entry_len.
  689.                                                             */
  690.    /********************************************************************
  691.  ******/
  692.      2 mode_entry_len             /* Size of this mode      */
  693.                                   type ULONG,
  694.  /*                               -------                   */
  695.      2 mode_name                  /* Mode Name (EBCDIC type A) */
  696.                                   char (8),
  697.  /*                               -------                   */
  698.      2 max_ru_size_upp            /* Upper Limit on Max RU  */
  699.                                   type USHORT,
  700.  /*                               -------                   */
  701.      2 max_ru_size_low            /* Lower Limit on Max RU  */
  702.                                   type USHORT,
  703.  /*                               -------                   */
  704.      2 max_neg_sess_lim           /* Max Limit on Sessions  */
  705.                                   type USHORT,
  706.  /*                               -------                   */
  707.      2 curr_sess_lim              /* Current Session Limit  */
  708.                                   type USHORT,
  709.  /*                               -------                   */
  710.      2 min_win_lim                /* Min Negotiated Winners */
  711.                                   type USHORT,
  712.  /*                               -------                   */
  713.      2 min_lose_lim               /* Min Negotiated Losers  */
  714.                                   type USHORT,
  715.  /*                               -------                   */
  716.      2 act_sess_count             /* Active Session Count   */
  717.                                   type USHORT,
  718.  /*                               -------                   */
  719.      2 pend_sess_count            /* Pending Session Count  */
  720.                                   type USHORT,
  721.  /*                               -------                   */
  722.      2 auto_act_sess_count        /* Auto Activate Session Count */
  723.                                   type USHORT,
  724.  /*                               -------                   */
  725.      2 act_win_lim                /* Active Winner Sessions */
  726.                                   type USHORT,
  727.  /*                               -------                   */
  728.      2 act_lose_lim               /* Active Loser Sessions  */
  729.                                   type USHORT,
  730.  /*                               -------                   */
  731.      2 term_count                 /* Session Termination Count */
  732.                                   type USHORT,
  733.  /*                               -------                   */
  734.        3 drain_target bit(1),
  735.  ?                                                          */
  736.        3 drain_source bit(1),
  737.  ?                                                          */
  738.        3 reserv3 bit(6),
  739.                                                             */
  740.        3 pacing_size bit(8),
  741.  e                                                          */
  742.    /* The preceeding fields were previously defined as "unsigned char".
  743.                                                             */
  744.    /* They have been integrated into a bitfield to eliminate warning */
  745.    /* messages about 'bitfield types other than int'.       */
  746.        3 implicit_mode bit(1),
  747.  e?                                                         */
  748.        3 reserv4 bit(7),
  749.                                                             */
  750.        3 reserv5 bit(8),
  751.                                                             */
  752.      2 def_compression_need       /* Defined compression need */
  753.                                   type UCHAR,
  754.  /*                               -------                   */
  755.    /* for the mode. SYSTEM,                                 */
  756.    /* REQUESTED or PROHIBITED                               */
  757.      2 def_plu_slu_compression    /* plu to slu defined     */
  758.                                   type UCHAR,
  759.  /*                               -------                   */
  760.    /* compression algorithm                                 */
  761.    /* NONE, RLE, or LZ9                                     */
  762.      2 def_slu_plu_compression    slu to plu defined        */
  763.                                   type UCHAR;/*
  764.  /*                               -------                   */
  765.    /* compression algorithm                                 */
  766.    /* NONE, RLE, or LZ9                                     */
  767.    /********************************************************************
  768.  ****/
  769.    /* Reserved Additional fields may be added here in future releases */
  770.    /********************************************************************
  771.  ****/
  772.  
  773.  define alias @mode_overlay handle mode_overlay;
  774.  
  775.  define structure
  776.    1 am_info_sect,
  777.    /********************************************************************
  778.  ******/
  779.     /* Error: /* The address of this structure should be: am_info_ptr
  780.                                                             */
  781.    /********************************************************************
  782.  ******/
  783.      2 am_init_sect_len           /* Structure length       */
  784.                                   type ULONG,
  785.  /*                               -------                   */
  786.      2 am_active                  /* Attach Manager active? */
  787.                                   type UCHAR,
  788.  /*                               -------                   */
  789.      2 reserv4                    /* Reserved               */
  790.                                   type UCHAR,
  791.  /*                               -------                   */
  792.      2 num_tps                    Number of configured TPs  */
  793.                                   type USHORT;/*
  794.  /*                               -------                   */
  795.    /********************************************************************
  796.  ****/
  797.    /* Additional fields may be added here in future releases */
  798.    /********************************************************************
  799.  ****/
  800.  
  801.  define alias @am_info_sect handle am_info_sect;
  802.  
  803.  define structure
  804.    1 am_overlay,
  805.    /********************************************************************
  806.  ******/
  807.     /* Error: /* The address of the first of these structures should be:
  808.   am_info_ptr +                                             */
  809.    /* am_info_ptr->am_init_sect_len. To find the next block of TP, */
  810.     /* Error: /* information, add: am_entry_len.
  811.                                                             */
  812.    /********************************************************************
  813.  ******/
  814.      2 am_entry_len               /* Size of this structure */
  815.                                   type ULONG,
  816.  /*                               -------                   */
  817.      2 tp_name                    /* TP name (EBCDIC type AE) */
  818.                                   char (64),
  819.  /*                               -------                   */
  820.      2 filespec                   /* TP filespec (ASCII)    */
  821.                                   char (64),
  822.  /*                               -------                   */
  823.        3 reserv3 bit(1),
  824.                                                             */
  825.        3 sync_level_conf bit(1),
  826.  Confirm) ?                                                 */
  827.        3 sync_level_none bit(1),
  828.  None) ?                                                    */
  829.        3 reserv4 bit(5),
  830.                                                             */
  831.        3 conv_type bit(8),
  832.  on type                                                    */
  833.    /* The preceeding fields were previously defined as "unsigned char".
  834.                                                             */
  835.    /* They have been integrated into a bitfield to eliminate warning */
  836.    /* messages about 'bitfield types other than int'.       */
  837.      2 in_all_qdpth_lim           /* Incoming Allocate queue depth lim
  838.                                   type USHORT,
  839.  /*                               -------                   */
  840.                                                             */
  841.      2 in_all_qdpth               /* Incoming Allocate queue depth */
  842.                                   type USHORT,
  843.  /*                               -------                   */
  844.      2 in_all_timeout             /* Incoming Allocate t/o  */
  845.                                   fixed bin(15),
  846.  /*                               -------                   */
  847.      2 num_rcv_all_pend           /* Number of pending      */
  848.                                   type USHORT,
  849.  /*                               -------                   */
  850.    /* RECEIVE_ALLOCATEs                                     */
  851.      2 rcv_all_timeout            /* RECEIVE_ALLOCATE t/o   */
  852.                                   fixed bin(15),
  853.  /*                               -------                   */
  854.      2 tp_type                    /* TP type                */
  855.                                   type UCHAR,
  856.  /*                               -------                   */
  857.      2 pgm_state                  /* Program state          */
  858.                                   type UCHAR,
  859.  /*                               -------                   */
  860.      2 conv_sec                   /* Conversation security? */
  861.                                   type UCHAR,
  862.  /*                               -------                   */
  863.      2 reserv5                    /* Reserved               */
  864.                                   type UCHAR,
  865.  /*                               -------                   */
  866.      2 process_id                 /* OS/2 process ID        */
  867.                                   type USHORT,
  868.  /*                               -------                   */
  869.      2 parm_string                /* Pgm parameter string   */
  870.                                   char (32),
  871.  /*                               -------                   */
  872.      2 program_type               /* Program Type           */
  873.                                   type UCHAR,
  874.  /*                               -------                   */
  875.      2 reserv5a                   /* Reserved               */
  876.                                   type UCHAR,
  877.  /*                               -------                   */
  878.      2 tp_initiated               /* TP initiated           */
  879.                                   type UCHAR,
  880.  /*                               -------                   */
  881.      2 reserv6                    /* Reserved               */
  882.                                   type UCHAR,
  883.  /*                               -------                   */
  884.      2 icon_filespec              Icon Filespec (ASCII)     */
  885.                                   char (80);/*
  886.  /*                               -------                   */
  887.    /********************************************************************
  888.  ****/
  889.    /* Additional fields may be added here in future releases */
  890.    /********************************************************************
  891.  ****/
  892.  
  893.  define alias @am_overlay handle am_overlay;
  894.  
  895.  define structure
  896.    1 tp_info_sect,
  897.    /********************************************************************
  898.  ******/
  899.     /* Error: /* The address of this structure should be: tp_info_ptr
  900.                                                             */
  901.    /********************************************************************
  902.  ******/
  903.      2 tp_init_sect_len           /* Structure length       */
  904.                                   type ULONG,
  905.  /*                               -------                   */
  906.      2 num_tps                    /* Number of active TPs displayed */
  907.                                   type USHORT,
  908.  /*                               -------                   */
  909.      2 total_tps                  Total Number of Active TPs */
  910.                                   type USHORT;/*
  911.  /*                               -------                   */
  912.    /********************************************************************
  913.  ****/
  914.    /* Additional fields may be added here in future releases */
  915.    /********************************************************************
  916.  ****/
  917.  
  918.  define alias @tp_info_sect handle tp_info_sect;
  919.  
  920.  define structure
  921.    1 tp_overlay,
  922.    /********************************************************************
  923.  ******/
  924.     /* Error: /* The address of the first of these structures should be:
  925.   tp_info_ptr +                                             */
  926.    /* tp_info_ptr->tp_init_sect_len. To find the next block of active TP
  927.                                                             */
  928.     /* Error: /* information, add: tp_entry_len
  929.                                                             */
  930.    /********************************************************************
  931.  ******/
  932.      2 tp_entry_len               /* Size of this TP record */
  933.                                   type ULONG,
  934.  /*                               -------                   */
  935.     /* Error: ULONG  tp_overlay_len;             /* This value contains:
  936.                                                             */
  937.    /* sizeof(struct tp_overlay) -                           */
  938.    /* sizeof(tp_entry_len)                                  */
  939.      2 num_conv                   /* Number of conversations */
  940.                                   type USHORT,
  941.  /*                               -------                   */
  942.      2 tp_id                      /* TP ID                  */
  943.                                   char (8),
  944.  /*                               -------                   */
  945.      2 tp_name                    /* TP name (EBCDIC type AE) */
  946.                                   char (64),
  947.  /*                               -------                   */
  948.      2 user_id                    /* User ID (EBCDIC type AE) */
  949.                                   char (10),
  950.  /*                               -------                   */
  951.        3 reserv3 bit(7),
  952.                                                             */
  953.        3 loc_or_rem bit(1),
  954.  al or remote?                                              */
  955.        3 reserv4 bit(8),
  956.                                                             */
  957.      2 lu_alias                   /* LU_ALIAS (ASCII)       */
  958.                                   char (8),
  959.  /*                               -------                   */
  960.      2 luw_id                     Logical Unit of Work ID   */
  961.                                   type LUW_ID_OVERLAY;/*
  962.  /*                               -------                   */
  963.    /********************************************************************
  964.  ****/
  965.    /* Additional fields may be added here in future releases */
  966.    /********************************************************************
  967.  ****/
  968.  
  969.  define alias @tp_overlay handle tp_overlay;
  970.  
  971.  define structure
  972.    1 conv_overlay,
  973.    /********************************************************************
  974.  ******/
  975.     /* Error: /* The address of the first of these structures should be:
  976.   The address of                                            */
  977.    /* the current tp_overlay + tp_overlay_len + sizeof(tp_entry_len). To
  978.   find*/
  979.     /* Error: /* the next block of conversation information, add: conv_e
  980.  ntry_len                                                   */
  981.    /********************************************************************
  982.  ******/
  983.      2 conv_entry_len             /* Size of conversation information */
  984.                                   type ULONG,
  985.  /*                               -------                   */
  986.      2 conv_id                    /* Conversation ID        */
  987.                                   type ULONG,
  988.  /*                               -------                   */
  989.      2 conv_corr_len              /* Coversation correlator length */
  990.                                   type UCHAR,
  991.  /*                               -------                   */
  992.      2 conv_corr                  /* Conversation correlator */
  993.                                   char (8),
  994.  /*                               -------                   */
  995.      2 state                      /* Conversation state     */
  996.                                   type UCHAR,
  997.  /*                               -------                   */
  998.      2 sess_id                    /* Session ID             */
  999.                                   char (8),
  1000.  /*                               -------                   */
  1001.      2 sync_level                 /* Sync level             */
  1002.                                   type UCHAR,
  1003.  /*                               -------                   */
  1004.      2 conv_type                  /* Conversation type      */
  1005.                                   type UCHAR,
  1006.  /*                               -------                   */
  1007.      2 conv_group_id              /* Conversation Group ID  */
  1008.                                   type ULONG,
  1009.  /*                               -------                   */
  1010.      2 conversation_source        /* Source of conversation */
  1011.                                   type UCHAR,
  1012.  /*                               -------                   */
  1013.      2 conversation_style         /* Conversation style     */
  1014.                                   type UCHAR,
  1015.  /*                               -------                   */
  1016.      2 source_send_byte_count     /* Total bytes count
  1017.                                   char (8),
  1018.  /*                               -------                   */
  1019.  sent by source                                             */
  1020.    /* on conversation conv_id                               */
  1021.      2 target_send_byte_count     Total bytes count
  1022.                                   char (8);/*
  1023.  /*                               -------                   */
  1024.  sent by target                                             */
  1025.    /* on conversation conv_id                               */
  1026.    /********************************************************************
  1027.  ****/
  1028.    /* Additional fields may be added here in future releases */
  1029.    /********************************************************************
  1030.  ****/
  1031.  
  1032.  define alias @conv_overlay handle conv_overlay;
  1033.  
  1034.  define structure
  1035.    1 sess_info_sect,
  1036.    /********************************************************************
  1037.  ******/
  1038.     /* Error: /* The address of this structure should be: sess_info_ptr
  1039.                                                             */
  1040.    /********************************************************************
  1041.  ******/
  1042.      2 sess_init_sect_len         /* Structure length       */
  1043.                                   type ULONG,
  1044.  /*                               -------                   */
  1045.      2 num_sessions               /* Number of Active Aessions */
  1046.                                   type USHORT,
  1047.  /*                               -------                   */
  1048.      2 total_sessions             Total Number of Active Sessions */
  1049.                                   type USHORT;/*
  1050.  /*                               -------                   */
  1051.    /********************************************************************
  1052.  ****/
  1053.    /* Additional fields may be added here in future releases */
  1054.    /********************************************************************
  1055.  ****/
  1056.  
  1057.  define alias @sess_info_sect handle sess_info_sect;
  1058.  
  1059.  define structure
  1060.    1 sess_overlay,
  1061.    /********************************************************************
  1062.  ******/
  1063.     /* Error: /* The address of the first of these structures should be:
  1064.   sess_info_ptr +*/
  1065.    /* sess_info_ptr->sess_init_sect_len. To find the next block of sessi
  1066.  on                                                         */
  1067.     /* Error: /* information, add: sess_entry_len
  1068.                                                             */
  1069.    /********************************************************************
  1070.  ******/
  1071.      2 sess_entry_len             /* Size of session info   */
  1072.                                   type ULONG,
  1073.  /*                               -------                   */
  1074.      2 reserv3                    /* Reserved               */
  1075.                                   type ULONG,
  1076.  /*                               -------                   */
  1077.      2 sess_id                    /* Session ID             */
  1078.                                   char (8),
  1079.  /*                               -------                   */
  1080.      2 conv_id                    /* Conversation ID        */
  1081.                                   type ULONG,
  1082.  /*                               -------                   */
  1083.      2 lu_alias                   /* LU Alias (ASCII)       */
  1084.                                   char (8),
  1085.  /*                               -------                   */
  1086.      2 plu_alias                  /* Partner LU Alias (ASCII) */
  1087.                                   char (8),
  1088.  /*                               -------                   */
  1089.      2 mode_name                  /* Mode Name (EBCDIC type A) */
  1090.                                   char (8),
  1091.  /*                               -------                   */
  1092.      2 send_ru_size               /* Max RU size for send   */
  1093.                                   type USHORT,
  1094.  /*                               -------                   */
  1095.      2 rcv_ru_size                /* Max RU size for receive */
  1096.                                   type USHORT,
  1097.  /*                               -------                   */
  1098.      2 send_pacing_size           /* Send pacing size       */
  1099.                                   type UCHAR,
  1100.  /*                               -------                   */
  1101.      2 rcv_pacing_size            /* Receive pacing size    */
  1102.                                   type UCHAR,
  1103.  /*                               -------                   */
  1104.      2 link_id                    /* Link ID (in APPC),  or */
  1105.                                   char (12),
  1106.  /*                               -------                   */
  1107.    /* First Hop Link Name (in APPN)                         */
  1108.      2 daf                        /* Outbound DAF           */
  1109.                                   type UCHAR,
  1110.  /*                               -------                   */
  1111.      2 oaf                        /* Outbound OAF           */
  1112.                                   type UCHAR,
  1113.  /*                               -------                   */
  1114.      2 odai                       /* ODAI                   */
  1115.                                   type UCHAR,
  1116.  /*                               -------                   */
  1117.      2 sess_type                  /* Type of session        */
  1118.                                   type UCHAR,
  1119.  /*                               -------                   */
  1120.      2 conn_type                  /* Type of connection     */
  1121.                                   type UCHAR,
  1122.  /*                               -------                   */
  1123.      2 reserv4                    /* Reserved               */
  1124.                                   type UCHAR,
  1125.  /*                               -------                   */
  1126.      2 fqpcid                     /* Fully Qualified Procedure */
  1127.                                   type FQPCID_OVERLAY,
  1128.  /*                               -------                   */
  1129.    /* Correlation Identifier                                */
  1130.      2 cgid                       /* Conversation Group ID  */
  1131.                                   char (4),
  1132.  /*                               -------                   */
  1133.      2 fqlu_name                  /* Local Fully Qualifed LU Name
  1134.                                   char (17),
  1135.  /*                               -------                   */
  1136.                                                             */
  1137.    /* (EBCDIC)                                              */
  1138.      2 fqplu_name                 /* Partner Fully Qualifed LU Nam
  1139.                                   char (17),
  1140.  /*                               -------                   */
  1141.  e                                                          */
  1142.    /* (EBCDIC)                                              */
  1143.      2 pacing_type                /* Type of Pacing         */
  1144.                                   type UCHAR,
  1145.  /*                               -------                   */
  1146.      2 reserv5                    /* Reserved               */
  1147.                                   type UCHAR,
  1148.  /*                               -------                   */
  1149.      2 pri_lu_indicator           /* Source of bind on conversation */
  1150.                                   type UCHAR,
  1151.  /*                               -------                   */
  1152.      2 reserv6                    /* Reserved               */
  1153.                                   type UCHAR,
  1154.  /*                               -------                   */
  1155.      2 pri_lu_send_fmd_piu_count
  1156.                                   char (8),
  1157.  /*                               -------                   */
  1158.    /* FMD PIU count sent by Pri. LU                         */
  1159.      2 sec_lu_send_fmd_piu_count
  1160.                                   char (8),
  1161.  /*                               -------                   */
  1162.    /* FMD PIU count sent by Sec. LU                         */
  1163.      2 pri_lu_send_non_fmd_piu_count
  1164.                                   char (8),
  1165.  /*                               -------                   */
  1166.    /* Non-FMD PIU count sent by Pri. LU                     */
  1167.      2 sec_lu_send_non_fmd_piu_count
  1168.                                   char (8),
  1169.  /*                               -------                   */
  1170.    /* Non-FMD PIU count sent by Sec. LU                     */
  1171.      2 pri_lu_send_byte_count     /* Bytes sent on sess
  1172.                                   char (8),
  1173.  /*                               -------                   */
  1174.  ion by Pri. LU                                             */
  1175.      2 sec_lu_send_byte_count     /* Bytes sent on sess
  1176.                                   char (8),
  1177.  /*                               -------                   */
  1178.  ion by Sec. LU                                             */
  1179.      2 plu_slu_compression_level  /* Session compression level
  1180.                                   type UCHAR,
  1181.  /*                               -------                   */
  1182.  for                                                        */
  1183.    /* the PLU to SLU direction                              */
  1184.      2 plu_slu_compression_percent/* Ratio of compressed data
  1185.                                   type UCHAR,
  1186.  /*                               -------                   */
  1187.   count                                                     */
  1188.    /* to the uncompressed data count                        */
  1189.    /* for the PLU to SLU direction                          */
  1190.      2 slu_plu_compression_level  /* Session compression level
  1191.                                   type UCHAR,
  1192.  /*                               -------                   */
  1193.  for                                                        */
  1194.    /* the SLU to PLU direction                              */
  1195.      2 slu_plu_compression_percentRatio of compressed data
  1196.                                   type UCHAR;/*
  1197.  /*                               -------                   */
  1198.   count                                                     */
  1199.    /* to the uncompressed data count                        */
  1200.    /* for the SLU to PLU direction                          */
  1201.    /********************************************************************
  1202.  ****/
  1203.    /* Additional fields may be added here in future releases */
  1204.    /********************************************************************
  1205.  ****/
  1206.  
  1207.  define alias @sess_overlay handle sess_overlay;
  1208.  
  1209.  define structure
  1210.    1 link_info_sect,
  1211.    /********************************************************************
  1212.  ******/
  1213.     /* Error: /* The address of this structure should be: link_info_ptr
  1214.                                                             */
  1215.    /********************************************************************
  1216.  ******/
  1217.      2 link_init_sect_len         /* Structure length       */
  1218.                                   type ULONG,
  1219.  /*                               -------                   */
  1220.      2 num_links                  /* Number of active links */
  1221.                                   type USHORT,
  1222.  /*                               -------                   */
  1223.      2 total_links                Total number of active links */
  1224.                                   type USHORT;/*
  1225.  /*                               -------                   */
  1226.    /********************************************************************
  1227.  ****/
  1228.    /* Additional fields may be added here in future releases */
  1229.    /********************************************************************
  1230.  ****/
  1231.  
  1232.  define alias @link_info_sect handle link_info_sect;
  1233.  
  1234.  
  1235.  define structure
  1236.    1 link_overlay,
  1237.    /********************************************************************
  1238.  ******/
  1239.     /* Error: /* The address of the first of these structures should be:
  1240.   link_info_ptr +*/
  1241.    /* link_info_ptr->link_init_sect_len. To find the next block of link
  1242.                                                             */
  1243.     /* Error: /* information, add: link_entry_len
  1244.                                                             */
  1245.    /********************************************************************
  1246.  ******/
  1247.      2 link_entry_len             /* Size of link info,  incl link spec */
  1248.                                   type ULONG,
  1249.  /*                               -------                   */
  1250.      2 link_id                    /* Link ID (Link Name in EBCDIC A)
  1251.                                   char (12),
  1252.  /*                               -------                   */
  1253.                                                             */
  1254.      2 dlc_name                   /* DLC name (ASCII)       */
  1255.                                   char (8),
  1256.  /*                               -------                   */
  1257.      2 adapter_num                /* DLC adapter number     */
  1258.                                   type UCHAR,
  1259.  /*                               -------                   */
  1260.      2 dest_addr_len              /* Length of adapter addr */
  1261.                                   type UCHAR,
  1262.  /*                               -------                   */
  1263.      2 dest_addr                  /* Destination adapter addr */
  1264.                                   char (32),
  1265.  /*                               -------                   */
  1266.      2 inbound_outbound           /* Inbound or outbound?   */
  1267.                                   type UCHAR,
  1268.  /*                               -------                   */
  1269.      2 state                      /* Link state             */
  1270.                                   type UCHAR,
  1271.  /*                               -------                   */
  1272.      2 deact_link_flag            /* Deactivate logical link */
  1273.                                   type UCHAR,
  1274.  /*                               -------                   */
  1275.      2 reserv3                    /* Reserved               */
  1276.                                   type UCHAR,
  1277.  /*                               -------                   */
  1278.      2 num_sessions               /* Number of active sessions 0-65535 */
  1279.                                   type USHORT,
  1280.  /*                               -------                   */
  1281.      2 ru_size                    /* RU size 99-32767 (BTU Size) */
  1282.                                   type USHORT,
  1283.  /*                               -------                   */
  1284.      2 reserv4                    /* Reserved               */
  1285.                                   type USHORT,
  1286.  /*                               -------                   */
  1287.      2 adj_fq_cp_name             /* Adjacent Fully Qualified
  1288.                                   char (17),
  1289.  /*                               -------                   */
  1290.  CP Name                                                    */
  1291.      2 reserv5                    /* Reserved               */
  1292.                                   type UCHAR,
  1293.  /*                               -------                   */
  1294.      2 adj_node_type              /* Adjacent Node Type     */
  1295.                                   type UCHAR,
  1296.  /*                               -------                   */
  1297.      2 cp_cp_sess_spt             /* CP CP Session Support  */
  1298.                                   type UCHAR,
  1299.  /*                               -------                   */
  1300.      2 conn_type                  /* Type of Connection     */
  1301.                                   type UCHAR,
  1302.  /*                               -------                   */
  1303.      2 ls_role                    /* Link Station Role      */
  1304.                                   type UCHAR,
  1305.  /*                               -------                   */
  1306.      2 line_type                  /* Line Type              */
  1307.                                   type UCHAR,
  1308.  /*                               -------                   */
  1309.      2 tg_number                  /* Transmission Group Number */
  1310.                                   type UCHAR,
  1311.  /*                               -------                   */
  1312.      2 eff_capacity               /* Effective Capacity     */
  1313.                                   type ULONG,
  1314.  /*                               -------                   */
  1315.    /* 0 │ 1200 │ 2400 │ ...                                 */
  1316.    /* ... │ 16M │ ...                                       */
  1317.      2 conn_cost                  /* Cost Per Connect Time  */
  1318.                                   type UCHAR,
  1319.  /*                               -------                   */
  1320.      2 byte_cost                  /* Cost Per Byte          */
  1321.                                   type UCHAR,
  1322.  /*                               -------                   */
  1323.      2 propagation_delay          /* AP_PROP_DELAY_MINIMUM  */
  1324.                                   type UCHAR,
  1325.  /*                               -------                   */
  1326.      2 user_def_1                 /* User Defined 1         */
  1327.                                   type UCHAR,
  1328.  /*                               -------                   */
  1329.      2 user_def_2                 /* User Defined 2         */
  1330.                                   type UCHAR,
  1331.  /*                               -------                   */
  1332.      2 user_def_3                 /* User Defined 3         */
  1333.                                   type UCHAR,
  1334.  /*                               -------                   */
  1335.      2 security                   /* Security               */
  1336.                                   type UCHAR,
  1337.  /*                               -------                   */
  1338.      2 reserv6                    /* Reserved               */
  1339.                                   type UCHAR,
  1340.  /*                               -------                   */
  1341.      2 pu_name                    /* PU Name (EBCDIC Type A) */
  1342.                                   char (8),
  1343.  /*                               -------                   */
  1344.      2 subfields_start            /* Pointer to link-related subfie
  1345.                                   ptr seg,
  1346.  /*                               -------                   */
  1347.  lds                                                        */
  1348.      2 node_id_sent               /* Node (XID) sent to adjacent
  1349.                                   char (4),
  1350.  /*                               -------                   */
  1351.  node                                                       */
  1352.      2 node_id_rcvd               Node (XID) received from adj
  1353.                                   char (4);/*
  1354.  /*                               -------                   */
  1355.   node                                                      */
  1356.    /********************************************************************
  1357.  ****/
  1358.    /* Additional fields may be added here in future releases */
  1359.    /********************************************************************
  1360.  ****/
  1361.    /********************************************************************
  1362.  ****/
  1363.    /* Link-related subfields may be present here. They will be counted
  1364.                                                             */
  1365.    /* in the link_entry_len, and will be pointed to by subfields_start.
  1366.                                                             */
  1367.    /* If subfields_start is NULL, no subfields are present for this link
  1368.  .                                                          */
  1369.    /*                                                       */
  1370.     /* Error: /* Not all subfields will be present for every link: Only
  1371.  IDLC & X.25                                                */
  1372.    /* have protocol-specific information and the CCITT subfields present
  1373.                                                             */
  1374.    /* will vary with the network and/or switch provider.    */
  1375.    /*                                                       */
  1376.    /* To access the subfields, set a pointer equal to subfields_start,
  1377.                                                             */
  1378.    /* cast to SSMGT_SUBFIELD type and examine the identification and typ
  1379.  e                                                          */
  1380.    /* fields to determine what type of subfield it is. If you wish to */
  1381.    /* process the subfield, cast the pointer to the appropriate subfield
  1382.                                                             */
  1383.    /* type, chosen from the following declarations. Note that there */
  1384.    /* new subfields added in the future; your program should ignore any
  1385.                                                             */
  1386.    /* such subfield it does not know how to process.        */
  1387.    /*                                                       */
  1388.    /* To advance to the next subfield, add the subfield length to the */
  1389.    /* SSMGT_SUBFIELD pointer and repeat the process, stopping when the
  1390.                                                             */
  1391.    /* offset of the SSMGT_SUBFIELD pointer passes the link_entry_len. */
  1392.    /********************************************************************
  1393.  ****/
  1394.    /********************************************************************
  1395.  ****/
  1396.    /* Additional fields of unspecified length are located in this positi
  1397.  on.*/
  1398.    /* Use link_entry_len to skip over them.                 */
  1399.    /********************************************************************
  1400.  ****/
  1401.  
  1402.  define alias @link_overlay handle link_overlay;
  1403.  
  1404.  define structure
  1405.    1 ssmgt_subfield,
  1406.      2 sf_length                  /* Subfield length (inclusive) */
  1407.                                   type USHORT,
  1408.  /*                               -------                   */
  1409.      2 sf_identifier              /* Subfield class identifier */
  1410.                                   type UCHAR,
  1411.  /*                               -------                   */
  1412.    /* SF_SFID_CCITT 0x80                                    */
  1413.    /* SF_SFID_NETWORK_SPECIFIC 0x01                         */
  1414.    /* SF_SFID_PROD_SPECIFIC 0x02                            */
  1415.    /* SF_SFID_PRM_SPECIFIC 0x04                             */
  1416.    /*                                                       */
  1417.      2 sf_type                    Subfield type within class */
  1418.                                   type UCHAR;/*
  1419.  /*                               -------                   */
  1420.     /* Error: /*  for SF_SFID_CCITT:                        */
  1421.    /* SF_CC_TYPE_BEAR_CAP 0x04                              */
  1422.    /* SF_CC_TYPE_CHANNEL_ID 0x18                            */
  1423.    /* SF_CC_TYPE_CALLING_NUMBER 0x6C                        */
  1424.    /* SF_CC_TYPE_CALLED_NUMBER 0x70                         */
  1425.    /* SF_CC_TYPE_CALLING_SUBADDR 0x6D                       */
  1426.    /* SF_CC_TYPE_CALLED_SUBADDR 0x71                        */
  1427.    /* SF_CC_TYPE_LOW_LAYER_COMP 0x7C                        */
  1428.    /* SF_CC_TYPE_HIGH_LAYER_COMP 0x7D                       */
  1429.    /* SF_CC_TYPE_USER_USER_INFO 0x7E                        */
  1430.    /* SF_CC_TYPE_DISPLAY 0x28                               */
  1431.    /*                                                       */
  1432.     /* Error: /*  for SF_SFID_NETWORK_SPECIFIC:             */
  1433.    /* SF_CC_TYPE_NS_DATE 0x03                               */
  1434.    /*                                                       */
  1435.     /* Error: /*  for SF_SFID_PRM_SPECIFIC:                 */
  1436.    /*                                                       */
  1437.    /* SF_CC_TYPE_CALL_INFO 0x01                             */
  1438.    /*                                                       */
  1439.     /* Error: /*  for SF_SFID_PRD_SPECIFIC:                 */
  1440.    /*                                                       */
  1441.    /* SF_PS_TYPE_PROT_SPECIFIC 0x01                         */
  1442.    /********************************************************************
  1443.  ****/
  1444.    /* Additional subfield-dependent fields are located in this position.
  1445.                                                             */
  1446.    /* See the individual subfield declarations for details, or use the
  1447.                                                             */
  1448.    /* subfield length to skip over them.                    */
  1449.    /********************************************************************
  1450.  ****/
  1451.  
  1452.  define alias @ssmgt_subfield handle ssmgt_subfield;
  1453.  
  1454.  define structure
  1455.    1 prot_spec_sf,
  1456.      2 length                     /* SF length - varies     */
  1457.                                   type USHORT,
  1458.  /*                               -------                   */
  1459.      2 identifier                 /* SF identifier          */
  1460.                                   type UCHAR,
  1461.  /*                               -------                   */
  1462.    /* SF_SFID_PRD_SPECIFIC 0x02                             */
  1463.      2 type                       /* SF type                */
  1464.                                   type UCHAR,
  1465.  /*                               -------                   */
  1466.    /* SF_PS_TYPE_PROT_SPECIFIC 0x01                         */
  1467.      2 protocol_id                /* Connection Mgr protocol id */
  1468.                                   type UCHAR,
  1469.  /*                               -------                   */
  1470.    /* CMI_CM_PROT_ID_X_25 0x03                              */
  1471.    /* CMI_CM_PROT_ID_IDLC 0x05                              */
  1472.      2 prot_spec_sf_data          varies by protocol id
  1473.                                   char (1);/*
  1474.  /*                               -------                   */
  1475.                                                             */
  1476.  
  1477.  define alias @prot_spec_sf handle prot_spec_sf;
  1478.  
  1479.  define structure
  1480.    1 idlc_prot_spec_sf,
  1481.      2 length                     /* SF length 14           */
  1482.                                   type USHORT,
  1483.  /*                               -------                   */
  1484.      2 identifier                 /* SF identifier          */
  1485.                                   type UCHAR,
  1486.  /*                               -------                   */
  1487.    /* SF_SFID_PRD_SPECIFIC 0x02                             */
  1488.      2 type                       /* SF type                */
  1489.                                   type UCHAR,
  1490.  /*                               -------                   */
  1491.    /* SF_PS_TYPE_PROT_SPECIFIC 0x01                         */
  1492.      2 prot_id                    /* protocol id            */
  1493.                                   type UCHAR,
  1494.  /*                               -------                   */
  1495.    /* CMI_CM_PROT_ID_IDLC 0x05                              */
  1496.      2 idlc_N200                  /* retransmission counter */
  1497.                                   type UCHAR,
  1498.  /*                               -------                   */
  1499.      2 idlc_N201                  /* maximum I-frame size   */
  1500.                                   type USHORT,
  1501.  /*                               -------                   */
  1502.      2 idlc_T200                  /* retransmission timer   */
  1503.                                   type USHORT,
  1504.  /*                               -------                   */
  1505.      2 idlc_T203                  /* inactivity timer       */
  1506.                                   type USHORT,
  1507.  /*                               -------                   */
  1508.      2 idlc_k                     /* max number unacknowledged I-frames*/
  1509.                                   type UCHAR,
  1510.  /*                               -------                   */
  1511.      2 idlc_Nw                    dynamic window step size  */
  1512.                                   type UCHAR;/*
  1513.  /*                               -------                   */
  1514.    /********************************************************************
  1515.  ****/
  1516.    /* Additional fields may be added here in future releases. */
  1517.    /********************************************************************
  1518.  ****/
  1519.  
  1520.  define alias @idlc_prot_spec_sf handle idlc_prot_spec_sf;
  1521.  
  1522.  define structure
  1523.    1 x25_prot_spec_sf,
  1524.      2 length                     /* SF length 22           */
  1525.                                   type USHORT,
  1526.  /*                               -------                   */
  1527.      2 identifier                 /* SF identifier          */
  1528.                                   type UCHAR,
  1529.  /*                               -------                   */
  1530.    /* SF_SFID_PRD_SPECIFIC 0x02                             */
  1531.      2 type                       /* SF type                */
  1532.                                   type UCHAR,
  1533.  /*                               -------                   */
  1534.    /* SF_PS_TYPE_PROT_SPECIFIC 0x01                         */
  1535.      2 prot_id                    /* Protocol identifier    */
  1536.                                   type UCHAR,
  1537.  /*                               -------                   */
  1538.    /* CMI_CM_PROT_ID_X_25 0x03                              */
  1539.      2 destination_name           /* Destination directory na
  1540.                                   char (8),
  1541.  /*                               -------                   */
  1542.  me                                                         */
  1543.      2 destination_type           /* CCITT protocol compatibility */
  1544.                                   type UCHAR,
  1545.  /*                               -------                   */
  1546.    /* 0x00 = CCITT 1980 version                             */
  1547.    /* 0x01 = CCITT 1984 version                             */
  1548.      2 req_rev_charge             /* Outgoing calls will be collect */
  1549.                                   type UCHAR,
  1550.  /*                               -------                   */
  1551.      2 accept_rev_charge          /* Accept incoming collect calls */
  1552.                                   type UCHAR,
  1553.  /*                               -------                   */
  1554.      2 x25_protocol_version       /* SNA protocol version used */
  1555.                                   type UCHAR,
  1556.  /*                               -------                   */
  1557.    /* 0x00 = QLLC                                           */
  1558.      2 retry_count                /* Max number of timeout retries */
  1559.                                   type USHORT,
  1560.  /*                               -------                   */
  1561.      2 timeout                    /* Time between retries   */
  1562.                                   type USHORT,
  1563.  /*                               -------                   */
  1564.      2 incoming_packet_size       /* Packet size expected   */
  1565.                                   type USHORT,
  1566.  /*                               -------                   */
  1567.      2 retry_call_collision       Retry flag if call collision */
  1568.                                   type UCHAR;/*
  1569.  /*                               -------                   */
  1570.    /********************************************************************
  1571.  ****/
  1572.    /* Additional fields may be added here in future releases. */
  1573.    /********************************************************************
  1574.  ****/
  1575.  
  1576.  define alias @x25_prot_spec_sf handle x25_prot_spec_sf;
  1577.  
  1578.  define structure
  1579.    1 cmgr_ci_subfield,
  1580.      2 length                     /* subfield length        */
  1581.                                   type USHORT,
  1582.  /*                               -------                   */
  1583.      2 identifier                 /* SF_SFID_PRM_SPECIFIC   */
  1584.                                   type UCHAR,
  1585.  /*                               -------                   */
  1586.      2 type                       /* SF_CC_TYPE_CALL_INFO   */
  1587.                                   type UCHAR,
  1588.  /*                               -------                   */
  1589.      2 entryname                  /* OCDT Entry Name or blank */
  1590.                                   char (16),
  1591.  /*                               -------                   */
  1592.      2 call_state                 /* switched call state    */
  1593.                                   type UCHAR,
  1594.  /*                               -------                   */
  1595.    /* CS_NULL_CALL 0x00                                     */
  1596.    /* CS_OUT_CALL_ORIG 0x01                                 */
  1597.    /* CS_OVERLAP_SEND 0x02                                  */
  1598.    /* CS_OUT_CALL_PROC 0x03                                 */
  1599.    /* CS_OUT_CALL_DELIVERED 0x04                            */
  1600.    /* CS_OUT_CALL_CONN_PEND 0x05                            */
  1601.    /* CS_IN_CALL_PRESENT 0x06                               */
  1602.    /* CS_IN_CALL_RECV 0x07                                  */
  1603.    /* CS_IN_CALL_CONN_PEND 0x08                             */
  1604.    /* CS_IN_CALL_PROC 0x09                                  */
  1605.    /* CS_ACTIVE_CALL 0x0A                                   */
  1606.    /* CS_DISC_REQUEST 0x0B                                  */
  1607.    /* CS_DISC_INDICATION 0x0C                               */
  1608.      2 call_direction             /* switched call type     */
  1609.                                   type UCHAR,
  1610.  /*                               -------                   */
  1611.    /* CS_TYPE_INCOMING 0x00                                 */
  1612.    /* CS_TYPE_OUTGOING 0x01                                 */
  1613.      2 pcm_name                   /* name of PCM controlling this ca
  1614.                                   char (16),
  1615.  /*                               -------                   */
  1616.  ll                                                         */
  1617.      2 adapter_num                /* logical adapter number */
  1618.                                   type UCHAR,
  1619.  /*                               -------                   */
  1620.      2 protocol_id                protocol in use on B channel */
  1621.                                   type UCHAR;/*
  1622.  /*                               -------                   */
  1623.    /* PROT_ID_UNSPECIFIED 0x00                              */
  1624.    /* PROT_ID_802_2 0x01                                    */
  1625.    /* PROT_ID_NETBIOS 0x02                                  */
  1626.    /* PROT_ID_X_25 0x03                                     */
  1627.    /* PROT_ID_SDLC 0x04                                     */
  1628.    /* PROT_ID_IDLC 0x05                                     */
  1629.    /********************************************************************
  1630.  ****/
  1631.    /* Additional fields may be added here in future releases. */
  1632.    /********************************************************************
  1633.  ****/
  1634.  
  1635.  define alias @cmgr_ci_subfield handle cmgr_ci_subfield;
  1636.  
  1637.  define structure
  1638.    1 bearer_capability,
  1639.      2 length                     /*                        */
  1640.                                   type USHORT,
  1641.  /*                               -------                   */
  1642.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1643.                                   type UCHAR,
  1644.  /*                               -------                   */
  1645.      2 type                       SF_CC_TYPE_BEAR_CAP 0x04  */
  1646.                                   type UCHAR;/*
  1647.  /*                               -------                   */
  1648.     /* Error: UCHAR  call_type;                  /* Type (mode) of call:
  1649.                                                             */
  1650.    /* CALL_TYPE_CIRCUIT 0x02                                */
  1651.    /* CALL_TYPE_PACKET 0x03                                 */
  1652.    /********************************************************************
  1653.  ****/
  1654.    /* Additional fields may be added here in future releases. */
  1655.    /********************************************************************
  1656.  ****/
  1657.  
  1658.  define alias @bearer_capability handle bearer_capability;
  1659.  
  1660.  define structure
  1661.    1 channel_id,
  1662.      2 length                     /*                        */
  1663.                                   type USHORT,
  1664.  /*                               -------                   */
  1665.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1666.                                   type UCHAR,
  1667.  /*                               -------                   */
  1668.      2 type                       SF_CC_TYPE_CHANNEL_ID 0x18 */
  1669.                                   type UCHAR;/*
  1670.  /*                               -------                   */
  1671.     /* Error: UCHAR  channel_pref;               /* Channel preferred vs
  1672.   required:                                                 */
  1673.    /* CHANNEL_PREFFERED 0x00                                */
  1674.    /* CHANNEL_REQUIRED 0x01                                 */
  1675.     /* Error: UCHAR  d_channel_ind;              /* D channel indicator:
  1676.                                                             */
  1677.    /* D_CHANNEL_IDENTIFIED 0x00                             */
  1678.    /* B_CHANNEL_IDENTIFIED 0x01                             */
  1679.     /* Error: UCHAR  channel_sel;                /* Channel selector:
  1680.                                                             */
  1681.    /* NO_CHANNEL 0x00                                       */
  1682.    /* B1_CHANNEL 0x01                                       */
  1683.    /* B2_CHANNEL 0x02                                       */
  1684.    /* ANY_CHANNEL 0x03                                      */
  1685.     /* Error: UCHAR  takeover_opt;               /* Channel takeover opt
  1686.  ion:                                                       */
  1687.    /* NO_TAKEOVER 0x00                                      */
  1688.    /* TAKEOVER 0x01                                         */
  1689.    /********************************************************************
  1690.  ****/
  1691.    /* Additional fields may be added here in future releases. */
  1692.    /********************************************************************
  1693.  ****/
  1694.  
  1695.  define alias @channel_id handle channel_id;
  1696.  
  1697.  define structure
  1698.    1 calling_number,
  1699.      2 length                     /*                        */
  1700.                                   type USHORT,
  1701.  /*                               -------                   */
  1702.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1703.                                   type UCHAR,
  1704.  /*                               -------                   */
  1705.      2 type                       /* SF_CC_TYPE_CALLING_NUMBER 0x6C */
  1706.                                   type UCHAR,
  1707.  /*                               -------                   */
  1708.     /* Error: UCHAR  number_type;                /* Calling number type:
  1709.                                                             */
  1710.    /* NUMBER_TYPE_UNKNOWN 0x00*/
  1711.    /* NUMBER_TYPE_INTERNATIONAL 0x01*/
  1712.    /* NUMBER_TYPE_NATIONAL 0x02*/
  1713.    /* NUMBER_TYPE_NETWORK_SPECIFIC 0x03*/
  1714.    /* NUMBER_TYPE_SUBSCRIBER 0x04*/
  1715.    /* NUMBER_TYPE_ABBREVIATED 0x06*/
  1716.     /* Error: UCHAR  number_plan;                /* Numbering plan:
  1717.                                                             */
  1718.    /* NUMBER_PLAN_UNKNOWN 0x00                              */
  1719.    /* NUMBER_PLAN_ISDN 0x01                                 */
  1720.    /* NUMBER_PLAN_PRIVATE 0x09                              */
  1721.     /* Error: UCHAR  number_presentation;        /* Presentation indicat
  1722.  or:                                                        */
  1723.    /* PRESENTATION_ALLOWED 0x00                             */
  1724.    /* PRESENTATION_RESTRICTED 0x01                          */
  1725.    /* PRESENTATION_NOT_AVAILABLE 0x02                       */
  1726.     /* Error: UCHAR  number_screening;           /* Screening indicator:
  1727.                                                             */
  1728.    /* NOT_SCREENED 0x00                                     */
  1729.    /* SCREENING_PASSED 0x01                                 */
  1730.    /* SCREENING_FAILED 0x02                                 */
  1731.    /* SCREENING_NETWORK_PROVIDED 0x03                       */
  1732.      2 number_length              /* Number length,  in binary */
  1733.                                   type UCHAR,
  1734.  /*                               -------                   */
  1735.      2 number_chars               Number characters,  in IA5 */
  1736.                                   char (1);/*
  1737.  /*                               -------                   */
  1738.    /********************************************************************
  1739.  ****/
  1740.    /* Additional fields may be added here in future releases. */
  1741.    /********************************************************************
  1742.  ****/
  1743.  
  1744.  define alias @calling_number handle calling_number;
  1745.  
  1746.  define structure
  1747.    1 called_number,
  1748.      2 length                     /*                        */
  1749.                                   type USHORT,
  1750.  /*                               -------                   */
  1751.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1752.                                   type UCHAR,
  1753.  /*                               -------                   */
  1754.      2 type                       /* SF_CC_TYPE_CALLED_NUMBER 0x70 */
  1755.                                   type UCHAR,
  1756.  /*                               -------                   */
  1757.     /* Error: UCHAR  number_type;                /* Called number type:
  1758.                                                             */
  1759.    /* see values for calling number                         */
  1760.     /* Error: UCHAR  number_plan;                /* Numbering plan: see
  1761.  values above                                               */
  1762.      2 number_length              /* Number length,  in binary */
  1763.                                   type UCHAR,
  1764.  /*                               -------                   */
  1765.      2 number_chars               Number characters,  in IA5 */
  1766.                                   char (1);/*
  1767.  /*                               -------                   */
  1768.    /********************************************************************
  1769.  ****/
  1770.    /* Additional fields may be added here in future releases. */
  1771.    /********************************************************************
  1772.  ****/
  1773.  
  1774.  define alias @called_number handle called_number;
  1775.  
  1776.  /*********************************************************************
  1777.                                                             */
  1778.  /* The following subfield definition applies to both the calling and
  1779.                                                             */
  1780.  /* called subaddress subfields.  The layout of the two subfields is
  1781.                                                             */
  1782.  /* identical; only the type differs: 0x6d for calling subaddress; and
  1783.                                                             */
  1784.  /* 0x71 for called subaddress.
  1785.                                                             */
  1786.  /*********************************************************************
  1787.                                                             */
  1788.  
  1789.  define structure
  1790.    1 ccitt_subaddress,
  1791.      2 length                     /*                        */
  1792.                                   type USHORT,
  1793.  /*                               -------                   */
  1794.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1795.                                   type UCHAR,
  1796.  /*                               -------                   */
  1797.      2 type                       /* SF_CC_TYPE_CALLING_SUBADDR 0x6D */
  1798.                                   type UCHAR,
  1799.  /*                               -------                   */
  1800.    /* SF_CC_TYPE_CALLED_SUBADDR 0x71                        */
  1801.     /* Error: UCHAR  subaddress_type;            /* Subaddress type:
  1802.                                                             */
  1803.    /* SUBADDR_TYPE_NSAP 0x00                                */
  1804.    /* SUBADDR_TYPE_USER_SPEC 0x01                           */
  1805.      2 subaddress_nsap_afi        /* NSAP Address Format Indicator */
  1806.                                   type UCHAR,
  1807.  /*                               -------                   */
  1808.    /* SF_AFI_FOR_IA5_CHAR 0x50                              */
  1809.      2 subaddress_odd_even_ind    /* Subaddress odd/even count fl
  1810.                                   type UCHAR,
  1811.  /*                               -------                   */
  1812.  ag                                                         */
  1813.    /* Subaddr even # digits 0x00                            */
  1814.    /* Subaddr odd # digits 0x01                             */
  1815.      2 subaddress_length          /* Subaddress length,  in binary */
  1816.                                   type UCHAR,
  1817.  /*                               -------                   */
  1818.      2 subaddress_chars           Subaddress characters,  i
  1819.                                   char (1);/*
  1820.  /*                               -------                   */
  1821.  n IA5                                                      */
  1822.    /********************************************************************
  1823.  ****/
  1824.    /* Additional fields may be added here in future releases. */
  1825.    /********************************************************************
  1826.  ****/
  1827.  
  1828.  define alias @ccitt_subaddress handle ccitt_subaddress;
  1829.  
  1830.  define structure
  1831.    1 low_layer_compat,
  1832.      2 length                     /*                        */
  1833.                                   type USHORT,
  1834.  /*                               -------                   */
  1835.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1836.                                   type UCHAR,
  1837.  /*                               -------                   */
  1838.      2 type                       /* SF_CC_TYPE_LOW_LAYER_COMP 0x7C */
  1839.                                   type UCHAR,
  1840.  /*                               -------                   */
  1841.     /* Error: UCHAR  layer2_protocol;            /* Layer 2 protocol ide
  1842.  ntifier:                                                   */
  1843.    /* L2_PROT_UNSPECIFIED 0x40                              */
  1844.    /* L2_PROT_ISO_1475 0x41                                 */
  1845.    /* L2_PROT_Q_921 0x42                                    */
  1846.    /* L2_PROT_X_25_LINK_LVL 0x46                            */
  1847.    /* L2_PROT_X_25_MULTI_LINK 0x47                          */
  1848.    /* L2_PROT_EXTENDED_LAPB 0x48                            */
  1849.    /* L2_PROT_HDLC_ARM 0x49                                 */
  1850.    /* L2_PROT_HDLC_NRM 0x4A                                 */
  1851.    /* L2_PROT_HDLC_ABM 0x4B                                 */
  1852.    /* L2_PROT_LAN_LLC 0x4C                                  */
  1853.    /* L2_PROT_X_75_SLP 0x4D                                 */
  1854.      2 layer2_userinfo            /* Layer 2 user information byte */
  1855.                                   type UCHAR,
  1856.  /*                               -------                   */
  1857.     /* Error: UCHAR  layer3_protocol;            /* Layer 3 protocol ide
  1858.  ntifier:                                                   */
  1859.    /* L3_PROT_UNSPECIFIED 0x60                              */
  1860.    /* L3_PROT_Q_931 0x62                                    */
  1861.    /* L3_PROT_X_25_PACKET 0x66                              */
  1862.    /* L3_PROT_ISO_8208 0x67                                 */
  1863.    /* L3_PROT_ISO_8348 0x68                                 */
  1864.    /* L3_PROT_ISO_8473 0x69                                 */
  1865.    /* L3_PROT_CCITT_T_70 0x6A                               */
  1866.      2 layer3_userinfo            Layer 3 user information byte */
  1867.                                   type UCHAR;/*
  1868.  /*                               -------                   */
  1869.    /********************************************************************
  1870.  ****/
  1871.    /* Additional fields may be added here in future releases. */
  1872.    /********************************************************************
  1873.  ****/
  1874.  
  1875.  define alias @low_layer_compat handle low_layer_compat;
  1876.  
  1877.  define structure
  1878.    1 high_layer_compat,
  1879.      2 length                     /*                        */
  1880.                                   type USHORT,
  1881.  /*                               -------                   */
  1882.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1883.                                   type UCHAR,
  1884.  /*                               -------                   */
  1885.      2 type                       /* SF_CC_TYPE_HIGH_LAYER_COMP 0x7D */
  1886.                                   type UCHAR,
  1887.  /*                               -------                   */
  1888.     /* Error: UCHAR  coding_standard;            /* Coding standard for
  1889.  HL Compat:                                                 */
  1890.    /* CODING_STD_CCITT 0x00                                 */
  1891.    /* CODING_STD_INTERNATIONAL 0x01                         */
  1892.    /* CODING_STD_NATIONAL 0x02                              */
  1893.    /* CODING_STD_NETWORK_SPECIFIC 0x03                      */
  1894.      2 hlc_info                   High Level Compatibility byte */
  1895.                                   type UCHAR;/*
  1896.  /*                               -------                   */
  1897.    /********************************************************************
  1898.  ****/
  1899.    /* Additional fields may be added here in future releases. */
  1900.    /********************************************************************
  1901.  ****/
  1902.  
  1903.  define alias @high_layer_compat handle high_layer_compat;
  1904.  
  1905.  define structure
  1906.    1 user_user_info,
  1907.      2 length                     /*                        */
  1908.                                   type USHORT,
  1909.  /*                               -------                   */
  1910.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1911.                                   type UCHAR,
  1912.  /*                               -------                   */
  1913.      2 type                       /* SF_CC_TYPE_USER_USER_INFO 0x7E */
  1914.                                   type UCHAR,
  1915.  /*                               -------                   */
  1916.     /* Error: UCHAR  protocol_discriminator;     /* Protocol discriminat
  1917.  or:                                                        */
  1918.    /* PROT_DISC_USER_SPECIFIED 0x00                         */
  1919.    /* PROT_DISC_USER_OSI_HLP 0x01                           */
  1920.    /* PROT_DISC_USER_X_244 0x02                             */
  1921.    /* PROT_DISC_USER_IA5_CHARS 0x04                         */
  1922.    /* PROT_DISC_USER_V_120 0x07                             */
  1923.    /* PROT_DISC_USER_ISDN_CC 0x08                           */
  1924.      2 uinfo_length               /* User to user information length */
  1925.                                   type UCHAR,
  1926.  /*                               -------                   */
  1927.      2 uinfo                      User to user information array */
  1928.                                   char (1);/*
  1929.  /*                               -------                   */
  1930.    /********************************************************************
  1931.  ****/
  1932.    /* Additional fields may be added here in future releases */
  1933.    /********************************************************************
  1934.  ****/
  1935.  
  1936.  define alias @user_user_info handle user_user_info;
  1937.  
  1938.  define structure
  1939.    1 ccitt_display,
  1940.      2 length                     /*                        */
  1941.                                   type USHORT,
  1942.  /*                               -------                   */
  1943.      2 identifier                 /* SF_SFID_CCITT 0x80     */
  1944.                                   type UCHAR,
  1945.  /*                               -------                   */
  1946.      2 type                       /* SF_CC_TYPE_DISPLAY 0x28 */
  1947.                                   type UCHAR,
  1948.  /*                               -------                   */
  1949.      2 ccitt_display_length       /* Length of the following array
  1950.                                   type UCHAR,
  1951.  /*                               -------                   */
  1952.                                                             */
  1953.      2 ccitt_display_chars        IA5 characters,  varyi
  1954.                                   char (1);/*
  1955.  /*                               -------                   */
  1956.  ng length                                                  */
  1957.    /********************************************************************
  1958.  ****/
  1959.    /* Additional fields may be added here in future releases */
  1960.    /********************************************************************
  1961.  ****/
  1962.  
  1963.  define alias @ccitt_display handle ccitt_display;
  1964.  
  1965.  define structure
  1966.    1 netw_specific_date,
  1967.      2 length                     /*                        */
  1968.                                   type USHORT,
  1969.  /*                               -------                   */
  1970.      2 identifier                 /* SF_SFID_NETWORK_SPECIFIC 0x01 */
  1971.                                   type UCHAR,
  1972.  /*                               -------                   */
  1973.      2 type                       /* SF_NS_TYPE_DATE 0x03   */
  1974.                                   type UCHAR,
  1975.  /*                               -------                   */
  1976.     /* Error: UCHAR  ns_date[14];                /* YY.MM.DD HH:MM  in I
  1977.  A5 characters                                              */
  1978.      2  bit();
  1979.  /*                               -------                   */
  1980.    /********************************************************************
  1981.  ****/
  1982.    /* Additional fields may be added here in future releases */
  1983.    /********************************************************************
  1984.  ****/
  1985.  
  1986.  define alias @netw_specific_date handle netw_specific_date;
  1987.  
  1988.  define structure
  1989.    1 icas_info_sect,
  1990.    /********************************************************************
  1991.  ******/
  1992.     /* Error: /* The address of this structure should be: icas_info_ptr
  1993.                                                             */
  1994.    /********************************************************************
  1995.  ******/
  1996.      2 init_sect_len              /* Length of this header  */
  1997.                                   type ULONG,
  1998.  /*                               -------                   */
  1999.      2 num_icas_entries           /* Number of entries following */
  2000.                                   type USHORT,
  2001.  /*                               -------                   */
  2002.      2 tot_icas_entries           Total number of entries defined */
  2003.                                   type USHORT;/*
  2004.  /*                               -------                   */
  2005.    /********************************************************************
  2006.  *****/
  2007.    /* Additional fields may be added here in future releases */
  2008.    /********************************************************************
  2009.  *****/
  2010.  
  2011.  define alias @icas_info_sect handle icas_info_sect;
  2012.  
  2013.  define structure
  2014.    1 icas_entry,
  2015.    /* which may be automatically                            */
  2016.    /* answered                                              */
  2017.    /********************************************************************
  2018.  *****/
  2019.     /* Error: /* The address of the first of these structures should be:
  2020.                                                             */
  2021.    /* icas_info_ptr + icas_info_ptr->init_sect_len          */
  2022.     /* Error: /* To find the next entry, add: icas_entry_ptr->entry_len.
  2023.                                                             */
  2024.    /********************************************************************
  2025.  *****/
  2026.      2 entry_len                  /* Length of this entry   */
  2027.                                   type ULONG,
  2028.  /*                               -------                   */
  2029.      2 icrt_entry_name            /* Incoming Call Routing Ta
  2030.                                   char (16),
  2031.  /*                               -------                   */
  2032.  ble entry                                                  */
  2033.      2 icrt_entry_accept_call     /* ICRT entry accept status */
  2034.                                   type UCHAR,
  2035.  /*                               -------                   */
  2036.      2 rsrvd1                     Reserved                  */
  2037.                                   type UCHAR;/*
  2038.  /*                               -------                   */
  2039.    /********************************************************************
  2040.  *****/
  2041.    /* Additional fields may be added here in future releases */
  2042.    /********************************************************************
  2043.  *****/
  2044.  
  2045.  define alias @icas_entry handle icas_entry;
  2046.  
  2047.  define structure
  2048.    1 lu_0_3_info_sect,
  2049.    /********************************************************************
  2050.  ******/
  2051.     /* Error: /* The address of this structure should be: lu_0_3_info_pt
  2052.  r                                                          */
  2053.    /********************************************************************
  2054.  ******/
  2055.      2 lu_0_3_init_sect_len       /* Structure length       */
  2056.                                   type ULONG,
  2057.  /*                               -------                   */
  2058.      2 num_lu_0_3s                Number of configured LUs  */
  2059.                                   type USHORT;/*
  2060.  /*                               -------                   */
  2061.    /********************************************************************
  2062.  ****/
  2063.    /* Additional fields may be added here in future releases */
  2064.    /********************************************************************
  2065.  ****/
  2066.  
  2067.  define alias @lu_0_3_info_sect handle lu_0_3_info_sect;
  2068.  
  2069.  define structure
  2070.    1 lu_0_3_overlay,
  2071.    /********************************************************************
  2072.  ******/
  2073.     /* Error: /* The address of the first of these structures should be:
  2074.   lu_0_3_info_ptr*/
  2075.    /* + lu_0_3_info_ptr->lu_0_3_init_sect_len.  To find the next one, ad
  2076.  d:                                                         */
  2077.    /* lu_0_3_entry_len.                                     */
  2078.    /********************************************************************
  2079.  ******/
  2080.      2 lu_0_3_entry_len           /* Size of this LU info   */
  2081.                                   type ULONG,
  2082.  /*                               -------                   */
  2083.      2 access_type                /* Access type            */
  2084.                                   type UCHAR,
  2085.  /*                               -------                   */
  2086.      2 lu_type                    /* LU type                */
  2087.                                   type UCHAR,
  2088.  /*                               -------                   */
  2089.      2 lu_daf                     /* NAU address            */
  2090.                                   type UCHAR,
  2091.  /*                               -------                   */
  2092.      2 lu_short_name              /* LU Short Name (ASCII)  */
  2093.                                   type UCHAR,
  2094.  /*                               -------                   */
  2095.      2 lu_long_name               /* LU Long Name (ASCII)   */
  2096.                                   char (8),
  2097.  /*                               -------                   */
  2098.      2 sess_id                    /* Session ID             */
  2099.                                   char (8),
  2100.  /*                               -------                   */
  2101.      2 dlc_name                   /* DLC Name (ASCII)       */
  2102.                                   char (8),
  2103.  /*                               -------                   */
  2104.      2 adapter_num                /* DLC Adapter number     */
  2105.                                   type UCHAR,
  2106.  /*                               -------                   */
  2107.      2 dest_addr_len              /* Length of Adapter Addr */
  2108.                                   type UCHAR,
  2109.  /*                               -------                   */
  2110.      2 dest_addr                  /* Destination Adapter Addr */
  2111.                                   char (32),
  2112.  /*                               -------                   */
  2113.      2 sscp_lu_sess_state         /* SSCP-LU Session State  */
  2114.                                   type UCHAR,
  2115.  /*                               -------                   */
  2116.    /* any of these 4 states can be                          */
  2117.     /* Error: /*    &'ed with: AP_DETACHING                 */
  2118.      2 lu_lu_sess_state           /* LU-LU Session State    */
  2119.                                   type UCHAR,
  2120.  /*                               -------                   */
  2121.      2 link_id                    /* Link ID                */
  2122.                                   char (12),
  2123.  /*                               -------                   */
  2124.      2 pu_name                    /* PU Name for Multiple PU */
  2125.                                   char (8),
  2126.  /*                               -------                   */
  2127.      2 partnerlu                  /* Partner_LU_Name        */
  2128.                                   char (17),
  2129.  /*                               -------                   */
  2130.      2 plu_slu_compression_level  /* compression level for the
  2131.                                   type UCHAR,
  2132.  /*                               -------                   */
  2133.  plu to                                                     */
  2134.    /* slu direction                                         */
  2135.      2 slu_plu_compression_level  compression level for the
  2136.                                   type UCHAR;/*
  2137.  /*                               -------                   */
  2138.  slu to                                                     */
  2139.    /* plu direction                                         */
  2140.    /********************************************************************
  2141.  ****/
  2142.    /* Additional fields may be added here in future releases */
  2143.    /********************************************************************
  2144.  ****/
  2145.  
  2146.  define alias @lu_0_3_overlay handle lu_0_3_overlay;
  2147.  
  2148.  define structure
  2149.    1 gw_info_sect,
  2150.    /********************************************************************
  2151.  ******/
  2152.     /* Error: /* The address of this structure should be: gw_info_ptr
  2153.                                                             */
  2154.    /********************************************************************
  2155.  ******/
  2156.      2 gw_init_sect_len           /* Structure length       */
  2157.                                   type ULONG,
  2158.  /*                               -------                   */
  2159.      2 num_gw_lus                 Number of configured      */
  2160.                                   type USHORT;/*
  2161.  /*                               -------                   */
  2162.    /********************************************************************
  2163.  ****/
  2164.    /* gateway LUs Additional fields may be added here in future releases
  2165.                                                             */
  2166.    /********************************************************************
  2167.  ****/
  2168.  
  2169.  define alias @gw_info_sect handle gw_info_sect;
  2170.  
  2171.  define structure
  2172.    1 gw_overlay,
  2173.    /********************************************************************
  2174.  ******/
  2175.     /* Error: /* The address of the first of these structures should be:
  2176.   gw_info_ptr +                                             */
  2177.    /* gw_info_ptr->gw_init_sect_len. To find the next one, add: gw_entry
  2178.  _len.*/
  2179.    /********************************************************************
  2180.  ******/
  2181.      2 gw_entry_len               /* Size of the gateway info */
  2182.                                   type ULONG,
  2183.  /*                               -------                   */
  2184.      2 ws_lu_name                 /* WS LU name (EBCDIC)    */
  2185.                                   char (8),
  2186.  /*                               -------                   */
  2187.      2 ws_pool_name               /* WS pool class name     */
  2188.                                   char (8),
  2189.  /*                               -------                   */
  2190.      2 ws_logoff_time_left        /* WS LU time before logoff */
  2191.                                   type SHORT,
  2192.  /*                               -------                   */
  2193.      2 ws_local_addr              /* Workstation local address */
  2194.                                   type UCHAR,
  2195.  /*                               -------                   */
  2196.      2 host_local_addr            /* Host local address     */
  2197.                                   type UCHAR,
  2198.  /*                               -------                   */
  2199.      2 ws_lu_type                 /* Workstation LU type    */
  2200.                                   type UCHAR,
  2201.  /*                               -------                   */
  2202.      2 host_lu_name               /* Host LU name (EBCDIC)  */
  2203.                                   char (17),
  2204.  /*                               -------                   */
  2205.      2 ws_dlc_name                /* WS DLC name (ASCII)    */
  2206.                                   char (8),
  2207.  /*                               -------                   */
  2208.      2 ws_adapter_num             /* Workstation adapter num */
  2209.                                   type UCHAR,
  2210.  /*                               -------                   */
  2211.      2 ws_dest_addr_len           /* WS dest addr length    */
  2212.                                   type UCHAR,
  2213.  /*                               -------                   */
  2214.      2 ws_dest_addr               /* WS destination addr    */
  2215.                                   char (16),
  2216.  /*                               -------                   */
  2217.      2 host_link_name             /* APPN name for host link */
  2218.                                   char (8),
  2219.  /*                               -------                   */
  2220.      2 ws_link_name               /* APPN name for workstation li
  2221.                                   char (8),
  2222.  /*                               -------                   */
  2223.  nk                                                         */
  2224.        3 ws_link_act bit(1),
  2225.  ve?                                                        */
  2226.        3 lu_lu_pend_term bit(1),
  2227.   termination?                                              */
  2228.        3 lu_lu_pend_init bit(1),
  2229.  g initiation?                                              */
  2230.        3 lu_lu_act bit(1),
  2231.  ?                                                          */
  2232.        3 lu_cp_pend_term bit(1),
  2233.   Termination?                                              */
  2234.        3 lu_cp_pend_init bit(1),
  2235.  g initiation?                                              */
  2236.        3 lu_cp_act_offline bit(1),
  2237.  offline?                                                   */
  2238.        3 lu_cp_act_online bit(1),
  2239.  online?                                                    */
  2240.        3 reserv4 bit(8),
  2241.                                                             */
  2242.      2  bit();
  2243.  /*                               -------                   */
  2244.    /********************************************************************
  2245.  ****/
  2246.    /* Reserved Additional fields may be added here in future releases */
  2247.    /********************************************************************
  2248.  ****/
  2249.  
  2250.  define alias @gw_overlay handle gw_overlay;
  2251.  
  2252.  define structure
  2253.    1 x25_physical_link_info_sect,
  2254.    /********************************************************************
  2255.  ******/
  2256.     /* Error: /* The address of this structure should be: x25_physical_l
  2257.  ink_info_ptr                                               */
  2258.    /********************************************************************
  2259.  ******/
  2260.      2 x25_init_sect_len          /* Structure length       */
  2261.                                   type ULONG,
  2262.  /*                               -------                   */
  2263.      2 num_x25_links              /* Number of X.25 physical links */
  2264.                                   type USHORT,
  2265.  /*                               -------                   */
  2266.      2 num_x25_link_entries       Total Number of X.25 phys. lin
  2267.                                   type USHORT;/*
  2268.  /*                               -------                   */
  2269.  ks                                                         */
  2270.    /********************************************************************
  2271.  ****/
  2272.    /* physical link entries Additional fields may be added here in futur
  2273.  e                                                          */
  2274.    /* releases                                              */
  2275.    /********************************************************************
  2276.  ****/
  2277.  
  2278.  define alias @x25_physical_link_info_sect handle x25_physical_link_info
  2279.  _sect;
  2280.  
  2281.  define structure
  2282.    1 x25_overlay,
  2283.    /********************************************************************
  2284.  ******/
  2285.     /* Error: /* The address of the first of these structures should be:
  2286.                                                             */
  2287.    /* x25_physical_link_info_ptr + x25_physical_link_ptr->x25_init_sect_
  2288.  len                                                        */
  2289.     /* Error: /* To find the next one, add: x25_entry_len
  2290.                                                             */
  2291.    /********************************************************************
  2292.  ******/
  2293.      2 x25_entry_len              /* Size of X.25 information */
  2294.                                   type ULONG,
  2295.  /*                               -------                   */
  2296.      2 link_name                  /* X.25 Link Name (ASCII) */
  2297.                                   char (8),
  2298.  /*                               -------                   */
  2299.      2 link_comments              /* Comment Field (ASCII)  */
  2300.                                   char (60),
  2301.  /*                               -------                   */
  2302.      2 adapter_slot_num           /* Adapter Slot Number    */
  2303.                                   type USHORT,
  2304.  /*                               -------                   */
  2305.      2 link_type                  /* Link Type              */
  2306.                                   type UCHAR,
  2307.  /*                               -------                   */
  2308.      2 link_mode                  /* Link Mode              */
  2309.                                   type UCHAR,
  2310.  /*                               -------                   */
  2311.      2 link_state                 /* Link State             */
  2312.                                   type UCHAR,
  2313.  /*                               -------                   */
  2314.      2 link_direction             /* Link Direction         */
  2315.                                   type UCHAR,
  2316.  /*                               -------                   */
  2317.      2 num_act_pvcs               /* Number of Active PVCs  */
  2318.                                   type USHORT,
  2319.  /*                               -------                   */
  2320.      2 total_num_pvcs             /* Total Number of PVCs   */
  2321.                                   type USHORT,
  2322.  /*                               -------                   */
  2323.      2 num_act_svcs               /* Number of Active SVCs  */
  2324.                                   type USHORT,
  2325.  /*                               -------                   */
  2326.      2 num_incoming_svcs          /* Num of Incoming SVCs   */
  2327.                                   type USHORT,
  2328.  /*                               -------                   */
  2329.      2 num_2_way_svcs             /* Number of 2-way SVCs   */
  2330.                                   type USHORT,
  2331.  /*                               -------                   */
  2332.      2 num_outgoing_svcs          Num of Outgoing SVCs      */
  2333.                                   type USHORT;/*
  2334.  /*                               -------                   */
  2335.    /********************************************************************
  2336.  ****/
  2337.    /* Additional fields may be added here in future releases */
  2338.    /********************************************************************
  2339.  ****/
  2340.  
  2341.  define alias @x25_overlay handle x25_overlay;
  2342.  
  2343.  define structure
  2344.    1 sys_def_info_sect,
  2345.    /********************************************************************
  2346.  ******/
  2347.     /* Error: /* The address of this structure should be: sys_def_info_p
  2348.  tr                                                         */
  2349.    /********************************************************************
  2350.  ******/
  2351.      2 default_mode_name          /* Default Mode Name (EBCD
  2352.                                   char (8),
  2353.  /*                               -------                   */
  2354.  IC type A)                                                 */
  2355.      2 default_local_lu_name      /* Default Local LU Na
  2356.                                   char (8),
  2357.  /*                               -------                   */
  2358.  me (EBCDIC                                                 */
  2359.    /* type A)                                               */
  2360.      2 implicit_inb_rlu_supp      /* Implicit Remote LU Support */
  2361.                                   type UCHAR,
  2362.  /*                               -------                   */
  2363.      2 max_held_alerts            /* Max Held Alerts 0-255  */
  2364.                                   type UCHAR,
  2365.  /*                               -------                   */
  2366.      2 tp_conv_sec_rqd            /* TP Conversation Security Requested*/
  2367.                                   type UCHAR,
  2368.  /*                               -------                   */
  2369.      2 reserv3                    /* Reserved               */
  2370.                                   type UCHAR,
  2371.  /*                               -------                   */
  2372.      2 max_mc_ll_send_size        /* Maximum Mapped Conversation */
  2373.                                   type USHORT,
  2374.  /*                               -------                   */
  2375.    /* Logical Record Send Size                              */
  2376.    /* 0 or 2048 - 32767                                     */
  2377.      2 dir_for_attaches           /* Directory For Inbound A
  2378.                                   char (64),
  2379.  /*                               -------                   */
  2380.  ttaches                                                    */
  2381.      2 tp_operation               /* Default TP Operation   */
  2382.                                   type UCHAR,
  2383.  /*                               -------                   */
  2384.      2 tp_program_type            Default TP Program Type   */
  2385.                                   type UCHAR;/*
  2386.  /*                               -------                   */
  2387.    /********************************************************************
  2388.  ****/
  2389.    /* Additional fields may be added here in future releases */
  2390.    /********************************************************************
  2391.  ****/
  2392.  
  2393.  define alias @sys_def_info_sect handle sys_def_info_sect;
  2394.  
  2395.  define structure
  2396.    1 adapter_info_sect,
  2397.    /********************************************************************
  2398.  ******/
  2399.     /* Error: /* The address of this structure should be: adapter_info_p
  2400.  tr                                                         */
  2401.    /********************************************************************
  2402.  ******/
  2403.      2 adapter_init_sect_len      /* Structure length       */
  2404.                                   type ULONG,
  2405.  /*                               -------                   */
  2406.      2 num_adapters               /* Number of Adapters Displayed */
  2407.                                   type USHORT,
  2408.  /*                               -------                   */
  2409.      2 total_adapters             Total Number of Adapters  */
  2410.                                   type USHORT;/*
  2411.  /*                               -------                   */
  2412.    /********************************************************************
  2413.  ****/
  2414.    /* Additional fields may be added here in future releases */
  2415.    /********************************************************************
  2416.  ****/
  2417.  
  2418.  define alias @adapter_info_sect handle adapter_info_sect;
  2419.  
  2420.  define structure
  2421.    1 adapter_overlay,
  2422.    /********************************************************************
  2423.  ******/
  2424.     /* Error: /* The address of the first of these structures should be:
  2425.                                                             */
  2426.    /* adapter_info_ptr + adapter_info_ptr->adapter_init_sect_len. */
  2427.     /* Error: /* To find the next one, add: adapter_entry_len
  2428.                                                             */
  2429.    /********************************************************************
  2430.  ******/
  2431.      2 adapter_entry_len          /* Size of Adapter Info   */
  2432.                                   type ULONG,
  2433.  /*                               -------                   */
  2434.      2 dlc_name                   /* DLC Name (ASCII)       */
  2435.                                   char (8),
  2436.  /*                               -------                   */
  2437.      2 adapter_number             /* Adapter Number         */
  2438.                                   type UCHAR,
  2439.  /*                               -------                   */
  2440.    /* 0-255                                                 */
  2441.      2 ls_role                    /* Link Station Role      */
  2442.                                   type UCHAR,
  2443.  /*                               -------                   */
  2444.      2 eff_capacity               /* Effective Capacity     */
  2445.                                   type ULONG,
  2446.  /*                               -------                   */
  2447.    /* 1200 │ 2400 │...│16M│...                              */
  2448.      2 conn_cost                  /* Cost Per Connect Time  */
  2449.                                   type UCHAR,
  2450.  /*                               -------                   */
  2451.      2 byte_cost                  /* Cost Per Byte          */
  2452.                                   type UCHAR,
  2453.  /*                               -------                   */
  2454.      2 propagation_delay          /* AP_PROP_DELAY_MINIMUM  */
  2455.                                   type UCHAR,
  2456.  /*                               -------                   */
  2457.      2 user_def_1                 /* User Defined 1         */
  2458.                                   type UCHAR,
  2459.  /*                               -------                   */
  2460.      2 user_def_2                 /* User Defined 2         */
  2461.                                   type UCHAR,
  2462.  /*                               -------                   */
  2463.      2 user_def_3                 /* User Defined 3         */
  2464.                                   type UCHAR,
  2465.  /*                               -------                   */
  2466.      2 security                   /* Security               */
  2467.                                   type UCHAR,
  2468.  /*                               -------                   */
  2469.      2 reserv3                    /* Reserved               */
  2470.                                   type UCHAR,
  2471.  /*                               -------                   */
  2472.      2 line_type                  /* Line Yype              */
  2473.                                   type UCHAR,
  2474.  /*                               -------                   */
  2475.      2 lim_res                    /* Limited Resource ?     */
  2476.                                   type UCHAR,
  2477.  /*                               -------                   */
  2478.      2 lim_res_timeout            /* Limited Resource Timeout */
  2479.                                   type USHORT,
  2480.  /*                               -------                   */
  2481.    /* 0-127 ???                                             */
  2482.      2 max_btu_size               /* Maximum BTU Size 99-32767 */
  2483.                                   type USHORT,
  2484.  /*                               -------                   */
  2485.      2 rcv_window                 /* Receive Window 0-127   */
  2486.                                   type UCHAR,
  2487.  /*                               -------                   */
  2488.      2 send_window                /* Send Window 0-127      */
  2489.                                   type UCHAR,
  2490.  /*                               -------                   */
  2491.      2 max_ls_used                /* Max Link Stations      */
  2492.                                   type USHORT,
  2493.  /*                               -------                   */
  2494.      2 abm_support                /* Asynchronous Balanced Mode Used? */
  2495.                                   type UCHAR,
  2496.  /*                               -------                   */
  2497.      2 adapter_active             /* Adapter Active?        */
  2498.                                   type UCHAR,
  2499.  /*                               -------                   */
  2500.      2 adapter_type               /* Adapter Type           */
  2501.                                   type UCHAR,
  2502.  /*                               -------                   */
  2503.      2 reserv4                    Reserved                  */
  2504.                                   type UCHAR;/*
  2505.  /*                               -------                   */
  2506.    /********************************************************************
  2507.  ****/
  2508.    /* Additional fields may be added here in future releases */
  2509.    /********************************************************************
  2510.  ****/
  2511.  
  2512.  define alias @adapter_overlay handle adapter_overlay;
  2513.  
  2514.  
  2515.  define structure
  2516.    1 lu_def_info_sect,
  2517.    /********************************************************************
  2518.  ******/
  2519.     /* Error: /* The address of this structure should be: lu_def_info_pt
  2520.  r                                                          */
  2521.    /********************************************************************
  2522.  ******/
  2523.      2 lu_def_init_sect_len       /* Structure length       */
  2524.                                   type ULONG,
  2525.  /*                               -------                   */
  2526.      2 num_lu_def                 /* Number of LU Definitions Displayed*/
  2527.                                   type USHORT,
  2528.  /*                               -------                   */
  2529.      2 total_lu_def               Total Number of LU Definitions */
  2530.                                   type USHORT;/*
  2531.  /*                               -------                   */
  2532.    /********************************************************************
  2533.  ****/
  2534.    /* Additional fields may be added here in future releases */
  2535.    /********************************************************************
  2536.  ****/
  2537.  
  2538.  define alias @lu_def_info_sect handle lu_def_info_sect;
  2539.  
  2540.  define structure
  2541.    1 lu_def_overlay,
  2542.    /********************************************************************
  2543.  ******/
  2544.     /* Error: /* The address of the first of these structures should be:
  2545.   lu_def_info_ptr*/
  2546.    /* + lu_def_info_ptr->lu_def_init_sect_len.  To find the next one, ad
  2547.  d:                                                         */
  2548.    /* lu_def_entry_len                                      */
  2549.    /********************************************************************
  2550.  ******/
  2551.      2 lu_def_entry_len           /* Size of lu def info    */
  2552.                                   type ULONG,
  2553.  /*                               -------                   */
  2554.      2 lu_name                    /* LU_NAME (EBCDIC type A) */
  2555.                                   char (8),
  2556.  /*                               -------                   */
  2557.      2 lu_alias                   /* LU_ALIAS (ASCII)       */
  2558.                                   char (8),
  2559.  /*                               -------                   */
  2560.      2 lu_nau_addr                /* NAU address 0-254      */
  2561.                                   type UCHAR,
  2562.  /*                               -------                   */
  2563.      2 reserv3                    /* Reserved               */
  2564.                                   type UCHAR,
  2565.  /*                               -------                   */
  2566.      2 pu_name                    PU Name (EBCDIC Type A)   */
  2567.                                   char (8);/*
  2568.  /*                               -------                   */
  2569.    /********************************************************************
  2570.  ****/
  2571.    /* Additional fields may be added here in future releases */
  2572.    /********************************************************************
  2573.  ****/
  2574.  
  2575.  define alias @lu_def_overlay handle lu_def_overlay;
  2576.  
  2577.  define structure
  2578.    1 plu_def_info_sect,
  2579.    /********************************************************************
  2580.  ******/
  2581.     /* Error: /* The address of this structure should be: plu_def_info_p
  2582.  tr                                                         */
  2583.    /********************************************************************
  2584.  ******/
  2585.      2 plu_def_init_sect_len      /* Struct length          */
  2586.                                   type ULONG,
  2587.  /*                               -------                   */
  2588.      2 num_plu_def                /* Number of Partner LU defs Displayd*/
  2589.                                   type USHORT,
  2590.  /*                               -------                   */
  2591.      2 total_plu_def              Total Number of Partner LU defs */
  2592.                                   type USHORT;/*
  2593.  /*                               -------                   */
  2594.    /********************************************************************
  2595.  ****/
  2596.    /* Additional fields may be added here in future releases */
  2597.    /********************************************************************
  2598.  ****/
  2599.  
  2600.  define alias @plu_def_info_sect handle plu_def_info_sect;
  2601.  
  2602.  define structure
  2603.    1 plu_def_overlay,
  2604.    /********************************************************************
  2605.  ******/
  2606.     /* Error: /* The address of the first of these structures should be:
  2607.                                                             */
  2608.    /* plu_def_info_ptr + plu_def_info_ptr->plu_def_init_sect_len. To fin
  2609.  d                                                          */
  2610.     /* Error: /* the next one, add: plu_def_entry_len.
  2611.                                                             */
  2612.    /********************************************************************
  2613.  ******/
  2614.      2 plu_def_entry_len          /* Size of plu def info   */
  2615.                                   type ULONG,
  2616.  /*                               -------                   */
  2617.      2 fqplu_name                 /* PLU Name (EBCDIC)      */
  2618.                                   char (17),
  2619.  /*                               -------                   */
  2620.      2 reserv3                    /* Reserved               */
  2621.                                   type UCHAR,
  2622.  /*                               -------                   */
  2623.      2 plu_alias                  /* Partner LU Alias       */
  2624.                                   char (8),
  2625.  /*                               -------                   */
  2626.      2 plu_uninterpreted_name     /* Partner LU Uninter
  2627.                                   char (8),
  2628.  /*                               -------                   */
  2629.  preted Name                                                */
  2630.    /* (EBCDIC)                                              */
  2631.      2 max_mc_ll_ssize            /* Maximum Mapped Conversation */
  2632.                                   type USHORT,
  2633.  /*                               -------                   */
  2634.    /* Logical Record Send Size                              */
  2635.    /* 0 or 2048 - 32767                                     */
  2636.      2 conv_security              /* Conversation Security  */
  2637.                                   type UCHAR,
  2638.  /*                               -------                   */
  2639.      2 parallel_sess              /* Parallel Session Support */
  2640.                                   type UCHAR,
  2641.  /*                               -------                   */
  2642.      2 alt_alias_flag             /* Alternate PLU aliases flag */
  2643.                                   type UCHAR,
  2644.  /*                               -------                   */
  2645.    /* 0 = Alternate PLU aliases                             */
  2646.    /* appended to end of struct                             */
  2647.      2 num_of_alt_aliases         Number of alternate PLU aliases
  2648.                                   type UCHAR;/*
  2649.  /*                               -------                   */
  2650.                                                             */
  2651.    /* (not including the plu_alias).                        */
  2652.    /* 0 or # of alt_alias_overlays                          */
  2653.    /********************************************************************
  2654.  ****/
  2655.     /* Error: /* The address of the first alternate partner LU alias is:
  2656.                                                             */
  2657.    /* plu_def_overlay + sizeof(struct plu_def_overlay). To build the add
  2658.  r                                                          */
  2659.     /* Error: /* of the next partner LU alias, add: sizeof(struct alt_al
  2660.  ias_overlay).                                              */
  2661.    /* See struct alt_alias_overlay in APPCDEF.H.            */
  2662.    /********************************************************************
  2663.  ****/
  2664.    /********************************************************************
  2665.  ****/
  2666.    /* Additional fields may be added here in future releases */
  2667.    /********************************************************************
  2668.  ****/
  2669.  
  2670.  define alias @plu_def_overlay handle plu_def_overlay;
  2671.  
  2672.  define structure
  2673.    1 mode_def_info_sect,
  2674.    /********************************************************************
  2675.  ******/
  2676.     /* Error: /* The address of this structure should be: mode_def_info_
  2677.  ptr                                                        */
  2678.    /********************************************************************
  2679.  ******/
  2680.      2 mode_def_init_sect_len     /* Struct length          */
  2681.                                   type ULONG,
  2682.  /*                               -------                   */
  2683.      2 num_mode_def               /* Number of Mode Definitions Dsplyd */
  2684.                                   type USHORT,
  2685.  /*                               -------                   */
  2686.      2 total_mode_def             Total Number of Mode Definitions */
  2687.                                   type USHORT;/*
  2688.  /*                               -------                   */
  2689.    /********************************************************************
  2690.  ****/
  2691.    /* Additional fields may be added here in future releases */
  2692.    /********************************************************************
  2693.  ****/
  2694.  
  2695.  define alias @mode_def_info_sect handle mode_def_info_sect;
  2696.  
  2697.  define structure
  2698.    1 mode_def_overlay,
  2699.    /********************************************************************
  2700.  ******/
  2701.     /* Error: /* The address of the first of these structures should be:
  2702.                                                             */
  2703.    /* mode_def_info_ptr + mode_def_info_ptr->mode_def_init_sect_len. To
  2704.  find*/
  2705.     /* Error: /* the next one, add: mode_def_entry_len
  2706.                                                             */
  2707.    /********************************************************************
  2708.  ******/
  2709.      2 mode_def_entry_len         /* Size of mode def info  */
  2710.                                   type ULONG,
  2711.  /*                               -------                   */
  2712.      2 cos_name                   /* COS Name (EBCDIC)      */
  2713.                                   char (8),
  2714.  /*                               -------                   */
  2715.      2 mode_name                  /* Mode Name (EBCDIC)     */
  2716.                                   char (8),
  2717.  /*                               -------                   */
  2718.      2 compression_need           /* Whether compression is */
  2719.                                   type UCHAR,
  2720.  /*                               -------                   */
  2721.    /* REQUESTED, determined by the                          */
  2722.    /* SYSTEM from the effective                             */
  2723.    /* capacity of the links, or                             */
  2724.    /* PROHIBITED                                            */
  2725.      2 reserv3                    /* reserved               */
  2726.                                   type UCHAR,
  2727.  /*                               -------                   */
  2728.      2 rusize_upper               /* max RU size upper bound */
  2729.                                   type USHORT,
  2730.  /*                               -------                   */
  2731.    /* 256-65535                                             */
  2732.      2 rcv_window                 /* receive pacing window  */
  2733.                                   type UCHAR,
  2734.  /*                               -------                   */
  2735.    /* 0 or 1-63                                             */
  2736.      2 default_ru_size            /* default ru size?       */
  2737.                                   type UCHAR,
  2738.  /*                               -------                   */
  2739.      2 max_neg_sess_lim           /* Max limit on sessions  */
  2740.                                   type USHORT,
  2741.  /*                               -------                   */
  2742.      2 curr_sess_lim              /* Current session limit  */
  2743.                                   type USHORT,
  2744.  /*                               -------                   */
  2745.      2 min_win_lim                /* Min negotiated winners */
  2746.                                   type USHORT,
  2747.  /*                               -------                   */
  2748.      2 plu_slu_compression_level  /* The level of compression t
  2749.                                   type UCHAR,
  2750.  /*                               -------                   */
  2751.  o                                                          */
  2752.    /* be used for the PLU to SLU                            */
  2753.    /* direction.                                            */
  2754.    /* 0 = NO compression                                    */
  2755.    /* 1 = RLE compression                                   */
  2756.    /* 2 = LZ9 compression                                   */
  2757.      2 slu_plu_compression_level  The level of compression t
  2758.                                   type UCHAR;/*
  2759.  /*                               -------                   */
  2760.  o                                                          */
  2761.    /* be used for the SLU to PLU                            */
  2762.    /* direction.                                            */
  2763.    /* 0 = NO compression                                    */
  2764.    /* 1 = RLE compression                                   */
  2765.    /* 2 = LZ9 compression                                   */
  2766.    /********************************************************************
  2767.  ****/
  2768.    /* Additional fields may be added here in future releases */
  2769.    /********************************************************************
  2770.  ****/
  2771.  
  2772.  define alias @mode_def_overlay handle mode_def_overlay;
  2773.  
  2774.  define structure
  2775.    1 link_def_info_sect,
  2776.    /********************************************************************
  2777.  ******/
  2778.     /* Error: /* The address of this structure should be: link_def_info_
  2779.  ptr                                                        */
  2780.    /********************************************************************
  2781.  ******/
  2782.      2 link_def_init_sect_len     /* Structure length       */
  2783.                                   type ULONG,
  2784.  /*                               -------                   */
  2785.      2 num_link_def               /* Number of Active Links Displayed */
  2786.                                   type USHORT,
  2787.  /*                               -------                   */
  2788.      2 total_link_def             Total Number of Active Links */
  2789.                                   type USHORT;/*
  2790.  /*                               -------                   */
  2791.    /********************************************************************
  2792.  ****/
  2793.    /* Additional fields may be added here in future releases */
  2794.    /********************************************************************
  2795.  ****/
  2796.  
  2797.  define alias @link_def_info_sect handle link_def_info_sect;
  2798.  
  2799.  define structure
  2800.    1 link_def_overlay,
  2801.    /********************************************************************
  2802.  ******/
  2803.     /* Error: /* The address of the first of these structures should be:
  2804.                                                             */
  2805.    /* link_def_info_ptr + link_def_info_ptr->link_def_init_sect_len. To
  2806.  find                                                       */
  2807.     /* Error: /* the next block of link information, add: link_def_entry
  2808.  _len                                                       */
  2809.    /********************************************************************
  2810.  ******/
  2811.      2 link_def_entry_len         /* Size of link info,     */
  2812.                                   type ULONG,
  2813.  /*                               -------                   */
  2814.    /* including link specific                               */
  2815.      2 link_name                  /* Link Name (EBCDIC)     */
  2816.                                   char (8),
  2817.  /*                               -------                   */
  2818.      2 adj_fq_cp_name             /* Adjacent Fully Qualified
  2819.                                   char (17),
  2820.  /*                               -------                   */
  2821.  CP Name                                                    */
  2822.    /* (EBCDIC)                                              */
  2823.      2 adj_node_type              /* adjacent node type     */
  2824.                                   type UCHAR,
  2825.  /*                               -------                   */
  2826.      2 dlc_name                   /* DLC name (ASCII)       */
  2827.                                   char (8),
  2828.  /*                               -------                   */
  2829.      2 adapter_num                /* DLC adapter number     */
  2830.                                   type UCHAR,
  2831.  /*                               -------                   */
  2832.      2 dest_addr_len              /* Length of adapter addr */
  2833.                                   type UCHAR,
  2834.  /*                               -------                   */
  2835.      2 dest_addr                  /* Destination adapter addr */
  2836.                                   char (32),
  2837.  /*                               -------                   */
  2838.      2 cp_cp_sess_spt             /* CP CP session support? */
  2839.                                   type UCHAR,
  2840.  /*                               -------                   */
  2841.      2 preferred_nn_server        /* Is this the Pref. NN Server? */
  2842.                                   type UCHAR,
  2843.  /*                               -------                   */
  2844.      2 auto_act_link              /* Auto Activate Link?    */
  2845.                                   type UCHAR,
  2846.  /*                               -------                   */
  2847.      2 tg_number                  /* Transmission Group Number */
  2848.                                   type UCHAR,
  2849.  /*                               -------                   */
  2850.      2 lim_res                    /* Limited Resource ?     */
  2851.                                   type UCHAR,
  2852.  /*                               -------                   */
  2853.      2 solicit_sscp_session       /* Solicit SSCP Session?  */
  2854.                                   type UCHAR,
  2855.  /*                               -------                   */
  2856.      2 initself                   /* Initself Indicator     */
  2857.                                   type UCHAR,
  2858.  /*                               -------                   */
  2859.      2 bind_support               /* Bind Support?          */
  2860.                                   type UCHAR,
  2861.  /*                               -------                   */
  2862.      2 ls_role                    /* link station role      */
  2863.                                   type UCHAR,
  2864.  /*                               -------                   */
  2865.      2 line_type                  /* Line Type              */
  2866.                                   type UCHAR,
  2867.  /*                               -------                   */
  2868.      2 eff_capacity               /* Effective Capacity     */
  2869.                                   type ULONG,
  2870.  /*                               -------                   */
  2871.    /* 0 │ 1200 │ 2400 │ ...                                 */
  2872.    /* ... │ 16M │ ...                                       */
  2873.      2 conn_cost                  /* Cost Per Connect Time  */
  2874.                                   type UCHAR,
  2875.  /*                               -------                   */
  2876.      2 byte_cost                  /* Cost Per Byte          */
  2877.                                   type UCHAR,
  2878.  /*                               -------                   */
  2879.      2 propagation_delay          /* AP_PROP_DELAY_MINIMUM  */
  2880.                                   type UCHAR,
  2881.  /*                               -------                   */
  2882.      2 user_def_1                 /* User Defined 1         */
  2883.                                   type UCHAR,
  2884.  /*                               -------                   */
  2885.      2 user_def_2                 /* User Defined 2         */
  2886.                                   type UCHAR,
  2887.  /*                               -------                   */
  2888.      2 user_def_3                 /* User Defined 3         */
  2889.                                   type UCHAR,
  2890.  /*                               -------                   */
  2891.      2 security                   /* Security               */
  2892.                                   type UCHAR,
  2893.  /*                               -------                   */
  2894.      2 reserv                     /* Reserved               */
  2895.                                   type UCHAR,
  2896.  /*                               -------                   */
  2897.      2 pu_name                    PU Name (EBCDIC Type A)   */
  2898.                                   char (8);/*
  2899.  /*                               -------                   */
  2900.    /********************************************************************
  2901.  ****/
  2902.    /* Additional fields of unspecified length are located in this positi
  2903.  on.*/
  2904.    /* Use link_entry_len to skip over them.                 */
  2905.    /********************************************************************
  2906.  ****/
  2907.  
  2908.  define alias @link_def_overlay handle link_def_overlay;
  2909.  
  2910.  define structure
  2911.    1 ms_info_sect,
  2912.    /********************************************************************
  2913.  ******/
  2914.     /* Error: /* The address of this structure should be: ms_info_ptr
  2915.                                                             */
  2916.    /********************************************************************
  2917.  ******/
  2918.      2 ms_init_sect_len           /* Structure length       */
  2919.                                   type ULONG,
  2920.  /*                               -------                   */
  2921.      2 held_mds_mu_alerts         /* Held mds alerts        */
  2922.                                   type UCHAR,
  2923.  /*                               -------                   */
  2924.    /* 1-255                                                 */
  2925.      2 held_nmvt_alerts           /* NO LONGER USED,  ALWAYS 0 */
  2926.                                   type UCHAR,
  2927.  /*                               -------                   */
  2928.      2 num_fps                    /* Number of Focal Points Displayed */
  2929.                                   type USHORT,
  2930.  /*                               -------                   */
  2931.      2 total_fps                  /* Total Number of Focal Points */
  2932.                                   type USHORT,
  2933.  /*                               -------                   */
  2934.      2 num_ms_appls               /* Num. of MS Applications Displayed */
  2935.                                   type USHORT,
  2936.  /*                               -------                   */
  2937.      2 total_ms_appls             /* Total Number of MS Applications */
  2938.                                   type USHORT,
  2939.  /*                               -------                   */
  2940.      2 num_act_trans              /* # of Active Transactions Displayed*/
  2941.                                   type USHORT,
  2942.  /*                               -------                   */
  2943.      2 total_act_trans            /* Total Num. of Active Transactions
  2944.                                   type USHORT,
  2945.  /*                               -------                   */
  2946.                                                             */
  2947.      2 num_local_fps              /* # of Local FPs disp.   */
  2948.                                   type USHORT,
  2949.  /*                               -------                   */
  2950.      2 total_local_fps            Total Num. of Local FPs   */
  2951.                                   type USHORT;/*
  2952.  /*                               -------                   */
  2953.    /********************************************************************
  2954.  ****/
  2955.    /* Additional fields may be added here in future releases */
  2956.    /********************************************************************
  2957.  ****/
  2958.  
  2959.  define alias @ms_info_sect handle ms_info_sect;
  2960.  
  2961.  define structure
  2962.    1 ms_fp_overlay,
  2963.    /********************************************************************
  2964.  ******/
  2965.     /* Error: /* The address of the first of these structures should be:
  2966.   ms_info_ptr +                                             */
  2967.    /* ms_info_ptr->ms_init_sect_len.  To find the next the next one, add
  2968.  :                                                          */
  2969.    /* ms_fp_entry_len.                                      */
  2970.    /********************************************************************
  2971.  ******/
  2972.      2 ms_fp_entry_len            /* Size of MS Focal point info */
  2973.                                   type ULONG,
  2974.  /*                               -------                   */
  2975.      2 ms_appl_name               /* MS Application name    */
  2976.                                   char (8),
  2977.  /*                               -------                   */
  2978.    /* 4 byte SNA Defined MS Appl Name*/
  2979.    /* or 1-8 byte (EBCDIC type A)                           */
  2980.      2 ms_category                /* MS Category            */
  2981.                                   char (8),
  2982.  /*                               -------                   */
  2983.    /* 0 or 4 byte SNA Defined Category                      */
  2984.      2 fp_fq_cp_name              /* Focal Point Fully Qual. CP
  2985.                                   char (17),
  2986.  /*                               -------                   */
  2987.   Name                                                      */
  2988.    /* (EBCDIC type A)                                       */
  2989.      2 bkup_appl_name             /* Backup MS Application Name
  2990.                                   char (8),
  2991.  /*                               -------                   */
  2992.                                                             */
  2993.    /* 4 byte SNA Defined MS Appl Name*/
  2994.    /* or 1-8 byte (EBCDIC type A)                           */
  2995.      2 bkup_fp_fq_cp_name         /* Backup Focal Point Na
  2996.                                   char (17),
  2997.  /*                               -------                   */
  2998.  me                                                         */
  2999.    /* (EBCDIC type A)                                       */
  3000.      2 retry_resp                 /* Retry Responsibility   */
  3001.                                   type UCHAR,
  3002.  /*                               -------                   */
  3003.      2 fp_type                    /* focal point rank       */
  3004.                                   type UCHAR,
  3005.  /*                               -------                   */
  3006.      2 fp_status                  /* focal point status     */
  3007.                                   type UCHAR,
  3008.  /*                               -------                   */
  3009.      2 fp_routing                 /* focal point routing    */
  3010.                                   type UCHAR,
  3011.  /*                               -------                   */
  3012.      2 pri_fp_fq_cp_name          /* Primary Focal Point Na
  3013.                                   char (17),
  3014.  /*                               -------                   */
  3015.  me                                                         */
  3016.    /* (EBCDIC type A)                                       */
  3017.      2 reserv1                    /* Reserved               */
  3018.                                   type UCHAR,
  3019.  /*                               -------                   */
  3020.      2 num_backups                Total number of backups   */
  3021.                                   type USHORT;/*
  3022.  /*                               -------                   */
  3023.    /* (only 1st displayed)                                  */
  3024.    /********************************************************************
  3025.  ****/
  3026.    /* Additional fields of unspecified length are located in this positi
  3027.  on.*/
  3028.    /* Use ms_fp_entry_len to skip over them.                */
  3029.    /********************************************************************
  3030.  ****/
  3031.  
  3032.  define alias @ms_fp_overlay handle ms_fp_overlay;
  3033.  
  3034.  define structure
  3035.    1 ms_appl_overlay,
  3036.    /********************************************************************
  3037.  ******/
  3038.    /* The first ms_appl_overlay follows immediately after the last ms_fp
  3039.                                                             */
  3040.     /* Error: /* overlay.  Hence, the address of the first ms_appl_overl
  3041.  ay should be:                                              */
  3042.    /* the address of the last ms_fp_overlay + ms_fp_entry length. */
  3043.     /* Error: /* To find the next ms_appl_overlay, add:  ms_appl_entry_l
  3044.  ength.                                                     */
  3045.    /********************************************************************
  3046.  ******/
  3047.      2 ms_appl_entry_len          /* Size of MS application info */
  3048.                                   type ULONG,
  3049.  /*                               -------                   */
  3050.      2 ms_appl_name               /* MS Application name    */
  3051.                                   char (8),
  3052.  /*                               -------                   */
  3053.    /* 4 byte SNA Defined MS Appl Name*/
  3054.    /* or 1-8 byte (EBCDIC type A)                           */
  3055.      2 ms_category                /* MS Category            */
  3056.                                   char (8),
  3057.  /*                               -------                   */
  3058.    /* 0 or 4 byte SNA Defined Category                      */
  3059.      2 q_name                     /* OS/2 Queue Name (ASCIIZ) */
  3060.                                   char (81),
  3061.  /*                               -------                   */
  3062.      2 reserv3                    /* Reserved               */
  3063.                                   type UCHAR,
  3064.  /*                               -------                   */
  3065.      2 reserv4                    /* Reserved               */
  3066.                                   type UCHAR,
  3067.  /*                               -------                   */
  3068.      2 reserv5                    Reserved                  */
  3069.                                   type UCHAR;/*
  3070.  /*                               -------                   */
  3071.    /********************************************************************
  3072.  ****/
  3073.    /* Additional fields of unspecified length are located in this positi
  3074.  on.*/
  3075.    /* Use ms_appl_entry_len to skip over them.              */
  3076.    /********************************************************************
  3077.  ****/
  3078.  
  3079.  define alias @ms_appl_overlay handle ms_appl_overlay;
  3080.  
  3081.  define structure
  3082.    1 ms_act_trans_overlay,
  3083.    /********************************************************************
  3084.  ******/
  3085.    /* The first ms_act_trans_overlay follows immediately after the last
  3086.                                                             */
  3087.    /* ms_appl overlay. Hence, the address of the first ms_act_trans_over
  3088.  lay                                                        */
  3089.     /* Error: /* should be:
  3090.                                                             */
  3091.    /* the address of the last ms_appl_overlay + ms_appl_entry length. */
  3092.     /* Error: /* To find the next ms_act_trans_overlay, add:  ms_act_tra
  3093.  ns_entry_length.*/
  3094.    /********************************************************************
  3095.  ******/
  3096.      2 ms_act_trans_entry_len     /* Size of info           */
  3097.                                   type ULONG,
  3098.  /*                               -------                   */
  3099.      2 fq_origin_cp_name          /* Fully Qualified Origin
  3100.                                   char (17),
  3101.  /*                               -------                   */
  3102.   CP Name                                                   */
  3103.    /* (EBCDIC type A)                                       */
  3104.      2 origin_ms_appl_name        /* Origin MS Application
  3105.                                   char (8),
  3106.  /*                               -------                   */
  3107.   Name                                                      */
  3108.    /* 4 byte SNA Defined MS Appl Name*/
  3109.    /* or 1-8 byte (EBCDIC type A)                           */
  3110.      2 fq_dest_cp_name            /* Fully Qualified Dest. CP
  3111.                                   char (17),
  3112.  /*                               -------                   */
  3113.   Name                                                      */
  3114.    /* (EBCDIC type A)                                       */
  3115.      2 dest_ms_appl_name          /* Dest. MS Application Na
  3116.                                   char (8),
  3117.  /*                               -------                   */
  3118.  me                                                         */
  3119.    /* 4 byte SNA Defined MS Appl Name*/
  3120.    /* or 1-8 byte (EBCDIC type A)                           */
  3121.    /********************************************************************
  3122.  ****/
  3123.    /* the following 3 fields are part of the Unit of Work (UOW) */
  3124.    /********************************************************************
  3125.  ****/
  3126.      2 fq_req_loc_cp_name         /* Requester Location     */
  3127.                                   char (17),
  3128.  /*                               -------                   */
  3129.    /* (EBCDIC type A)                                       */
  3130.      2 req_agent_appl_name        /* Requester Application
  3131.                                   char (8),
  3132.  /*                               -------                   */
  3133.   Name                                                      */
  3134.    /* 4 byte SNA Defined MS Appl Name*/
  3135.    /* or 1-8 byte (EBCDIC type A)                           */
  3136.      2 seq_num_dt                 Sequence Number / date - time
  3137.                                   char (15);/*
  3138.  /*                               -------                   */
  3139.                                                             */
  3140.    /********************************************************************
  3141.  ****/
  3142.    /* Additional fields of unspecified length are located in this positi
  3143.  on.*/
  3144.    /* Use ms_act_trans_entry_len to skip over them.         */
  3145.    /********************************************************************
  3146.  ****/
  3147.  
  3148.  define alias @ms_act_trans_overlay handle ms_act_trans_overlay;
  3149.  
  3150.  define structure
  3151.    1 ms_local_fp_overlay,
  3152.    /********************************************************************
  3153.  ******/
  3154.    /* The first ms_local_fp_overlay follows immediately after the last
  3155.                                                             */
  3156.    /* ms_act_trans_overlay. Hence, the address of the first */
  3157.     /* Error: /* ms_local_fp_overlay should be:
  3158.                                                             */
  3159.    /* the address of the last ms_act_trans_overlay + ms_act_trans_entry_
  3160.  len.*/
  3161.     /* Error: /* To find the next ms_local_fp_overlay, add: ms_local_fp_
  3162.  entry_len.                                                 */
  3163.    /********************************************************************
  3164.  ******/
  3165.      2 ms_local_fp_entry_len      /* Size of MS local FP entry */
  3166.                                   type ULONG,
  3167.  /*                               -------                   */
  3168.      2 ms_local_fp_info_len       /* Size of MS local FP info */
  3169.                                   type ULONG,
  3170.  /*                               -------                   */
  3171.      2 ms_appl_name               /* MS Application name    */
  3172.                                   char (8),
  3173.  /*                               -------                   */
  3174.    /* 4 byte SNA Defined                                    */
  3175.    /* or 1-8 byte (EBCDIC type A)                           */
  3176.      2 ms_category                /* MS Category            */
  3177.                                   char (8),
  3178.  /*                               -------                   */
  3179.    /* 0 or 4 byte SNA Defined Ctgy                          */
  3180.      2 appl_status                /* status of local FP appl */
  3181.                                   type UCHAR,
  3182.  /*                               -------                   */
  3183.      2 default_soc                /* Default sphere of control? */
  3184.                                   type UCHAR,
  3185.  /*                               -------                   */
  3186.      2 dflt_bkup_fp_fq_cp_name    /* Backup Focal Poi
  3187.                                   char (17),
  3188.  /*                               -------                   */
  3189.  nt Name                                                    */
  3190.    /* (EBCDIC type A)                                       */
  3191.      2 dflt_bkup_ind              /* Replace Backup FP indicator */
  3192.                                   type UCHAR,
  3193.  /*                               -------                   */
  3194.      2 num_soc_nodes              number of soc entries     */
  3195.                                   type USHORT;/*
  3196.  /*                               -------                   */
  3197.    /********************************************************************
  3198.  ****/
  3199.    /* Additional fields of unspecified length are located in this positi
  3200.  on.*/
  3201.    /* Use ms_local_fp_entry_len to skip over them.          */
  3202.    /********************************************************************
  3203.  ****/
  3204.  
  3205.  define alias @ms_local_fp_overlay handle ms_local_fp_overlay;
  3206.  /*                                                         */
  3207.  
  3208.  define structure
  3209.    1 ms_soc_overlay,
  3210.    /********************************************************************
  3211.  ******/
  3212.    /* There are some number of ms_soc_overlay's for each    */
  3213.    /* ms_local_fp_overlay.                                  */
  3214.    /*                                                       */
  3215.    /* The first ms_soc_overlay follows immediately after the */
  3216.    /* ms_local_fp_overlay. Hence, the address of the first  */
  3217.     /* Error: /* ms_soc_overlay should be:
  3218.                                                             */
  3219.    /* the address of the ms_local_fp_overlay +              */
  3220.    /* sizeof(ms_local_fp_entry_len) +                       */
  3221.    /* ms_local_fp_info_len                                  */
  3222.     /* Error: /* To find the next ms_soc_overlay, add:  ms_soc_entry_len
  3223.                                                             */
  3224.    /********************************************************************
  3225.  ******/
  3226.      2 ms_soc_entry_len           /* Size of MS local FP info */
  3227.                                   type ULONG,
  3228.  /*                               -------                   */
  3229.      2 soc_entry_fq_cp_name       /* Soc entry name         */
  3230.                                   char (17),
  3231.  /*                               -------                   */
  3232.    /* (EBCDIC type A)                                       */
  3233.      2 expl_bkup_fp_fq_cp_name    /* Backup Focal Poi
  3234.                                   char (17),
  3235.  /*                               -------                   */
  3236.  nt Name                                                    */
  3237.    /* (EBCDIC type A)                                       */
  3238.      2 expl_bkup_ind              /* Replace Backup FP indicator */
  3239.                                   type UCHAR,
  3240.  /*                               -------                   */
  3241.      2 soc_entry_status           /* Status of soc entry    */
  3242.                                   type UCHAR,
  3243.  /*                               -------                   */
  3244.      2 soc_entry_rank             /* how acquired           */
  3245.                                   type UCHAR,
  3246.  /*                               -------                   */
  3247.      2 reserv1
  3248.                                   type UCHAR;
  3249.  /*                               -------                   */
  3250.    /********************************************************************
  3251.  ****/
  3252.    /* Additional fields of unspecified length are located in this positi
  3253.  on.*/
  3254.    /* Use ms_soc_entry_len to skip over them.               */
  3255.    /********************************************************************
  3256.  ****/
  3257.  
  3258.  define alias @ms_soc_overlay handle ms_soc_overlay;
  3259.  /*                                                         */
  3260.  
  3261.  define structure
  3262.    1 pu_info_sect,
  3263.    /********************************************************************
  3264.  ******/
  3265.     /* Error: /* The address of this structure should be: pu_info_ptr
  3266.                                                             */
  3267.    /********************************************************************
  3268.  ******/
  3269.      2 pu_init_sect_len           /* Structure length       */
  3270.                                   type ULONG,
  3271.  /*                               -------                   */
  3272.      2 num_pu                     /* Number of PUs Displayed */
  3273.                                   type USHORT,
  3274.  /*                               -------                   */
  3275.      2 total_pu                   Total Number PUs          */
  3276.                                   type USHORT;/*
  3277.  /*                               -------                   */
  3278.    /********************************************************************
  3279.  ****/
  3280.    /* Additional fields may be added here in future releases */
  3281.    /********************************************************************
  3282.  ****/
  3283.  
  3284.  define alias @pu_info_sect handle pu_info_sect;
  3285.  
  3286.  define structure
  3287.    1 pu_overlay,
  3288.    /********************************************************************
  3289.  ******/
  3290.     /* Error: /* The address of the first of these structures should be:
  3291.                                                             */
  3292.    /* pu_info_ptr + pu_info_ptr->pu_init_sect_len.          */
  3293.     /* Error: /* To find the next one, add:    pu_overlay_ptr->pu_entry_
  3294.  len                                                        */
  3295.    /********************************************************************
  3296.  ******/
  3297.      2 entry_len                  /* Size of pu info        */
  3298.                                   type ULONG,
  3299.  /*                               -------                   */
  3300.      2 pu_name                    /* PU Name (EBCDIC type A) */
  3301.                                   char (8),
  3302.  /*                               -------                   */
  3303.      2 pu_node_id                 /* PU Node ID (used on XID) */
  3304.                                   char (4),
  3305.  /*                               -------                   */
  3306.      2 link_name                  /* Link Name (EBCDIC type A) */
  3307.                                   char (8),
  3308.  /*                               -------                   */
  3309.      2 nbr_lus                    /* Number of LUs active   */
  3310.                                   type USHORT,
  3311.  /*                               -------                   */
  3312.      2 adj_fq_cp_name             /* Adj CP Name (EBCDIC Type
  3313.                                   char (17),
  3314.  /*                               -------                   */
  3315.  A)                                                         */
  3316.      2 pu_status                  /* PU Active? Yes/No      */
  3317.                                   type UCHAR,
  3318.  /*                               -------                   */
  3319.      2 dlc_name                   Name of DLC used for link */
  3320.                                   char (8);/*
  3321.  /*                               -------                   */
  3322.    /********************************************************************
  3323.  ****/
  3324.    /* Additional fields may be added here in future releases */
  3325.    /********************************************************************
  3326.  ****/
  3327.  
  3328.  define alias @pu_overlay handle pu_overlay;
  3329.  
  3330.  define structure
  3331.    1 pulu_overlay,
  3332.    /********************************************************************
  3333.  ******/
  3334.     /* Error: /* The address of the first of these structures should be:
  3335.                                                             */
  3336.    /* pu_info_ptr + pu_info_ptr->sizeof(pu_overlay)         */
  3337.     /* Error: /* To find the next one, add:    pulu_overlay_ptr->entry_l
  3338.  en                                                         */
  3339.    /********************************************************************
  3340.  ******/
  3341.      2 entry_len                  /* Length of this entry   */
  3342.                                   type ULONG,
  3343.  /*                               -------                   */
  3344.      2 lu_name                    /* LU Name                */
  3345.                                   char (8),
  3346.  /*                               -------                   */
  3347.      2 lu_type                    /* LU Type                */
  3348.                                   type UCHAR,
  3349.  /*                               -------                   */
  3350.      2 lu_status                  /* LU Status              */
  3351.                                   type UCHAR,
  3352.  /*                               -------                   */
  3353.      2 link_name                  /* Link Name for Gateway LUs */
  3354.                                   char (8),
  3355.  /*                               -------                   */
  3356.      2 dlc_name                   DLC Name for Gateway LUs  */
  3357.                                   char (8);/*
  3358.  /*                               -------                   */
  3359.  
  3360.  define alias @pulu_overlay handle pulu_overlay;
  3361.  
  3362.  
  3363.  define structure
  3364.    1 node_info_sect,
  3365.    /********************************************************************
  3366.  ******/
  3367.     /* Error: /* The address of this structure should be: node_info_ptr
  3368.                                                             */
  3369.    /********************************************************************
  3370.  ******/
  3371.      2 route_resist               /* Route Addition Resistance */
  3372.                                   type UCHAR,
  3373.  /*                               -------                   */
  3374.    /* 0-255                                                 */
  3375.      2 reserv3                    /* Reserved               */
  3376.                                   type UCHAR,
  3377.  /*                               -------                   */
  3378.      2 max_cache                  /* Max number of resources that can */
  3379.                                   type USHORT,
  3380.  /*                               -------                   */
  3381.    /* be cached in the directory 0 =                        */
  3382.    /* no maximum                                            */
  3383.    /* 1-65535                                               */
  3384.      2 current_cache              /* current number of entries in the */
  3385.                                   type USHORT,
  3386.  /*                               -------                   */
  3387.    /* in the directory cache                                */
  3388.      2 dir_dump_interval          /* how often the dir is saved on */
  3389.                                   type USHORT,
  3390.  /*                               -------                   */
  3391.    /* perm storage 0 = never saved                          */
  3392.    /* 1-65535 = number of updates                           */
  3393.    /* before saving                                         */
  3394.      2 max_compression_tokens     /* Maximum amount of resources
  3395.                                   type USHORT,
  3396.  /*                               -------                   */
  3397.                                                             */
  3398.    /* which can be dedicated                                */
  3399.    /* to data compression                                   */
  3400.      2 tokens_remaining           /* The amount of resources */
  3401.                                   type USHORT,
  3402.  /*                               -------                   */
  3403.    /* still available to dedicate                           */
  3404.    /* to compression                                        */
  3405.      2 max_compression_level      Maximum compression algorithm
  3406.                                   type UCHAR;/*
  3407.  /*                               -------                   */
  3408.                                                             */
  3409.    /* which will be used for sessions                       */
  3410.    /* with this node.                                       */
  3411.    /* 0 = NO compression                                    */
  3412.    /* 1 = RLE compression                                   */
  3413.    /* 2 = LZ9 compression                                   */
  3414.    /********************************************************************
  3415.  ****/
  3416.    /* Additional fields may be added here in future releases */
  3417.    /********************************************************************
  3418.  ****/
  3419.  
  3420.  define alias @node_info_sect handle node_info_sect;
  3421.  
  3422.  define structure
  3423.    1 directory_info_sect,
  3424.    /********************************************************************
  3425.  ******/
  3426.     /* Error: /* The address of this structure should be: directory_info
  3427.  _ptr                                                       */
  3428.    /********************************************************************
  3429.  ******/
  3430.      2 directory_init_sect_len    /* Struct length          */
  3431.                                   type ULONG,
  3432.  /*                               -------                   */
  3433.      2 num_entries                /* Number of dir entries  */
  3434.                                   type USHORT,
  3435.  /*                               -------                   */
  3436.      2 num_nns                    /* number network nodes displayed */
  3437.                                   type USHORT,
  3438.  /*                               -------                   */
  3439.      2 total_nns                  /* total number of network nodes */
  3440.                                   type USHORT,
  3441.  /*                               -------                   */
  3442.      2 num_ens                    /* number of end nodes displayed */
  3443.                                   type USHORT,
  3444.  /*                               -------                   */
  3445.      2 total_ens                  total number of end nodes */
  3446.                                   type USHORT;/*
  3447.  /*                               -------                   */
  3448.    /********************************************************************
  3449.  ****/
  3450.    /* Additional fields may be added here in future releases */
  3451.    /********************************************************************
  3452.  ****/
  3453.  
  3454.  define alias @directory_info_sect handle directory_info_sect;
  3455.  
  3456.  define structure
  3457.    1 dir_nn_overlay,
  3458.    /********************************************************************
  3459.  ******/
  3460.     /* Error: /* The address of the first of these structures should be:
  3461.                                                             */
  3462.    /* directory_info_ptr + directory_info_ptr->directory_init_sect_len.
  3463.  To                                                         */
  3464.     /* Error: /* find the next one, add: dir_nn_entry_len
  3465.                                                             */
  3466.    /********************************************************************
  3467.  ******/
  3468.      2 dir_nn_entry_len           /* Size of all nn data    */
  3469.                                   type ULONG,
  3470.  /*                               -------                   */
  3471.      2 dir_nn_info_len            /* size of nn data only   */
  3472.                                   type ULONG,
  3473.  /*                               -------                   */
  3474.      2 fq_nncp_name               /* FQ NNCP Name SERVING (EBCDI
  3475.                                   char (17),
  3476.  /*                               -------                   */
  3477.  C)                                                         */
  3478.      2 reserv3                    /* Reserved               */
  3479.                                   type UCHAR,
  3480.  /*                               -------                   */
  3481.      2 num_lus                    number of lus displayed   */
  3482.                                   type USHORT;/*
  3483.  /*                               -------                   */
  3484.    /********************************************************************
  3485.  ****/
  3486.    /* Additional fields may be added here in future releases */
  3487.    /********************************************************************
  3488.  ****/
  3489.  
  3490.  define alias @dir_nn_overlay handle dir_nn_overlay;
  3491.  
  3492.  define structure
  3493.    1 dir_en_overlay,
  3494.    /********************************************************************
  3495.  ******/
  3496.     /* Error: /* The address of the first of these structures should be:
  3497.                                                             */
  3498.    /* lun_overlay of the last NN + lun_entry_len.           */
  3499.     /* Error: /* To find the next one, add: dir_en_entry_len
  3500.                                                             */
  3501.    /********************************************************************
  3502.  ******/
  3503.      2 dir_en_entry_len           /* Size of all nn data    */
  3504.                                   type ULONG,
  3505.  /*                               -------                   */
  3506.      2 dir_en_info_len            /* size of nn data only   */
  3507.                                   type ULONG,
  3508.  /*                               -------                   */
  3509.      2 fq_encp_name               /* End Node CP FQ name (EBCDIC
  3510.                                   char (17),
  3511.  /*                               -------                   */
  3512.  )                                                          */
  3513.      2 reserv3                    /* Reserved               */
  3514.                                   type UCHAR,
  3515.  /*                               -------                   */
  3516.      2 num_lus                    number of lus displayed   */
  3517.                                   type USHORT;/*
  3518.  /*                               -------                   */
  3519.    /********************************************************************
  3520.  ****/
  3521.    /* Additional fields may be added here in future releases */
  3522.    /********************************************************************
  3523.  ****/
  3524.  
  3525.  define alias @dir_en_overlay handle dir_en_overlay;
  3526.  
  3527.  define structure
  3528.    1 lun_overlay,
  3529.    /********************************************************************
  3530.  ******/
  3531.     /* Error: /* The address of the first of these structures should be:
  3532.   The address of                                            */
  3533.    /* the current dir_nX_overlay + dir_nX_info_len + sizeof(dir_nX_entry
  3534.  _len)*/
  3535.     /* Error: /* To find the next lun overlay, add: lun_entry_len.
  3536.                                                             */
  3537.    /********************************************************************
  3538.  ******/
  3539.      2 lun_entry_len              /* Size of all lun data   */
  3540.                                   type ULONG,
  3541.  /*                               -------                   */
  3542.      2 fqlu_name                  /* fully qualified lu name (EBCDI
  3543.                                   char (17),
  3544.  /*                               -------                   */
  3545.  C)                                                         */
  3546.      2 fq_nncp_name               /* Fully qual owning cp (EBCDI
  3547.                                   char (17),
  3548.  /*                               -------                   */
  3549.  C)                                                         */
  3550.      2 lu_entry_type              /* type of dir entry      */
  3551.                                   type UCHAR,
  3552.  /*                               -------                   */
  3553.      2 wildcard_entry             Wildcard Entry?           */
  3554.                                   type UCHAR;/*
  3555.  /*                               -------                   */
  3556.  
  3557.  define alias @lun_overlay handle lun_overlay;
  3558.  
  3559.  define structure
  3560.    1 topology_info_sect,
  3561.    /********************************************************************
  3562.  ******/
  3563.     /* Error: /* The address of this structure should be: topology_info_
  3564.  ptr                                                        */
  3565.    /********************************************************************
  3566.  ******/
  3567.      2 topology_init_sect_len     /* Struct length          */
  3568.                                   type ULONG,
  3569.  /*                               -------                   */
  3570.      2 num_nns                    /* number network nodes DISPLAYED */
  3571.                                   type USHORT,
  3572.  /*                               -------                   */
  3573.      2 total_nns                  total number of nn's      */
  3574.                                   type USHORT;/*
  3575.  /*                               -------                   */
  3576.    /********************************************************************
  3577.  ****/
  3578.    /* Additional fields may be added here in future releases */
  3579.    /********************************************************************
  3580.  ****/
  3581.  
  3582.  define alias @topology_info_sect handle topology_info_sect;
  3583.  
  3584.  define structure
  3585.    1 topology_nn_overlay,
  3586.    /********************************************************************
  3587.  ******/
  3588.     /* Error: /* The address of the first of these structures should be:
  3589.                                                             */
  3590.    /* topology_info_ptr + topology_info_ptr->topology_init_sect_len. To
  3591.  find                                                       */
  3592.     /* Error: /* the next one, add: topology_entry_len
  3593.                                                             */
  3594.    /********************************************************************
  3595.  ******/
  3596.      2 topology_entry_len         /* Size of all nn data    */
  3597.                                   type ULONG,
  3598.  /*                               -------                   */
  3599.      2 topology_nn_info_len       /* size of nn data only   */
  3600.                                   type ULONG,
  3601.  /*                               -------                   */
  3602.      2 fq_nncp_name               /* FQ NNCP name           */
  3603.                                   char (17),
  3604.  /*                               -------                   */
  3605.      2 route_resist               /* Route Addition Resistance */
  3606.                                   type UCHAR,
  3607.  /*                               -------                   */
  3608.    /* 0-255                                                 */
  3609.      2 nncp_congested             /* Congested?             */
  3610.                                   type UCHAR,
  3611.  /*                               -------                   */
  3612.      2 nncp_quiescing             /* Quiescing?             */
  3613.                                   type UCHAR,
  3614.  /*                               -------                   */
  3615.      2 reserv3                    /* Reserved               */
  3616.                                   type UCHAR,
  3617.  /*                               -------                   */
  3618.      2 nncp_isr_depleted          /* ISR Depleted?          */
  3619.                                   type UCHAR,
  3620.  /*                               -------                   */
  3621.      2 num_tgs                    Number of TGs returned    */
  3622.                                   type USHORT;/*
  3623.  /*                               -------                   */
  3624.    /********************************************************************
  3625.  ****/
  3626.    /* Additional fields may be added here in future releases */
  3627.    /********************************************************************
  3628.  ****/
  3629.  
  3630.  define alias @topology_nn_overlay handle topology_nn_overlay;
  3631.  
  3632.  define structure
  3633.    1 tg_overlay,
  3634.    /********************************************************************
  3635.  ******/
  3636.     /* Error: /* The address of the first of tg overlay should be:
  3637.                                                             */
  3638.    /* The address of the current topology_nn_overlay +      */
  3639.    /* topology_nn_info_len +                                */
  3640.    /* sizeof(topology_entry_len)                            */
  3641.     /* Error: /* To find the next tg overlay, add: tg_entry_len.
  3642.                                                             */
  3643.    /********************************************************************
  3644.  ******/
  3645.      2 tg_entry_len               /* Size of all TG data    */
  3646.                                   type ULONG,
  3647.  /*                               -------                   */
  3648.      2 fq_nncp_name               /* Adjacent CP Name       */
  3649.                                   char (17),
  3650.  /*                               -------                   */
  3651.      2 reserv3                    /* Reserved               */
  3652.                                   type UCHAR,
  3653.  /*                               -------                   */
  3654.      2 tg_number                  /* TG Number 0-240        */
  3655.                                   type UCHAR,
  3656.  /*                               -------                   */
  3657.      2 node_type                  /* Node Type              */
  3658.                                   type UCHAR,
  3659.  /*                               -------                   */
  3660.      2 eff_capacity               /* Effective Capacity     */
  3661.                                   type UCHAR,
  3662.  /*                               -------                   */
  3663.      2 conn_cost                  /* Cost Per Connect Time  */
  3664.                                   type UCHAR,
  3665.  /*                               -------                   */
  3666.      2 byte_cost                  /* Cost Per Byte          */
  3667.                                   type UCHAR,
  3668.  /*                               -------                   */
  3669.      2 propagation_delay          /* Propagation Delay      */
  3670.                                   type UCHAR,
  3671.  /*                               -------                   */
  3672.      2 user_def_1                 /* User Defined 1         */
  3673.                                   type UCHAR,
  3674.  /*                               -------                   */
  3675.      2 user_def_2                 /* User Defined 2         */
  3676.                                   type UCHAR,
  3677.  /*                               -------                   */
  3678.      2 user_def_3                 /* User Defined 3         */
  3679.                                   type UCHAR,
  3680.  /*                               -------                   */
  3681.      2 security                   /* Security               */
  3682.                                   type UCHAR,
  3683.  /*                               -------                   */
  3684.      2 quiescing                  /* Quiescing?             */
  3685.                                   type UCHAR,
  3686.  /*                               -------                   */
  3687.      2 network_topology           Is this in Network Topology? */
  3688.                                   type UCHAR;/*
  3689.  /*                               -------                   */
  3690.    /********************************************************************
  3691.  ****/
  3692.    /* Additional fields may be added here in future releases */
  3693.    /********************************************************************
  3694.  ****/
  3695.  
  3696.  define alias @tg_overlay handle tg_overlay;
  3697.  
  3698.  define structure
  3699.    1 isr_info_sect,
  3700.    /********************************************************************
  3701.  ******/
  3702.     /* Error: /* The address of this structure should be: isr_info_ptr
  3703.                                                             */
  3704.    /********************************************************************
  3705.  ******/
  3706.      2 isr_init_sect_len          /* Struct length          */
  3707.                                   type ULONG,
  3708.  /*                               -------                   */
  3709.      2 num_isr                    /* Num Intermediate Sess. Displayed */
  3710.                                   type USHORT,
  3711.  /*                               -------                   */
  3712.      2 total_isr                  Total Intermediate Sessions */
  3713.                                   type USHORT;/*
  3714.  /*                               -------                   */
  3715.    /********************************************************************
  3716.  ****/
  3717.    /* Additional fields may be added here in future releases */
  3718.    /********************************************************************
  3719.  ****/
  3720.  
  3721.  define alias @isr_info_sect handle isr_info_sect;
  3722.  
  3723.  define structure
  3724.    1 isr_overlay,
  3725.    /********************************************************************
  3726.  ******/
  3727.     /* Error: /* The address of the first of these structures should be:
  3728.   isr_info_ptr +                                            */
  3729.    /* isr_info_ptr->isr_init_sect_len.  To find the next one, add:
  3730.                                                             */
  3731.    /* isr_entry_len                                         */
  3732.    /********************************************************************
  3733.  ******/
  3734.      2 isr_entry_len              /* Size of all isr data   */
  3735.                                   type ULONG,
  3736.  /*                               -------                   */
  3737.      2 fq_pri_nncp_name           /* FQ NNCP name (EBCDIC)
  3738.                                   char (17),
  3739.  /*                               -------                   */
  3740.                                                             */
  3741.      2 fq_sec_nncp_name           /* FQ NNCP name (EBCDIC)
  3742.                                   char (17),
  3743.  /*                               -------                   */
  3744.                                                             */
  3745.      2 pri_link_name              /* Primary Link Name (EBCDIC)
  3746.                                   char (8),
  3747.  /*                               -------                   */
  3748.                                                             */
  3749.      2 sec_link_name              /* Secondary Link Name (EBCDIC
  3750.                                   char (8),
  3751.  /*                               -------                   */
  3752.  )                                                          */
  3753.      2 fqpcid                     /* Fully Qualified Procedure */
  3754.                                   type FQPCID_OVERLAY,
  3755.  /*                               -------                   */
  3756.    /* Correlation Identifier                                */
  3757.      2 fq_pri_lu_name             /* Name of primary LU     */
  3758.                                   char (17),
  3759.  /*                               -------                   */
  3760.      2 fq_sec_lu_name             /* Name of secondary LU   */
  3761.                                   char (17),
  3762.  /*                               -------                   */
  3763.      2 pri_lu_send_fmd_piu_count
  3764.                                   char (8),
  3765.  /*                               -------                   */
  3766.    /* FMD PIU count sent by Pri. LU                         */
  3767.      2 sec_lu_send_fmd_piu_count
  3768.                                   char (8),
  3769.  /*                               -------                   */
  3770.    /* FMD PIU count sent by Sec. LU                         */
  3771.      2 pri_lu_send_non_fmd_piu_count
  3772.                                   char (8),
  3773.  /*                               -------                   */
  3774.    /* Non-FMD PIU count sent by Pri. LU                     */
  3775.      2 sec_lu_send_non_fmd_piu_count
  3776.                                   char (8),
  3777.  /*                               -------                   */
  3778.    /* Non-FMD PIU count sent by Sec. LU                     */
  3779.      2 pri_lu_send_byte_count     /* Bytes sent on sess
  3780.                                   char (8),
  3781.  /*                               -------                   */
  3782.  ion by Pri. LU                                             */
  3783.      2 sec_lu_send_byte_count     Bytes sent on sess
  3784.                                   char (8);/*
  3785.  /*                               -------                   */
  3786.  ion by Sec. LU                                             */
  3787.    /********************************************************************
  3788.  ****/
  3789.    /* Additional fields may be added here in future releases */
  3790.    /********************************************************************
  3791.  ****/
  3792.  
  3793.  define alias @isr_overlay handle isr_overlay;
  3794.  
  3795.  define structure
  3796.    1 cos_info_sect,
  3797.    /********************************************************************
  3798.  ******/
  3799.     /* Error: /* The address of this structure should be: cos_info_ptr
  3800.                                                             */
  3801.    /********************************************************************
  3802.  ******/
  3803.      2 cos_init_sect_len          /* Struct length          */
  3804.                                   type ULONG,
  3805.  /*                               -------                   */
  3806.      2 num_cos                    /* Number COS Definitions Displayed */
  3807.                                   type USHORT,
  3808.  /*                               -------                   */
  3809.      2 total_cos                  Total Number of COS Definitions */
  3810.                                   type USHORT;/*
  3811.  /*                               -------                   */
  3812.    /********************************************************************
  3813.  ****/
  3814.    /* Additional fields may be added here in future releases */
  3815.    /********************************************************************
  3816.  ****/
  3817.  
  3818.  define alias @cos_info_sect handle cos_info_sect;
  3819.  
  3820.  define structure
  3821.    1 cos_overlay,
  3822.    /********************************************************************
  3823.  ******/
  3824.     /* Error: /* The address of the first of these structures should be:
  3825.   cos_info_ptr +                                            */
  3826.    /* cos_info_ptr->cos_init_sect_len.  To find the next one, add:
  3827.                                                             */
  3828.    /* cos_entry_len                                         */
  3829.    /********************************************************************
  3830.  ******/
  3831.      2 cos_entry_len              /* Size of all cos data   */
  3832.                                   type ULONG,
  3833.  /*                               -------                   */
  3834.      2 cos_info_len               /* size of cos data only  */
  3835.                                   type ULONG,
  3836.  /*                               -------                   */
  3837.      2 cos_name                   /* COS name               */
  3838.                                   char (8),
  3839.  /*                               -------                   */
  3840.      2 trans_priority             /* Transmission Priority  */
  3841.                                   type UCHAR,
  3842.  /*                               -------                   */
  3843.      2 num_of_node_rows           /* number of node rows 1-8 */
  3844.                                   type UCHAR,
  3845.  /*                               -------                   */
  3846.      2 num_of_tg_rows             number of tg rows 1-8     */
  3847.                                   type UCHAR;/*
  3848.  /*                               -------                   */
  3849.    /********************************************************************
  3850.  ****/
  3851.    /* Additional fields may be added here in future releases */
  3852.    /********************************************************************
  3853.  ****/
  3854.  
  3855.  define alias @cos_overlay handle cos_overlay;
  3856.  
  3857.  define structure
  3858.    1 cos_node_row_overlay,
  3859.    /********************************************************************
  3860.  ******/
  3861.     /* Error: /* The address of the first of these structures should be:
  3862.   The address of                                            */
  3863.    /* the current cos_overlay + cos_info_len + sizeof(cos_entry_len) */
  3864.     /* Error: /* To find the next cos node row, add: cos_node_row_entry_
  3865.  len.                                                       */
  3866.    /********************************************************************
  3867.  ******/
  3868.      2 cos_node_row_entry_len     /* Size of all cos node row data
  3869.                                   type ULONG,
  3870.  /*                               -------                   */
  3871.                                                             */
  3872.      2 weight                     /* Node Row Weight        */
  3873.                                   type UCHAR,
  3874.  /*                               -------                   */
  3875.    /* 0-255                                                 */
  3876.      2 reserv3                    /* Reserved               */
  3877.                                   type UCHAR,
  3878.  /*                               -------                   */
  3879.      2 route_add_res_min          /* Route Addition Resistance Min */
  3880.                                   type UCHAR,
  3881.  /*                               -------                   */
  3882.    /* 0-255                                                 */
  3883.      2 route_add_res_max          /* Route Addition Resistance Max */
  3884.                                   type UCHAR,
  3885.  /*                               -------                   */
  3886.    /* 0-255                                                 */
  3887.      2 congestion_min             /* Congestion Min         */
  3888.                                   type UCHAR,
  3889.  /*                               -------                   */
  3890.      2 congestion_max             Congestion Max            */
  3891.                                   type UCHAR;/*
  3892.  /*                               -------                   */
  3893.    /********************************************************************
  3894.  ****/
  3895.    /* Additional fields may be added here in future releases */
  3896.    /********************************************************************
  3897.  ****/
  3898.  
  3899.  define alias @cos_node_row_overlay handle cos_node_row_overlay;
  3900.  
  3901.  define structure
  3902.    1 cos_tg_row_overlay,
  3903.    /********************************************************************
  3904.  ******/
  3905.     /* Error: /* The address of the first of these structures should be:
  3906.   The address of                                            */
  3907.    /* the last cos_node_row_overlay + cos_node_row_entry_len. */
  3908.    /* (The first tg row overlay comes right after the last node row over
  3909.  lay)                                                       */
  3910.    /*                                                       */
  3911.     /* Error: /* To find the next cos tg row, add: cos_tg_row_entry_len.
  3912.                                                             */
  3913.    /********************************************************************
  3914.  ******/
  3915.      2 cos_tg_row_entry_len       /* Size of all cos tg now data */
  3916.                                   type ULONG,
  3917.  /*                               -------                   */
  3918.      2 weight                     /* TG Row Weight          */
  3919.                                   type UCHAR,
  3920.  /*                               -------                   */
  3921.    /* 0-255                                                 */
  3922.      2 reserv3                    /* Reserved               */
  3923.                                   type UCHAR,
  3924.  /*                               -------                   */
  3925.      2 eff_capacity_min           /* Effective Capacity Min */
  3926.                                   type UCHAR,
  3927.  /*                               -------                   */
  3928.      2 eff_capacity_max           /* Effective Capacity Max */
  3929.                                   type UCHAR,
  3930.  /*                               -------                   */
  3931.    /* 1 byte floating point number                          */
  3932.    /* 5 bit exponent                                        */
  3933.    /* 3 bit mantissa                                        */
  3934.      2 cost_per_time_min          /* Cost Per Connect Min   */
  3935.                                   type UCHAR,
  3936.  /*                               -------                   */
  3937.    /* 0-255                                                 */
  3938.      2 cost_per_time_max          /* Cost Per Connect Max   */
  3939.                                   type UCHAR,
  3940.  /*                               -------                   */
  3941.    /* 0-255                                                 */
  3942.      2 cost_per_byte_min          /* Cost Per Byte Min      */
  3943.                                   type UCHAR,
  3944.  /*                               -------                   */
  3945.    /* 0-255                                                 */
  3946.      2 cost_per_byte_max          /* Cost Per Byte Min      */
  3947.                                   type UCHAR,
  3948.  /*                               -------                   */
  3949.    /* 0-255                                                 */
  3950.      2 security_min               /* Security Min           */
  3951.                                   type UCHAR,
  3952.  /*                               -------                   */
  3953.      2 security_max               /* Security Max           */
  3954.                                   type UCHAR,
  3955.  /*                               -------                   */
  3956.      2 propagation_delay_min      /* Propagation Delay Min  */
  3957.                                   type UCHAR,
  3958.  /*                               -------                   */
  3959.      2 propagation_delay_max      /* Propagation Delay Max  */
  3960.                                   type UCHAR,
  3961.  /*                               -------                   */
  3962.      2 user_def_1_min             /* User Defined 1 Min     */
  3963.                                   type UCHAR,
  3964.  /*                               -------                   */
  3965.      2 user_def_1_max             /* User Defined 1 Max     */
  3966.                                   type UCHAR,
  3967.  /*                               -------                   */
  3968.      2 user_def_2_min             /* User Defined 2 Min     */
  3969.                                   type UCHAR,
  3970.  /*                               -------                   */
  3971.      2 user_def_2_max             /* User Defined 2 Max     */
  3972.                                   type UCHAR,
  3973.  /*                               -------                   */
  3974.      2 user_def_3_min             /* User Defined 3 Min     */
  3975.                                   type UCHAR,
  3976.  /*                               -------                   */
  3977.      2 user_def_3_max             User Defined 3 Max        */
  3978.                                   type UCHAR;/*
  3979.  /*                               -------                   */
  3980.    /********************************************************************
  3981.  ****/
  3982.    /* Additional fields may be added here in future releases */
  3983.    /********************************************************************
  3984.  ****/
  3985.  
  3986.  define alias @cos_tg_row_overlay handle cos_tg_row_overlay;
  3987.  
  3988.  define structure
  3989.    1 cn_info_sect,
  3990.    /********************************************************************
  3991.  ******/
  3992.     /* Error: /* The address of this structure should be: cn_info_ptr
  3993.                                                             */
  3994.    /********************************************************************
  3995.  ******/
  3996.      2 cn_init_sect_len           /* Struct length          */
  3997.                                   type ULONG,
  3998.  /*                               -------                   */
  3999.      2 num_cn                     /* number CN definitions displayed */
  4000.                                   type USHORT,
  4001.  /*                               -------                   */
  4002.      2 total_cn                   total number of CN definitions */
  4003.                                   type USHORT;/*
  4004.  /*                               -------                   */
  4005.    /********************************************************************
  4006.  ****/
  4007.    /* Additional fields may be added here in future releases */
  4008.    /********************************************************************
  4009.  ****/
  4010.  
  4011.  define alias @cn_info_sect handle cn_info_sect;
  4012.  
  4013.  define structure
  4014.    1 cn_overlay,
  4015.    /********************************************************************
  4016.  ******/
  4017.     /* Error: /* The address of the first of these structures should be:
  4018.   cn_info_ptr +                                             */
  4019.    /* cn_info_ptr->cn_init_sect_len.  To find the next one, add:
  4020.                                                             */
  4021.    /* cn_entry_len                                          */
  4022.    /********************************************************************
  4023.  ******/
  4024.      2 cn_entry_len               /* Size of all cn data    */
  4025.                                   type ULONG,
  4026.  /*                               -------                   */
  4027.      2 cn_info_len                /* size of cn data only   */
  4028.                                   type ULONG,
  4029.  /*                               -------                   */
  4030.      2 cn_name                    /* Connection Network Name */
  4031.                                   char (17),
  4032.  /*                               -------                   */
  4033.      2 reserv3                    /* Reserved               */
  4034.                                   type UCHAR,
  4035.  /*                               -------                   */
  4036.      2 eff_capacity               /* Effective Capacity     */
  4037.                                   type ULONG,
  4038.  /*                               -------                   */
  4039.    /* 0 │ 1200 │ 2400 │ ...                                 */
  4040.    /* ... │ 16M │ ...                                       */
  4041.      2 conn_cost                  /* Cost Per Connect Time  */
  4042.                                   type UCHAR,
  4043.  /*                               -------                   */
  4044.      2 byte_cost                  /* Cost Per Byte          */
  4045.                                   type UCHAR,
  4046.  /*                               -------                   */
  4047.      2 propagation_delay          /* AP_PROP_DELAY_MINIMUM  */
  4048.                                   type UCHAR,
  4049.  /*                               -------                   */
  4050.      2 user_def_1                 /* User Defined 1         */
  4051.                                   type UCHAR,
  4052.  /*                               -------                   */
  4053.      2 user_def_2                 /* User Defined 2         */
  4054.                                   type UCHAR,
  4055.  /*                               -------                   */
  4056.      2 user_def_3                 /* User Defined 3         */
  4057.                                   type UCHAR,
  4058.  /*                               -------                   */
  4059.      2 security                   /* Security               */
  4060.                                   type UCHAR,
  4061.  /*                               -------                   */
  4062.      2 reserv4                    /* Reserved               */
  4063.                                   type UCHAR,
  4064.  /*                               -------                   */
  4065.      2 num_adapters               /* Number of adapters for this CN */
  4066.                                   type UCHAR,
  4067.  /*                               -------                   */
  4068.      2 reserv5                    Reserved                  */
  4069.                                   type UCHAR;/*
  4070.  /*                               -------                   */
  4071.    /********************************************************************
  4072.  ****/
  4073.    /* Additional fields may be added here in future releases */
  4074.    /********************************************************************
  4075.  ****/
  4076.  
  4077.  define alias @cn_overlay handle cn_overlay;
  4078.  
  4079.  define structure
  4080.    1 cna_overlay,
  4081.    /********************************************************************
  4082.  ******/
  4083.     /* Error: /* The address of the first of these structures should be:
  4084.   The address of                                            */
  4085.    /* the current cn_overlay + cn_info_len + sizeof(cn_entry_len) */
  4086.     /* Error: /* To find the next connection network adapter, add: cna_e
  4087.  ntry_len.                                                  */
  4088.    /********************************************************************
  4089.  ******/
  4090.      2 cna_entry_len              /* Size of all cn adapter data */
  4091.                                   type ULONG,
  4092.  /*                               -------                   */
  4093.      2 dlc_name                   /* DLC name (ASCII)       */
  4094.                                   char (8),
  4095.  /*                               -------                   */
  4096.      2 adapter_num                /* DLC adapter number     */
  4097.                                   type UCHAR,
  4098.  /*                               -------                   */
  4099.      2 reserv3                    Reserved                  */
  4100.                                   type UCHAR;/*
  4101.  /*                               -------                   */
  4102.    /********************************************************************
  4103.  ****/
  4104.    /* Additional fields may be added here in future releases */
  4105.    /********************************************************************
  4106.  ****/
  4107.  
  4108.  define alias @cna_overlay handle cna_overlay;
  4109.  
  4110.  /**********************************************************************
  4111.  ******/
  4112.  /*
  4113.                                                             */
  4114.  /*         Structures for REGISTER_NB_QUEUES verb
  4115.                                                             */
  4116.  /*
  4117.                                                             */
  4118.  /**********************************************************************
  4119.  ******/
  4120.  define structure
  4121.    1 register_nb_queues,
  4122.      2 opcode                     /* Verb operation code    */
  4123.                                   type USHORT,
  4124.  /*                               -------                   */
  4125.      2 reserv2                    /* Reserved               */
  4126.                                   char (2),
  4127.  /*                               -------                   */
  4128.      2 primary_rc                 /* Primary RETURN_CODE    */
  4129.                                   type USHORT,
  4130.  /*                               -------                   */
  4131.      2 secondary_rc               /* Secondary RETURN_CODE  */
  4132.                                   type ULONG,
  4133.  /*                               -------                   */
  4134.      2 queue_request_id           /* Queue Request ID       */
  4135.                                   type USHORT,
  4136.  /*                               -------                   */
  4137.      2 snd_q_name                 /* OS/2 Queue Name (ASCIIZ) */
  4138.                                   char (81),
  4139.  /*                               -------                   */
  4140.      2 reserv3                    /* Reserved               */
  4141.                                   type UCHAR,
  4142.  /*                               -------                   */
  4143.      2 rcv_q_name                 /* OS/2 Queue Name (ASCIIZ) */
  4144.                                   char (81),
  4145.  /*                               -------                   */
  4146.      2 reserv4                    Reserved                  */
  4147.                                   type UCHAR;/*
  4148.  /*                               -------                   */
  4149.  
  4150.  define alias @register_nb_queues handle register_nb_queues;
  4151.  
  4152.  /**********************************************************************
  4153.  ******/
  4154.  /*
  4155.                                                             */
  4156.  /*         Structures for REGISTER_MS_APPLICATION verb
  4157.                                                             */
  4158.  /*
  4159.                                                             */
  4160.  /**********************************************************************
  4161.  ******/
  4162.  define structure
  4163.    1 register_ms_application,
  4164.      2 opcode                     /* Verb operation code    */
  4165.                                   type USHORT,
  4166.  /*                               -------                   */
  4167.      2 reserv2                    /* Reserved               */
  4168.                                   char (2),
  4169.  /*                               -------                   */
  4170.      2 primary_rc                 /* Primary RETURN_CODE    */
  4171.                                   type USHORT,
  4172.  /*                               -------                   */
  4173.      2 secondary_rc               /* Secondary RETURN_CODE  */
  4174.                                   type ULONG,
  4175.  /*                               -------                   */
  4176.      2 ms_appl_name               /* MS Application name    */
  4177.                                   char (8),
  4178.  /*                               -------                   */
  4179.    /* 4 byte SNA Defined MS Appl Name*/
  4180.    /* or 1-8 byte (EBCDIC type A)                           */
  4181.      2 ms_category                /* MS Category            */
  4182.                                   char (8),
  4183.  /*                               -------                   */
  4184.    /* 0 or 4 byte SNA Defined Category                      */
  4185.      2 segment_selector           /* OS/2 Segment Selector  */
  4186.                                   type USHORT,
  4187.  /*                               -------                   */
  4188.      2 q_name                     /* OS/2 Queue Name (ASCIIZ) */
  4189.                                   char (81),
  4190.  /*                               -------                   */
  4191.      2 ms_fp_appl                 /* Focal point application? */
  4192.                                   type UCHAR,
  4193.  /*                               -------                   */
  4194.      2 reserv4                    /* Reserved               */
  4195.                                   type UCHAR,
  4196.  /*                               -------                   */
  4197.      2 reserv5                    Reserved                  */
  4198.                                   type UCHAR;/*
  4199.  /*                               -------                   */
  4200.  
  4201.  define alias @register_ms_application handle register_ms_application;
  4202.  
  4203.  define structure
  4204.    1 unregister_ms_application,
  4205.      2 opcode                     /* Verb operation code    */
  4206.                                   type USHORT,
  4207.  /*                               -------                   */
  4208.      2 reserv2                    /* Reserved               */
  4209.                                   char (2),
  4210.  /*                               -------                   */
  4211.      2 primary_rc                 /* Primary RETURN_CODE    */
  4212.                                   type USHORT,
  4213.  /*                               -------                   */
  4214.      2 secondary_rc               /* Secondary RETURN_CODE  */
  4215.                                   type ULONG,
  4216.  /*                               -------                   */
  4217.      2 ms_appl_name               /* MS Application name    */
  4218.                                   char (8),
  4219.  /*                               -------                   */
  4220.    /* 4 byte SNA Defined MS Appl Name*/
  4221.    /* or 1-8 byte (EBCDIC type A)                           */
  4222.      2 ms_category                /* MS Category            */
  4223.                                   char (8),
  4224.  /*                               -------                   */
  4225.    /* 0 or 4 byte SNA Defined Category                      */
  4226.      2 reserv3                    reserved                  */
  4227.                                   type USHORT;/*
  4228.  /*                               -------                   */
  4229.  
  4230.  define alias @unregister_ms_application handle unregister_ms_applicatio
  4231.  n;
  4232.  
  4233.  define structure
  4234.    1 send_mds_mu,
  4235.      2 opcode                     /* Verb operation code    */
  4236.                                   type USHORT,
  4237.  /*                               -------                   */
  4238.      2 reserv2                    /* Reserved               */
  4239.                                   char (2),
  4240.  /*                               -------                   */
  4241.      2 primary_rc                 /* Primary RETURN_CODE    */
  4242.                                   type USHORT,
  4243.  /*                               -------                   */
  4244.      2 secondary_rc               /* Secondary RETURN_CODE  */
  4245.                                   type ULONG,
  4246.  /*                               -------                   */
  4247.        3 reserv3 bit(3),
  4248.                                                             */
  4249.    /* Reserved                                              */
  4250.        3 mds_mu_routing bit(1),
  4251.                                                             */
  4252.    /* Routing type?                                         */
  4253.        3 local_logging bit(1),
  4254.                                                             */
  4255.    /* Local Logging?                                        */
  4256.        3 reserv4 bit(1),
  4257.                                                             */
  4258.        3 product_set_id_subvector bit(1),
  4259.                                                             */
  4260.    /* Product Set ID Subvector?                             */
  4261.        3 time_stamp_subvector bit(1),
  4262.                                                             */
  4263.    /* Time Stamp Subvector?                                 */
  4264.        3 reserv5 bit(8),
  4265.                                                             */
  4266.      2 origntr_id                 /* Originator ID          */
  4267.                                   char (8),
  4268.  /*                               -------                   */
  4269.    /* (0 if unknown)                                        */
  4270.      2 dlen                       /* Data Length            */
  4271.                                   type USHORT,
  4272.  /*                               -------                   */
  4273.      2 dptr                       Data Pointer              */
  4274.                                   ptr seg;/*
  4275.  /*                               -------                   */
  4276.  
  4277.  define alias @send_mds_mu handle send_mds_mu;
  4278.  
  4279.  define structure
  4280.    1 display,
  4281.      2 opcode                     /* Verb operation code    */
  4282.                                   type USHORT,
  4283.  /*                               -------                   */
  4284.      2 reserv2                    /* Reserved               */
  4285.                                   char (2),
  4286.  /*                               -------                   */
  4287.      2 primary_rc                 /* Primary RETURN_CODE    */
  4288.                                   type USHORT,
  4289.  /*                               -------                   */
  4290.      2 secondary_rc               /* Secondary RETURN_CODE  */
  4291.                                   type ULONG,
  4292.  /*                               -------                   */
  4293.      2 init_sect_len              /* Length of this section */
  4294.                                   type ULONG,
  4295.  /*                               -------                   */
  4296.      2 buffer_len                 /* Length of passed buffr */
  4297.                                   type ULONG,
  4298.  /*                               -------                   */
  4299.      2 buffer_ptr                 /* Passed address         */
  4300.                                   ptr seg,
  4301.  /*                               -------                   */
  4302.      2 num_sections               /* Number of sections     */
  4303.                                   type ULONG,
  4304.  /*                               -------                   */
  4305.      2 display_len                /* Returned,  length used */
  4306.                                   type ULONG,
  4307.  /*                               -------                   */
  4308.      2 area_needed                /* Returned,  length rqd  */
  4309.                                   type ULONG,
  4310.  /*                               -------                   */
  4311.      2 sna_global_info            /* SNA global info?       */
  4312.                                   type UCHAR,
  4313.  /*                               -------                   */
  4314.      2 lu62_info                  /* LU 6.2 info?           */
  4315.                                   type UCHAR,
  4316.  /*                               -------                   */
  4317.      2 am_info                    /* Attach Manager info?   */
  4318.                                   type UCHAR,
  4319.  /*                               -------                   */
  4320.      2 tp_info                    /* TP info?               */
  4321.                                   type UCHAR,
  4322.  /*                               -------                   */
  4323.      2 sess_info                  /* Session info?          */
  4324.                                   type UCHAR,
  4325.  /*                               -------                   */
  4326.      2 link_info                  /* Link info?             */
  4327.                                   type UCHAR,
  4328.  /*                               -------                   */
  4329.      2 lu_0_3_info                /* LU 0, 1, 2, & 3 info?  */
  4330.                                   type UCHAR,
  4331.  /*                               -------                   */
  4332.      2 gw_info                    /* Gateway info?          */
  4333.                                   type UCHAR,
  4334.  /*                               -------                   */
  4335.      2 x25_physical_link_info     /* X.25 info?             */
  4336.                                   type UCHAR,
  4337.  /*                               -------                   */
  4338.      2 sys_def_info               /* System Default info?   */
  4339.                                   type UCHAR,
  4340.  /*                               -------                   */
  4341.      2 adapter_info               /* Adapter info?          */
  4342.                                   type UCHAR,
  4343.  /*                               -------                   */
  4344.      2 lu_def_info                /* LU definition info?    */
  4345.                                   type UCHAR,
  4346.  /*                               -------                   */
  4347.      2 plu_def_info               /* Remote LU def info?    */
  4348.                                   type UCHAR,
  4349.  /*                               -------                   */
  4350.      2 mode_def_info              /* Mode Definition info?  */
  4351.                                   type UCHAR,
  4352.  /*                               -------                   */
  4353.      2 link_def_info              /* Link Definition info?  */
  4354.                                   type UCHAR,
  4355.  /*                               -------                   */
  4356.      2 ms_info                    /* Mgt. Services info?    */
  4357.                                   type UCHAR,
  4358.  /*                               -------                   */
  4359.      2 pu_info                    /* Physical Unit info?    */
  4360.                                   type UCHAR,
  4361.  /*                               -------                   */
  4362.      2 icas_info                  /* Incoming Call AA Status*/
  4363.                                   type UCHAR,
  4364.  /*                               -------                   */
  4365.      2 sna_global_info_ptr
  4366.                                   ptr seg,
  4367.  /*                               -------                   */
  4368.      2 lu62_info_ptr
  4369.                                   ptr seg,
  4370.  /*                               -------                   */
  4371.      2 am_info_ptr
  4372.                                   ptr seg,
  4373.  /*                               -------                   */
  4374.      2 tp_info_ptr
  4375.                                   ptr seg,
  4376.  /*                               -------                   */
  4377.      2 sess_info_ptr
  4378.                                   ptr seg,
  4379.  /*                               -------                   */
  4380.      2 link_info_ptr
  4381.                                   ptr seg,
  4382.  /*                               -------                   */
  4383.      2 lu_0_3_info_ptr
  4384.                                   ptr seg,
  4385.  /*                               -------                   */
  4386.      2 gw_info_ptr
  4387.                                   ptr seg,
  4388.  /*                               -------                   */
  4389.      2 x25_physical_link_info_ptr
  4390.                                   ptr seg,
  4391.  /*                               -------                   */
  4392.      2 sys_def_info_ptr
  4393.                                   ptr seg,
  4394.  /*                               -------                   */
  4395.      2 adapter_info_ptr
  4396.                                   ptr seg,
  4397.  /*                               -------                   */
  4398.      2 lu_def_info_ptr
  4399.                                   ptr seg,
  4400.  /*                               -------                   */
  4401.      2 plu_def_info_ptr
  4402.                                   ptr seg,
  4403.  /*                               -------                   */
  4404.      2 mode_def_info_ptr
  4405.                                   ptr seg,
  4406.  /*                               -------                   */
  4407.      2 link_def_info_ptr
  4408.                                   ptr seg,
  4409.  /*                               -------                   */
  4410.      2 ms_info_ptr
  4411.                                   ptr seg,
  4412.  /*                               -------                   */
  4413.      2 pu_info_ptr
  4414.                                   ptr seg,
  4415.  /*                               -------                   */
  4416.      2 icas_info_ptr
  4417.                                   ptr seg;
  4418.  /*                               -------                   */
  4419.  
  4420.  define alias @display handle display;
  4421.  
  4422.  define structure
  4423.    1 display_appn,
  4424.      2 opcode                     /* Verb operation code    */
  4425.                                   type USHORT,
  4426.  /*                               -------                   */
  4427.      2 reserv2                    /* Reserved               */
  4428.                                   char (2),
  4429.  /*                               -------                   */
  4430.      2 primary_rc                 /* Primary RETURN_CODE    */
  4431.                                   type USHORT,
  4432.  /*                               -------                   */
  4433.      2 secondary_rc               /* Secondary RETURN_CODE  */
  4434.                                   type ULONG,
  4435.  /*                               -------                   */
  4436.      2 init_sect_len              /* Length of this section */
  4437.                                   type ULONG,
  4438.  /*                               -------                   */
  4439.      2 buffer_len                 /* Length of passed buffr */
  4440.                                   type ULONG,
  4441.  /*                               -------                   */
  4442.      2 buffer_ptr                 /* Passed address         */
  4443.                                   ptr seg,
  4444.  /*                               -------                   */
  4445.      2 num_sections               /* Number of sections     */
  4446.                                   type ULONG,
  4447.  /*                               -------                   */
  4448.      2 display_len                /* Returned, length used  */
  4449.                                   type ULONG,
  4450.  /*                               -------                   */
  4451.      2 area_needed                /* Returned, length rqd   */
  4452.                                   type ULONG,
  4453.  /*                               -------                   */
  4454.      2 node_info                  /* Node info?             */
  4455.                                   type UCHAR,
  4456.  /*                               -------                   */
  4457.      2 directory_info             /* Directory info?        */
  4458.                                   type UCHAR,
  4459.  /*                               -------                   */
  4460.      2 topology_info              /* Topology info?         */
  4461.                                   type UCHAR,
  4462.  /*                               -------                   */
  4463.      2 isr_info                   /* Intermediate Sessions? */
  4464.                                   type UCHAR,
  4465.  /*                               -------                   */
  4466.      2 cos_info                   /* Class of Service info? */
  4467.                                   type UCHAR,
  4468.  /*                               -------                   */
  4469.      2 cn_info                    /* Connection Network info? */
  4470.                                   type UCHAR,
  4471.  /*                               -------                   */
  4472.      2 node_info_ptr
  4473.                                   ptr seg,
  4474.  /*                               -------                   */
  4475.      2 directory_info_ptr
  4476.                                   ptr seg,
  4477.  /*                               -------                   */
  4478.      2 topology_info_ptr
  4479.                                   ptr seg,
  4480.  /*                               -------                   */
  4481.      2 isr_info_ptr
  4482.                                   ptr seg,
  4483.  /*                               -------                   */
  4484.      2 cos_info_ptr
  4485.                                   ptr seg,
  4486.  /*                               -------                   */
  4487.      2 cn_info_ptr
  4488.                                   ptr seg;
  4489.  /*                               -------                   */
  4490.  
  4491.  define alias @display_appn handle display_appn;
  4492.  
  4493.   %end;
  4494.