home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
sockpli.zip
/
ACSMGTC.COP
next >
Wrap
Text File
|
1995-06-27
|
237KB
|
4,494 lines
/************************************************************/
/* */
/* Management Verb Control Blocks... */
/* */
/************************************************************/
define structure
1 cnos,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 lu_alias /* LU Alias (ASCII) */
char (8),
/* ------- */
2 plu_alias /* Partner LU Alias */
char (8),
/* ------- */
2 fqplu_name /* FQ Partner LU Name
char (17),
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 mode_name /* Mode Name */
char (8),
/* ------- */
2 mode_name_byte, /* Mode Name */
3 mode_name_select /* Mode Name Select */
bit (1),
/* -------- */
3 set_negotiable /* Set Negotiable Ind. */
bit (1),
/* -------- */
3 * /* Reserved */
bit (6),
/* -------- */
2 plu_mode_sess_lim /* PLU mode session limit */
type USHORT,
/* ------- */
2 min_conwinners_source /* Min contention winners */
type USHORT,
/* ------- */
2 min_conwinners_target /* Min contention winners */
type USHORT,
/* ------- */
2 auto_act /* Auto Activate */
type USHORT;
/* ------------ */
2 misc_flag,
3 drain_target bit(1),
*/
/* Drain Target? */
3 drain_source bit(1),
*/
/* Drain Source? */
3 responsible bit(1),
*/
/* Responsible? */
3 reserv6 bit(5),
*/
/* Reserved */
3 reserv7 bit(8),
*/
/* Reserved */
define alias @cnos handle cnos;
define structure
1 connect_physical_link,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 reserv3 /* Reserved */
char (8),
/* ------- */
2 physical_link_name /* Physical Link Name */
char (8),
/* ------- */
2 connection_type /* Connection Type */
type UCHAR,
/* ------- */
2 reserv4 /* Reserved */
char (24);
/* ------- */
define alias @connect_physical_link handle connect_physical_link;
define structure
1 activate_dlc,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 dlc_name /* DLC name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC adapter number */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 reserv4 Reserved */
type UCHAR;/*
/* ------- */
define alias @activate_dlc handle activate_dlc;
define structure
1 deactivate_dlc,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 dlc_name /* DLC name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC adapter number */
type UCHAR,
/* ------- */
2 reserv3 Reserved */
type UCHAR;/*
/* ------- */
define alias @deactivate_dlc handle deactivate_dlc;
define structure
1 activate_logical_links,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 link_name /* Link Name (EBCDIC type A) */
char (8),
/* ------- */
2 number_of_links Number of Links to Start */
type UCHAR;/*
/* ------- */
define alias @activate_logical_links handle activate_logical_links;
define structure
1 deactivate_logical_link,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 link_id /* Link ID */
char (12),
/* ------- */
2 type /* Type of link */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
char (24)
/* ------- */
define alias @deactivate_logical_link handle deactivate_logical_link;
define structure
1 deactivate_conv_group,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 lu_alias /* LU Alias (ASCII) 0 or 1-8 bytes
char (8),
/* ------- */
*/
2 conv_group_id /* Conversation Group ID */
type ULONG,
/* ------- */
2 type /* Type of Deactivate */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 sense_data Sense data returned */
char (4);/*
/* ------- */
define alias @deactivate_conv_group handle deactivate_conv_group;
define structure
1 deactivate_session,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 sess_id /* Session ID */
char (8),
/* ------- */
2 lu_alias /* LU Alias (ASCII) */
char (8),
/* ------- */
/* 0 or 1-8 bytes */
2 plu_alias /* Partner LU Alias (ASCII) */
char (8),
/* ------- */
/* 0 or 1-8 bytes */
2 mode_name /* Mode Name (EBCDIC type A) */
char (8),
/* ------- */
/* 0-17 bytes */
2 type /* Type of Deactivate */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 sense_data /* Sense data returned */
char (4),
/* ------- */
2 fqplu_name /* FQ Partner LU Name (EBCDIC ty
char (17),
/* ------- */
pe A)*/
/* 0-17 bytes */
2 reserv4 Reserved */
char (20);/*
/* ------- */
define alias @deactivate_session handle deactivate_session;
define structure
1 disconnect_physical_link,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 reserv3 /* Reserved */
char (8),
/* ------- */
2 physical_link_name /* Physical Link Name */
char (8),
/* ------- */
2 reserv4 Reserved */
char (24);/*
/* ------- */
define alias @disconnect_physical_link handle disconnect_physical_link;
define structure
1 start_am,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key Key (ASCII) */
char (8);/*
/* ------- */
define alias @start_am handle start_am;
define structure
1 stop_am,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key Key (ASCII) */
char (8);/*
/* ------- */
define alias @stop_am handle stop_am;
define structure
1 accept_incoming_calls,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 icrt_name ICRT entry name (ASCII) */
char (16);/*
/* ------- */
define alias @accept_incoming_calls handle accept_incoming_calls;
define structure
1 reject_incoming_calls,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 key /* Key (ASCII) */
char (8),
/* ------- */
2 icrt_name ICRT entry name (ASCII) */
char (16);/*
/* ------- */
define alias @reject_incoming_calls handle reject_incoming_calls;
define structure
1 psid_struct,
2 machine_type /* Machine type */
char (4),
/* ------- */
2 machine_mod_num /* Machine model number */
char (3),
/* ------- */
2 plant_of_mfg /* IBM manufacturing plant */
char (2),
/* ------- */
2 machine_seq_num Machine sequence number
char (7);/*
/* ------- */
*/
define alias @psid_struct handle psid_struct;
define alias type_product_set_id type psid_struct;
define alias @type_product_set_id type @psid_struct;
define structure
1 sna_global_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: sna_global_inf
o_ptr */
/********************************************************************
******/
2 version /* Communications Manager version */
type UCHAR,
/* ------- */
2 release /* Communications Manager release */
type UCHAR,
/* ------- */
2 net_name /* NETID (EBCDIC type A) */
char (8),
/* ------- */
2 pu_name /* PU name (EBCDIC type A) */
char (8),
/* ------- */
2 node_id /* Node ID used in XID */
char (4),
/* ------- */
2 product_set_id /* Product Set ID */
type type_product_set_id,
/* ------- */
2 alias_cp_name /* Alias CP Name (ASCII) */
char (8),
/* ------- */
2 node_type /* Node Type */
type UCHAR,
/* ------- */
2 cp_nau_addr /* CP NAU Address */
type UCHAR,
/* ------- */
/* 0 (not used...independent LU) OR */
/* 1-254 */
2 reserv3 Reserved */
char (6);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @sna_global_info_sect handle sna_global_info_sect;
define structure
1 lu62_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: lu62_info_ptr
*/
/********************************************************************
******/
2 lu62_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_lu62s /* Number of active LUs displayed */
type USHORT,
/* ------- */
2 total_lu62s Total Number of active LUs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @lu62_info_sect handle lu62_info_sect;
define structure
1 lu62_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
lu62_info_ptr +*/
/* lu62_info_ptr->lu62_init_sect_len to find the next LU, add:
*/
/* lu62_entry_len */
/********************************************************************
******/
2 lu62_entry_len /* Size of this LU entry */
type ULONG,
/* ------- */
/* Error: ULONG lu62_overlay_len; /* This value contains:
*/
/* sizeof(struct lu62_overlay) - */
/* sizeof(lu62_entry_len) */
2 lu_name /* LU Name (EBCDIC type A) */
char (8),
/* ------- */
2 lu_alias /* LU Alias (ASCII) */
char (8),
/* ------- */
2 num_plus /* Number of partner LUs */
type USHORT,
/* ------- */
2 fqlu_name /* Fully Qualified LU Name */
char (17),
/* ------- */
/* (EBCDIC type A) */
2 default_lu /* Default LU? */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 lu_local_addr /* NAU address 0-254 */
type UCHAR,
/* ------- */
2 lu_sess_lim /* Configured session limit */
type USHORT,
/* ------- */
/* 0-255 */
2 max_tps /* Max number of TPs 1-255 */
type UCHAR,
/* ------- */
2 lu_type /* Always LU type 6.2 */
type UCHAR,
/* ------- */
2 pu_name PU Name (EBCDIC type A) */
char (8);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @lu62_overlay handle lu62_overlay;
define structure
1 plu62_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the current lu62_overlay + lu62_overlay_len + sizeof(lu62_entry_le
n) */
/* Error: /* To find the next partner LU, add: plu62_entry_len.
*/
/********************************************************************
******/
2 plu62_entry_len /* Size of this partner LU */
type ULONG,
/* ------- */
/* Error: ULONG plu62_overlay_len; /* This value contains:
*/
/* sizeof(struct plu62_overlay) - */
/* sizeof(plu62_entry_len) */
2 plu_alias /* Partner LU Alias (ASCII) */
char (8),
/* ------- */
2 num_modes /* Number of modes */
type USHORT,
/* ------- */
2 plu_un_name /* Partner LU Uninterpreted Name
char (8),
/* ------- */
*/
/* (EBCDIC) */
2 fqplu_name /* Fully Qualified Partner LU Na
char (17),
/* ------- */
me */
/* (EBCDIC type A) */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 plu_sess_lim /* Partner LU session limit */
type USHORT,
/* ------- */
2 dlc_name /* DLC name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC adapter number */
type UCHAR,
/* ------- */
2 dest_addr_len /* Length of adapter addr */
type UCHAR,
/* ------- */
2 dest_addr /* Destination adapter addr */
char (32),
/* ------- */
3 par_sess_supp bit(1),
sions? */
3 reserv4 bit(7),
*/
3 def_already_ver bit(1),
ready verif? */
3 def_conv_sec bit(1),
nv security? */
3 def_sess_sec bit(1),
ssion security*/
3 reserv5 bit(5),
*/
3 act_already_ver bit(1),
dy verified? */
3 act_conv_sec bit(1),
rsation sec? */
3 reserv6 bit(6),
*/
3 implicit_part bit(1),
ner? */
3 reserv7 bit(7),
*/
2 bit();
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @plu62_overlay handle plu62_overlay;
define structure
1 mode_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the current plu62_overlay + plu62_overlay_len + sizeof(plu62_entry
_len)*/
/* Error: /* To find the next mode, add: mode_entry_len.
*/
/********************************************************************
******/
2 mode_entry_len /* Size of this mode */
type ULONG,
/* ------- */
2 mode_name /* Mode Name (EBCDIC type A) */
char (8),
/* ------- */
2 max_ru_size_upp /* Upper Limit on Max RU */
type USHORT,
/* ------- */
2 max_ru_size_low /* Lower Limit on Max RU */
type USHORT,
/* ------- */
2 max_neg_sess_lim /* Max Limit on Sessions */
type USHORT,
/* ------- */
2 curr_sess_lim /* Current Session Limit */
type USHORT,
/* ------- */
2 min_win_lim /* Min Negotiated Winners */
type USHORT,
/* ------- */
2 min_lose_lim /* Min Negotiated Losers */
type USHORT,
/* ------- */
2 act_sess_count /* Active Session Count */
type USHORT,
/* ------- */
2 pend_sess_count /* Pending Session Count */
type USHORT,
/* ------- */
2 auto_act_sess_count /* Auto Activate Session Count */
type USHORT,
/* ------- */
2 act_win_lim /* Active Winner Sessions */
type USHORT,
/* ------- */
2 act_lose_lim /* Active Loser Sessions */
type USHORT,
/* ------- */
2 term_count /* Session Termination Count */
type USHORT,
/* ------- */
3 drain_target bit(1),
? */
3 drain_source bit(1),
? */
3 reserv3 bit(6),
*/
3 pacing_size bit(8),
e */
/* The preceeding fields were previously defined as "unsigned char".
*/
/* They have been integrated into a bitfield to eliminate warning */
/* messages about 'bitfield types other than int'. */
3 implicit_mode bit(1),
e? */
3 reserv4 bit(7),
*/
3 reserv5 bit(8),
*/
2 def_compression_need /* Defined compression need */
type UCHAR,
/* ------- */
/* for the mode. SYSTEM, */
/* REQUESTED or PROHIBITED */
2 def_plu_slu_compression /* plu to slu defined */
type UCHAR,
/* ------- */
/* compression algorithm */
/* NONE, RLE, or LZ9 */
2 def_slu_plu_compression slu to plu defined */
type UCHAR;/*
/* ------- */
/* compression algorithm */
/* NONE, RLE, or LZ9 */
/********************************************************************
****/
/* Reserved Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @mode_overlay handle mode_overlay;
define structure
1 am_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: am_info_ptr
*/
/********************************************************************
******/
2 am_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 am_active /* Attach Manager active? */
type UCHAR,
/* ------- */
2 reserv4 /* Reserved */
type UCHAR,
/* ------- */
2 num_tps Number of configured TPs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @am_info_sect handle am_info_sect;
define structure
1 am_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
am_info_ptr + */
/* am_info_ptr->am_init_sect_len. To find the next block of TP, */
/* Error: /* information, add: am_entry_len.
*/
/********************************************************************
******/
2 am_entry_len /* Size of this structure */
type ULONG,
/* ------- */
2 tp_name /* TP name (EBCDIC type AE) */
char (64),
/* ------- */
2 filespec /* TP filespec (ASCII) */
char (64),
/* ------- */
3 reserv3 bit(1),
*/
3 sync_level_conf bit(1),
Confirm) ? */
3 sync_level_none bit(1),
None) ? */
3 reserv4 bit(5),
*/
3 conv_type bit(8),
on type */
/* The preceeding fields were previously defined as "unsigned char".
*/
/* They have been integrated into a bitfield to eliminate warning */
/* messages about 'bitfield types other than int'. */
2 in_all_qdpth_lim /* Incoming Allocate queue depth lim
type USHORT,
/* ------- */
*/
2 in_all_qdpth /* Incoming Allocate queue depth */
type USHORT,
/* ------- */
2 in_all_timeout /* Incoming Allocate t/o */
fixed bin(15),
/* ------- */
2 num_rcv_all_pend /* Number of pending */
type USHORT,
/* ------- */
/* RECEIVE_ALLOCATEs */
2 rcv_all_timeout /* RECEIVE_ALLOCATE t/o */
fixed bin(15),
/* ------- */
2 tp_type /* TP type */
type UCHAR,
/* ------- */
2 pgm_state /* Program state */
type UCHAR,
/* ------- */
2 conv_sec /* Conversation security? */
type UCHAR,
/* ------- */
2 reserv5 /* Reserved */
type UCHAR,
/* ------- */
2 process_id /* OS/2 process ID */
type USHORT,
/* ------- */
2 parm_string /* Pgm parameter string */
char (32),
/* ------- */
2 program_type /* Program Type */
type UCHAR,
/* ------- */
2 reserv5a /* Reserved */
type UCHAR,
/* ------- */
2 tp_initiated /* TP initiated */
type UCHAR,
/* ------- */
2 reserv6 /* Reserved */
type UCHAR,
/* ------- */
2 icon_filespec Icon Filespec (ASCII) */
char (80);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @am_overlay handle am_overlay;
define structure
1 tp_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: tp_info_ptr
*/
/********************************************************************
******/
2 tp_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_tps /* Number of active TPs displayed */
type USHORT,
/* ------- */
2 total_tps Total Number of Active TPs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @tp_info_sect handle tp_info_sect;
define structure
1 tp_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
tp_info_ptr + */
/* tp_info_ptr->tp_init_sect_len. To find the next block of active TP
*/
/* Error: /* information, add: tp_entry_len
*/
/********************************************************************
******/
2 tp_entry_len /* Size of this TP record */
type ULONG,
/* ------- */
/* Error: ULONG tp_overlay_len; /* This value contains:
*/
/* sizeof(struct tp_overlay) - */
/* sizeof(tp_entry_len) */
2 num_conv /* Number of conversations */
type USHORT,
/* ------- */
2 tp_id /* TP ID */
char (8),
/* ------- */
2 tp_name /* TP name (EBCDIC type AE) */
char (64),
/* ------- */
2 user_id /* User ID (EBCDIC type AE) */
char (10),
/* ------- */
3 reserv3 bit(7),
*/
3 loc_or_rem bit(1),
al or remote? */
3 reserv4 bit(8),
*/
2 lu_alias /* LU_ALIAS (ASCII) */
char (8),
/* ------- */
2 luw_id Logical Unit of Work ID */
type LUW_ID_OVERLAY;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @tp_overlay handle tp_overlay;
define structure
1 conv_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the current tp_overlay + tp_overlay_len + sizeof(tp_entry_len). To
find*/
/* Error: /* the next block of conversation information, add: conv_e
ntry_len */
/********************************************************************
******/
2 conv_entry_len /* Size of conversation information */
type ULONG,
/* ------- */
2 conv_id /* Conversation ID */
type ULONG,
/* ------- */
2 conv_corr_len /* Coversation correlator length */
type UCHAR,
/* ------- */
2 conv_corr /* Conversation correlator */
char (8),
/* ------- */
2 state /* Conversation state */
type UCHAR,
/* ------- */
2 sess_id /* Session ID */
char (8),
/* ------- */
2 sync_level /* Sync level */
type UCHAR,
/* ------- */
2 conv_type /* Conversation type */
type UCHAR,
/* ------- */
2 conv_group_id /* Conversation Group ID */
type ULONG,
/* ------- */
2 conversation_source /* Source of conversation */
type UCHAR,
/* ------- */
2 conversation_style /* Conversation style */
type UCHAR,
/* ------- */
2 source_send_byte_count /* Total bytes count
char (8),
/* ------- */
sent by source */
/* on conversation conv_id */
2 target_send_byte_count Total bytes count
char (8);/*
/* ------- */
sent by target */
/* on conversation conv_id */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @conv_overlay handle conv_overlay;
define structure
1 sess_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: sess_info_ptr
*/
/********************************************************************
******/
2 sess_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_sessions /* Number of Active Aessions */
type USHORT,
/* ------- */
2 total_sessions Total Number of Active Sessions */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @sess_info_sect handle sess_info_sect;
define structure
1 sess_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
sess_info_ptr +*/
/* sess_info_ptr->sess_init_sect_len. To find the next block of sessi
on */
/* Error: /* information, add: sess_entry_len
*/
/********************************************************************
******/
2 sess_entry_len /* Size of session info */
type ULONG,
/* ------- */
2 reserv3 /* Reserved */
type ULONG,
/* ------- */
2 sess_id /* Session ID */
char (8),
/* ------- */
2 conv_id /* Conversation ID */
type ULONG,
/* ------- */
2 lu_alias /* LU Alias (ASCII) */
char (8),
/* ------- */
2 plu_alias /* Partner LU Alias (ASCII) */
char (8),
/* ------- */
2 mode_name /* Mode Name (EBCDIC type A) */
char (8),
/* ------- */
2 send_ru_size /* Max RU size for send */
type USHORT,
/* ------- */
2 rcv_ru_size /* Max RU size for receive */
type USHORT,
/* ------- */
2 send_pacing_size /* Send pacing size */
type UCHAR,
/* ------- */
2 rcv_pacing_size /* Receive pacing size */
type UCHAR,
/* ------- */
2 link_id /* Link ID (in APPC), or */
char (12),
/* ------- */
/* First Hop Link Name (in APPN) */
2 daf /* Outbound DAF */
type UCHAR,
/* ------- */
2 oaf /* Outbound OAF */
type UCHAR,
/* ------- */
2 odai /* ODAI */
type UCHAR,
/* ------- */
2 sess_type /* Type of session */
type UCHAR,
/* ------- */
2 conn_type /* Type of connection */
type UCHAR,
/* ------- */
2 reserv4 /* Reserved */
type UCHAR,
/* ------- */
2 fqpcid /* Fully Qualified Procedure */
type FQPCID_OVERLAY,
/* ------- */
/* Correlation Identifier */
2 cgid /* Conversation Group ID */
char (4),
/* ------- */
2 fqlu_name /* Local Fully Qualifed LU Name
char (17),
/* ------- */
*/
/* (EBCDIC) */
2 fqplu_name /* Partner Fully Qualifed LU Nam
char (17),
/* ------- */
e */
/* (EBCDIC) */
2 pacing_type /* Type of Pacing */
type UCHAR,
/* ------- */
2 reserv5 /* Reserved */
type UCHAR,
/* ------- */
2 pri_lu_indicator /* Source of bind on conversation */
type UCHAR,
/* ------- */
2 reserv6 /* Reserved */
type UCHAR,
/* ------- */
2 pri_lu_send_fmd_piu_count
char (8),
/* ------- */
/* FMD PIU count sent by Pri. LU */
2 sec_lu_send_fmd_piu_count
char (8),
/* ------- */
/* FMD PIU count sent by Sec. LU */
2 pri_lu_send_non_fmd_piu_count
char (8),
/* ------- */
/* Non-FMD PIU count sent by Pri. LU */
2 sec_lu_send_non_fmd_piu_count
char (8),
/* ------- */
/* Non-FMD PIU count sent by Sec. LU */
2 pri_lu_send_byte_count /* Bytes sent on sess
char (8),
/* ------- */
ion by Pri. LU */
2 sec_lu_send_byte_count /* Bytes sent on sess
char (8),
/* ------- */
ion by Sec. LU */
2 plu_slu_compression_level /* Session compression level
type UCHAR,
/* ------- */
for */
/* the PLU to SLU direction */
2 plu_slu_compression_percent/* Ratio of compressed data
type UCHAR,
/* ------- */
count */
/* to the uncompressed data count */
/* for the PLU to SLU direction */
2 slu_plu_compression_level /* Session compression level
type UCHAR,
/* ------- */
for */
/* the SLU to PLU direction */
2 slu_plu_compression_percentRatio of compressed data
type UCHAR;/*
/* ------- */
count */
/* to the uncompressed data count */
/* for the SLU to PLU direction */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @sess_overlay handle sess_overlay;
define structure
1 link_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: link_info_ptr
*/
/********************************************************************
******/
2 link_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_links /* Number of active links */
type USHORT,
/* ------- */
2 total_links Total number of active links */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @link_info_sect handle link_info_sect;
define structure
1 link_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
link_info_ptr +*/
/* link_info_ptr->link_init_sect_len. To find the next block of link
*/
/* Error: /* information, add: link_entry_len
*/
/********************************************************************
******/
2 link_entry_len /* Size of link info, incl link spec */
type ULONG,
/* ------- */
2 link_id /* Link ID (Link Name in EBCDIC A)
char (12),
/* ------- */
*/
2 dlc_name /* DLC name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC adapter number */
type UCHAR,
/* ------- */
2 dest_addr_len /* Length of adapter addr */
type UCHAR,
/* ------- */
2 dest_addr /* Destination adapter addr */
char (32),
/* ------- */
2 inbound_outbound /* Inbound or outbound? */
type UCHAR,
/* ------- */
2 state /* Link state */
type UCHAR,
/* ------- */
2 deact_link_flag /* Deactivate logical link */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 num_sessions /* Number of active sessions 0-65535 */
type USHORT,
/* ------- */
2 ru_size /* RU size 99-32767 (BTU Size) */
type USHORT,
/* ------- */
2 reserv4 /* Reserved */
type USHORT,
/* ------- */
2 adj_fq_cp_name /* Adjacent Fully Qualified
char (17),
/* ------- */
CP Name */
2 reserv5 /* Reserved */
type UCHAR,
/* ------- */
2 adj_node_type /* Adjacent Node Type */
type UCHAR,
/* ------- */
2 cp_cp_sess_spt /* CP CP Session Support */
type UCHAR,
/* ------- */
2 conn_type /* Type of Connection */
type UCHAR,
/* ------- */
2 ls_role /* Link Station Role */
type UCHAR,
/* ------- */
2 line_type /* Line Type */
type UCHAR,
/* ------- */
2 tg_number /* Transmission Group Number */
type UCHAR,
/* ------- */
2 eff_capacity /* Effective Capacity */
type ULONG,
/* ------- */
/* 0 │ 1200 │ 2400 │ ... */
/* ... │ 16M │ ... */
2 conn_cost /* Cost Per Connect Time */
type UCHAR,
/* ------- */
2 byte_cost /* Cost Per Byte */
type UCHAR,
/* ------- */
2 propagation_delay /* AP_PROP_DELAY_MINIMUM */
type UCHAR,
/* ------- */
2 user_def_1 /* User Defined 1 */
type UCHAR,
/* ------- */
2 user_def_2 /* User Defined 2 */
type UCHAR,
/* ------- */
2 user_def_3 /* User Defined 3 */
type UCHAR,
/* ------- */
2 security /* Security */
type UCHAR,
/* ------- */
2 reserv6 /* Reserved */
type UCHAR,
/* ------- */
2 pu_name /* PU Name (EBCDIC Type A) */
char (8),
/* ------- */
2 subfields_start /* Pointer to link-related subfie
ptr seg,
/* ------- */
lds */
2 node_id_sent /* Node (XID) sent to adjacent
char (4),
/* ------- */
node */
2 node_id_rcvd Node (XID) received from adj
char (4);/*
/* ------- */
node */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
/********************************************************************
****/
/* Link-related subfields may be present here. They will be counted
*/
/* in the link_entry_len, and will be pointed to by subfields_start.
*/
/* If subfields_start is NULL, no subfields are present for this link
. */
/* */
/* Error: /* Not all subfields will be present for every link: Only
IDLC & X.25 */
/* have protocol-specific information and the CCITT subfields present
*/
/* will vary with the network and/or switch provider. */
/* */
/* To access the subfields, set a pointer equal to subfields_start,
*/
/* cast to SSMGT_SUBFIELD type and examine the identification and typ
e */
/* fields to determine what type of subfield it is. If you wish to */
/* process the subfield, cast the pointer to the appropriate subfield
*/
/* type, chosen from the following declarations. Note that there */
/* new subfields added in the future; your program should ignore any
*/
/* such subfield it does not know how to process. */
/* */
/* To advance to the next subfield, add the subfield length to the */
/* SSMGT_SUBFIELD pointer and repeat the process, stopping when the
*/
/* offset of the SSMGT_SUBFIELD pointer passes the link_entry_len. */
/********************************************************************
****/
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use link_entry_len to skip over them. */
/********************************************************************
****/
define alias @link_overlay handle link_overlay;
define structure
1 ssmgt_subfield,
2 sf_length /* Subfield length (inclusive) */
type USHORT,
/* ------- */
2 sf_identifier /* Subfield class identifier */
type UCHAR,
/* ------- */
/* SF_SFID_CCITT 0x80 */
/* SF_SFID_NETWORK_SPECIFIC 0x01 */
/* SF_SFID_PROD_SPECIFIC 0x02 */
/* SF_SFID_PRM_SPECIFIC 0x04 */
/* */
2 sf_type Subfield type within class */
type UCHAR;/*
/* ------- */
/* Error: /* for SF_SFID_CCITT: */
/* SF_CC_TYPE_BEAR_CAP 0x04 */
/* SF_CC_TYPE_CHANNEL_ID 0x18 */
/* SF_CC_TYPE_CALLING_NUMBER 0x6C */
/* SF_CC_TYPE_CALLED_NUMBER 0x70 */
/* SF_CC_TYPE_CALLING_SUBADDR 0x6D */
/* SF_CC_TYPE_CALLED_SUBADDR 0x71 */
/* SF_CC_TYPE_LOW_LAYER_COMP 0x7C */
/* SF_CC_TYPE_HIGH_LAYER_COMP 0x7D */
/* SF_CC_TYPE_USER_USER_INFO 0x7E */
/* SF_CC_TYPE_DISPLAY 0x28 */
/* */
/* Error: /* for SF_SFID_NETWORK_SPECIFIC: */
/* SF_CC_TYPE_NS_DATE 0x03 */
/* */
/* Error: /* for SF_SFID_PRM_SPECIFIC: */
/* */
/* SF_CC_TYPE_CALL_INFO 0x01 */
/* */
/* Error: /* for SF_SFID_PRD_SPECIFIC: */
/* */
/* SF_PS_TYPE_PROT_SPECIFIC 0x01 */
/********************************************************************
****/
/* Additional subfield-dependent fields are located in this position.
*/
/* See the individual subfield declarations for details, or use the
*/
/* subfield length to skip over them. */
/********************************************************************
****/
define alias @ssmgt_subfield handle ssmgt_subfield;
define structure
1 prot_spec_sf,
2 length /* SF length - varies */
type USHORT,
/* ------- */
2 identifier /* SF identifier */
type UCHAR,
/* ------- */
/* SF_SFID_PRD_SPECIFIC 0x02 */
2 type /* SF type */
type UCHAR,
/* ------- */
/* SF_PS_TYPE_PROT_SPECIFIC 0x01 */
2 protocol_id /* Connection Mgr protocol id */
type UCHAR,
/* ------- */
/* CMI_CM_PROT_ID_X_25 0x03 */
/* CMI_CM_PROT_ID_IDLC 0x05 */
2 prot_spec_sf_data varies by protocol id
char (1);/*
/* ------- */
*/
define alias @prot_spec_sf handle prot_spec_sf;
define structure
1 idlc_prot_spec_sf,
2 length /* SF length 14 */
type USHORT,
/* ------- */
2 identifier /* SF identifier */
type UCHAR,
/* ------- */
/* SF_SFID_PRD_SPECIFIC 0x02 */
2 type /* SF type */
type UCHAR,
/* ------- */
/* SF_PS_TYPE_PROT_SPECIFIC 0x01 */
2 prot_id /* protocol id */
type UCHAR,
/* ------- */
/* CMI_CM_PROT_ID_IDLC 0x05 */
2 idlc_N200 /* retransmission counter */
type UCHAR,
/* ------- */
2 idlc_N201 /* maximum I-frame size */
type USHORT,
/* ------- */
2 idlc_T200 /* retransmission timer */
type USHORT,
/* ------- */
2 idlc_T203 /* inactivity timer */
type USHORT,
/* ------- */
2 idlc_k /* max number unacknowledged I-frames*/
type UCHAR,
/* ------- */
2 idlc_Nw dynamic window step size */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @idlc_prot_spec_sf handle idlc_prot_spec_sf;
define structure
1 x25_prot_spec_sf,
2 length /* SF length 22 */
type USHORT,
/* ------- */
2 identifier /* SF identifier */
type UCHAR,
/* ------- */
/* SF_SFID_PRD_SPECIFIC 0x02 */
2 type /* SF type */
type UCHAR,
/* ------- */
/* SF_PS_TYPE_PROT_SPECIFIC 0x01 */
2 prot_id /* Protocol identifier */
type UCHAR,
/* ------- */
/* CMI_CM_PROT_ID_X_25 0x03 */
2 destination_name /* Destination directory na
char (8),
/* ------- */
me */
2 destination_type /* CCITT protocol compatibility */
type UCHAR,
/* ------- */
/* 0x00 = CCITT 1980 version */
/* 0x01 = CCITT 1984 version */
2 req_rev_charge /* Outgoing calls will be collect */
type UCHAR,
/* ------- */
2 accept_rev_charge /* Accept incoming collect calls */
type UCHAR,
/* ------- */
2 x25_protocol_version /* SNA protocol version used */
type UCHAR,
/* ------- */
/* 0x00 = QLLC */
2 retry_count /* Max number of timeout retries */
type USHORT,
/* ------- */
2 timeout /* Time between retries */
type USHORT,
/* ------- */
2 incoming_packet_size /* Packet size expected */
type USHORT,
/* ------- */
2 retry_call_collision Retry flag if call collision */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @x25_prot_spec_sf handle x25_prot_spec_sf;
define structure
1 cmgr_ci_subfield,
2 length /* subfield length */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_PRM_SPECIFIC */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_CALL_INFO */
type UCHAR,
/* ------- */
2 entryname /* OCDT Entry Name or blank */
char (16),
/* ------- */
2 call_state /* switched call state */
type UCHAR,
/* ------- */
/* CS_NULL_CALL 0x00 */
/* CS_OUT_CALL_ORIG 0x01 */
/* CS_OVERLAP_SEND 0x02 */
/* CS_OUT_CALL_PROC 0x03 */
/* CS_OUT_CALL_DELIVERED 0x04 */
/* CS_OUT_CALL_CONN_PEND 0x05 */
/* CS_IN_CALL_PRESENT 0x06 */
/* CS_IN_CALL_RECV 0x07 */
/* CS_IN_CALL_CONN_PEND 0x08 */
/* CS_IN_CALL_PROC 0x09 */
/* CS_ACTIVE_CALL 0x0A */
/* CS_DISC_REQUEST 0x0B */
/* CS_DISC_INDICATION 0x0C */
2 call_direction /* switched call type */
type UCHAR,
/* ------- */
/* CS_TYPE_INCOMING 0x00 */
/* CS_TYPE_OUTGOING 0x01 */
2 pcm_name /* name of PCM controlling this ca
char (16),
/* ------- */
ll */
2 adapter_num /* logical adapter number */
type UCHAR,
/* ------- */
2 protocol_id protocol in use on B channel */
type UCHAR;/*
/* ------- */
/* PROT_ID_UNSPECIFIED 0x00 */
/* PROT_ID_802_2 0x01 */
/* PROT_ID_NETBIOS 0x02 */
/* PROT_ID_X_25 0x03 */
/* PROT_ID_SDLC 0x04 */
/* PROT_ID_IDLC 0x05 */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @cmgr_ci_subfield handle cmgr_ci_subfield;
define structure
1 bearer_capability,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type SF_CC_TYPE_BEAR_CAP 0x04 */
type UCHAR;/*
/* ------- */
/* Error: UCHAR call_type; /* Type (mode) of call:
*/
/* CALL_TYPE_CIRCUIT 0x02 */
/* CALL_TYPE_PACKET 0x03 */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @bearer_capability handle bearer_capability;
define structure
1 channel_id,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type SF_CC_TYPE_CHANNEL_ID 0x18 */
type UCHAR;/*
/* ------- */
/* Error: UCHAR channel_pref; /* Channel preferred vs
required: */
/* CHANNEL_PREFFERED 0x00 */
/* CHANNEL_REQUIRED 0x01 */
/* Error: UCHAR d_channel_ind; /* D channel indicator:
*/
/* D_CHANNEL_IDENTIFIED 0x00 */
/* B_CHANNEL_IDENTIFIED 0x01 */
/* Error: UCHAR channel_sel; /* Channel selector:
*/
/* NO_CHANNEL 0x00 */
/* B1_CHANNEL 0x01 */
/* B2_CHANNEL 0x02 */
/* ANY_CHANNEL 0x03 */
/* Error: UCHAR takeover_opt; /* Channel takeover opt
ion: */
/* NO_TAKEOVER 0x00 */
/* TAKEOVER 0x01 */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @channel_id handle channel_id;
define structure
1 calling_number,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_CALLING_NUMBER 0x6C */
type UCHAR,
/* ------- */
/* Error: UCHAR number_type; /* Calling number type:
*/
/* NUMBER_TYPE_UNKNOWN 0x00*/
/* NUMBER_TYPE_INTERNATIONAL 0x01*/
/* NUMBER_TYPE_NATIONAL 0x02*/
/* NUMBER_TYPE_NETWORK_SPECIFIC 0x03*/
/* NUMBER_TYPE_SUBSCRIBER 0x04*/
/* NUMBER_TYPE_ABBREVIATED 0x06*/
/* Error: UCHAR number_plan; /* Numbering plan:
*/
/* NUMBER_PLAN_UNKNOWN 0x00 */
/* NUMBER_PLAN_ISDN 0x01 */
/* NUMBER_PLAN_PRIVATE 0x09 */
/* Error: UCHAR number_presentation; /* Presentation indicat
or: */
/* PRESENTATION_ALLOWED 0x00 */
/* PRESENTATION_RESTRICTED 0x01 */
/* PRESENTATION_NOT_AVAILABLE 0x02 */
/* Error: UCHAR number_screening; /* Screening indicator:
*/
/* NOT_SCREENED 0x00 */
/* SCREENING_PASSED 0x01 */
/* SCREENING_FAILED 0x02 */
/* SCREENING_NETWORK_PROVIDED 0x03 */
2 number_length /* Number length, in binary */
type UCHAR,
/* ------- */
2 number_chars Number characters, in IA5 */
char (1);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @calling_number handle calling_number;
define structure
1 called_number,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_CALLED_NUMBER 0x70 */
type UCHAR,
/* ------- */
/* Error: UCHAR number_type; /* Called number type:
*/
/* see values for calling number */
/* Error: UCHAR number_plan; /* Numbering plan: see
values above */
2 number_length /* Number length, in binary */
type UCHAR,
/* ------- */
2 number_chars Number characters, in IA5 */
char (1);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @called_number handle called_number;
/*********************************************************************
*/
/* The following subfield definition applies to both the calling and
*/
/* called subaddress subfields. The layout of the two subfields is
*/
/* identical; only the type differs: 0x6d for calling subaddress; and
*/
/* 0x71 for called subaddress.
*/
/*********************************************************************
*/
define structure
1 ccitt_subaddress,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_CALLING_SUBADDR 0x6D */
type UCHAR,
/* ------- */
/* SF_CC_TYPE_CALLED_SUBADDR 0x71 */
/* Error: UCHAR subaddress_type; /* Subaddress type:
*/
/* SUBADDR_TYPE_NSAP 0x00 */
/* SUBADDR_TYPE_USER_SPEC 0x01 */
2 subaddress_nsap_afi /* NSAP Address Format Indicator */
type UCHAR,
/* ------- */
/* SF_AFI_FOR_IA5_CHAR 0x50 */
2 subaddress_odd_even_ind /* Subaddress odd/even count fl
type UCHAR,
/* ------- */
ag */
/* Subaddr even # digits 0x00 */
/* Subaddr odd # digits 0x01 */
2 subaddress_length /* Subaddress length, in binary */
type UCHAR,
/* ------- */
2 subaddress_chars Subaddress characters, i
char (1);/*
/* ------- */
n IA5 */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @ccitt_subaddress handle ccitt_subaddress;
define structure
1 low_layer_compat,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_LOW_LAYER_COMP 0x7C */
type UCHAR,
/* ------- */
/* Error: UCHAR layer2_protocol; /* Layer 2 protocol ide
ntifier: */
/* L2_PROT_UNSPECIFIED 0x40 */
/* L2_PROT_ISO_1475 0x41 */
/* L2_PROT_Q_921 0x42 */
/* L2_PROT_X_25_LINK_LVL 0x46 */
/* L2_PROT_X_25_MULTI_LINK 0x47 */
/* L2_PROT_EXTENDED_LAPB 0x48 */
/* L2_PROT_HDLC_ARM 0x49 */
/* L2_PROT_HDLC_NRM 0x4A */
/* L2_PROT_HDLC_ABM 0x4B */
/* L2_PROT_LAN_LLC 0x4C */
/* L2_PROT_X_75_SLP 0x4D */
2 layer2_userinfo /* Layer 2 user information byte */
type UCHAR,
/* ------- */
/* Error: UCHAR layer3_protocol; /* Layer 3 protocol ide
ntifier: */
/* L3_PROT_UNSPECIFIED 0x60 */
/* L3_PROT_Q_931 0x62 */
/* L3_PROT_X_25_PACKET 0x66 */
/* L3_PROT_ISO_8208 0x67 */
/* L3_PROT_ISO_8348 0x68 */
/* L3_PROT_ISO_8473 0x69 */
/* L3_PROT_CCITT_T_70 0x6A */
2 layer3_userinfo Layer 3 user information byte */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @low_layer_compat handle low_layer_compat;
define structure
1 high_layer_compat,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_HIGH_LAYER_COMP 0x7D */
type UCHAR,
/* ------- */
/* Error: UCHAR coding_standard; /* Coding standard for
HL Compat: */
/* CODING_STD_CCITT 0x00 */
/* CODING_STD_INTERNATIONAL 0x01 */
/* CODING_STD_NATIONAL 0x02 */
/* CODING_STD_NETWORK_SPECIFIC 0x03 */
2 hlc_info High Level Compatibility byte */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases. */
/********************************************************************
****/
define alias @high_layer_compat handle high_layer_compat;
define structure
1 user_user_info,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_USER_USER_INFO 0x7E */
type UCHAR,
/* ------- */
/* Error: UCHAR protocol_discriminator; /* Protocol discriminat
or: */
/* PROT_DISC_USER_SPECIFIED 0x00 */
/* PROT_DISC_USER_OSI_HLP 0x01 */
/* PROT_DISC_USER_X_244 0x02 */
/* PROT_DISC_USER_IA5_CHARS 0x04 */
/* PROT_DISC_USER_V_120 0x07 */
/* PROT_DISC_USER_ISDN_CC 0x08 */
2 uinfo_length /* User to user information length */
type UCHAR,
/* ------- */
2 uinfo User to user information array */
char (1);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @user_user_info handle user_user_info;
define structure
1 ccitt_display,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_CCITT 0x80 */
type UCHAR,
/* ------- */
2 type /* SF_CC_TYPE_DISPLAY 0x28 */
type UCHAR,
/* ------- */
2 ccitt_display_length /* Length of the following array
type UCHAR,
/* ------- */
*/
2 ccitt_display_chars IA5 characters, varyi
char (1);/*
/* ------- */
ng length */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @ccitt_display handle ccitt_display;
define structure
1 netw_specific_date,
2 length /* */
type USHORT,
/* ------- */
2 identifier /* SF_SFID_NETWORK_SPECIFIC 0x01 */
type UCHAR,
/* ------- */
2 type /* SF_NS_TYPE_DATE 0x03 */
type UCHAR,
/* ------- */
/* Error: UCHAR ns_date[14]; /* YY.MM.DD HH:MM in I
A5 characters */
2 bit();
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @netw_specific_date handle netw_specific_date;
define structure
1 icas_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: icas_info_ptr
*/
/********************************************************************
******/
2 init_sect_len /* Length of this header */
type ULONG,
/* ------- */
2 num_icas_entries /* Number of entries following */
type USHORT,
/* ------- */
2 tot_icas_entries Total number of entries defined */
type USHORT;/*
/* ------- */
/********************************************************************
*****/
/* Additional fields may be added here in future releases */
/********************************************************************
*****/
define alias @icas_info_sect handle icas_info_sect;
define structure
1 icas_entry,
/* which may be automatically */
/* answered */
/********************************************************************
*****/
/* Error: /* The address of the first of these structures should be:
*/
/* icas_info_ptr + icas_info_ptr->init_sect_len */
/* Error: /* To find the next entry, add: icas_entry_ptr->entry_len.
*/
/********************************************************************
*****/
2 entry_len /* Length of this entry */
type ULONG,
/* ------- */
2 icrt_entry_name /* Incoming Call Routing Ta
char (16),
/* ------- */
ble entry */
2 icrt_entry_accept_call /* ICRT entry accept status */
type UCHAR,
/* ------- */
2 rsrvd1 Reserved */
type UCHAR;/*
/* ------- */
/********************************************************************
*****/
/* Additional fields may be added here in future releases */
/********************************************************************
*****/
define alias @icas_entry handle icas_entry;
define structure
1 lu_0_3_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: lu_0_3_info_pt
r */
/********************************************************************
******/
2 lu_0_3_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_lu_0_3s Number of configured LUs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @lu_0_3_info_sect handle lu_0_3_info_sect;
define structure
1 lu_0_3_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
lu_0_3_info_ptr*/
/* + lu_0_3_info_ptr->lu_0_3_init_sect_len. To find the next one, ad
d: */
/* lu_0_3_entry_len. */
/********************************************************************
******/
2 lu_0_3_entry_len /* Size of this LU info */
type ULONG,
/* ------- */
2 access_type /* Access type */
type UCHAR,
/* ------- */
2 lu_type /* LU type */
type UCHAR,
/* ------- */
2 lu_daf /* NAU address */
type UCHAR,
/* ------- */
2 lu_short_name /* LU Short Name (ASCII) */
type UCHAR,
/* ------- */
2 lu_long_name /* LU Long Name (ASCII) */
char (8),
/* ------- */
2 sess_id /* Session ID */
char (8),
/* ------- */
2 dlc_name /* DLC Name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC Adapter number */
type UCHAR,
/* ------- */
2 dest_addr_len /* Length of Adapter Addr */
type UCHAR,
/* ------- */
2 dest_addr /* Destination Adapter Addr */
char (32),
/* ------- */
2 sscp_lu_sess_state /* SSCP-LU Session State */
type UCHAR,
/* ------- */
/* any of these 4 states can be */
/* Error: /* &'ed with: AP_DETACHING */
2 lu_lu_sess_state /* LU-LU Session State */
type UCHAR,
/* ------- */
2 link_id /* Link ID */
char (12),
/* ------- */
2 pu_name /* PU Name for Multiple PU */
char (8),
/* ------- */
2 partnerlu /* Partner_LU_Name */
char (17),
/* ------- */
2 plu_slu_compression_level /* compression level for the
type UCHAR,
/* ------- */
plu to */
/* slu direction */
2 slu_plu_compression_level compression level for the
type UCHAR;/*
/* ------- */
slu to */
/* plu direction */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @lu_0_3_overlay handle lu_0_3_overlay;
define structure
1 gw_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: gw_info_ptr
*/
/********************************************************************
******/
2 gw_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_gw_lus Number of configured */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* gateway LUs Additional fields may be added here in future releases
*/
/********************************************************************
****/
define alias @gw_info_sect handle gw_info_sect;
define structure
1 gw_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
gw_info_ptr + */
/* gw_info_ptr->gw_init_sect_len. To find the next one, add: gw_entry
_len.*/
/********************************************************************
******/
2 gw_entry_len /* Size of the gateway info */
type ULONG,
/* ------- */
2 ws_lu_name /* WS LU name (EBCDIC) */
char (8),
/* ------- */
2 ws_pool_name /* WS pool class name */
char (8),
/* ------- */
2 ws_logoff_time_left /* WS LU time before logoff */
type SHORT,
/* ------- */
2 ws_local_addr /* Workstation local address */
type UCHAR,
/* ------- */
2 host_local_addr /* Host local address */
type UCHAR,
/* ------- */
2 ws_lu_type /* Workstation LU type */
type UCHAR,
/* ------- */
2 host_lu_name /* Host LU name (EBCDIC) */
char (17),
/* ------- */
2 ws_dlc_name /* WS DLC name (ASCII) */
char (8),
/* ------- */
2 ws_adapter_num /* Workstation adapter num */
type UCHAR,
/* ------- */
2 ws_dest_addr_len /* WS dest addr length */
type UCHAR,
/* ------- */
2 ws_dest_addr /* WS destination addr */
char (16),
/* ------- */
2 host_link_name /* APPN name for host link */
char (8),
/* ------- */
2 ws_link_name /* APPN name for workstation li
char (8),
/* ------- */
nk */
3 ws_link_act bit(1),
ve? */
3 lu_lu_pend_term bit(1),
termination? */
3 lu_lu_pend_init bit(1),
g initiation? */
3 lu_lu_act bit(1),
? */
3 lu_cp_pend_term bit(1),
Termination? */
3 lu_cp_pend_init bit(1),
g initiation? */
3 lu_cp_act_offline bit(1),
offline? */
3 lu_cp_act_online bit(1),
online? */
3 reserv4 bit(8),
*/
2 bit();
/* ------- */
/********************************************************************
****/
/* Reserved Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @gw_overlay handle gw_overlay;
define structure
1 x25_physical_link_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: x25_physical_l
ink_info_ptr */
/********************************************************************
******/
2 x25_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_x25_links /* Number of X.25 physical links */
type USHORT,
/* ------- */
2 num_x25_link_entries Total Number of X.25 phys. lin
type USHORT;/*
/* ------- */
ks */
/********************************************************************
****/
/* physical link entries Additional fields may be added here in futur
e */
/* releases */
/********************************************************************
****/
define alias @x25_physical_link_info_sect handle x25_physical_link_info
_sect;
define structure
1 x25_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* x25_physical_link_info_ptr + x25_physical_link_ptr->x25_init_sect_
len */
/* Error: /* To find the next one, add: x25_entry_len
*/
/********************************************************************
******/
2 x25_entry_len /* Size of X.25 information */
type ULONG,
/* ------- */
2 link_name /* X.25 Link Name (ASCII) */
char (8),
/* ------- */
2 link_comments /* Comment Field (ASCII) */
char (60),
/* ------- */
2 adapter_slot_num /* Adapter Slot Number */
type USHORT,
/* ------- */
2 link_type /* Link Type */
type UCHAR,
/* ------- */
2 link_mode /* Link Mode */
type UCHAR,
/* ------- */
2 link_state /* Link State */
type UCHAR,
/* ------- */
2 link_direction /* Link Direction */
type UCHAR,
/* ------- */
2 num_act_pvcs /* Number of Active PVCs */
type USHORT,
/* ------- */
2 total_num_pvcs /* Total Number of PVCs */
type USHORT,
/* ------- */
2 num_act_svcs /* Number of Active SVCs */
type USHORT,
/* ------- */
2 num_incoming_svcs /* Num of Incoming SVCs */
type USHORT,
/* ------- */
2 num_2_way_svcs /* Number of 2-way SVCs */
type USHORT,
/* ------- */
2 num_outgoing_svcs Num of Outgoing SVCs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @x25_overlay handle x25_overlay;
define structure
1 sys_def_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: sys_def_info_p
tr */
/********************************************************************
******/
2 default_mode_name /* Default Mode Name (EBCD
char (8),
/* ------- */
IC type A) */
2 default_local_lu_name /* Default Local LU Na
char (8),
/* ------- */
me (EBCDIC */
/* type A) */
2 implicit_inb_rlu_supp /* Implicit Remote LU Support */
type UCHAR,
/* ------- */
2 max_held_alerts /* Max Held Alerts 0-255 */
type UCHAR,
/* ------- */
2 tp_conv_sec_rqd /* TP Conversation Security Requested*/
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 max_mc_ll_send_size /* Maximum Mapped Conversation */
type USHORT,
/* ------- */
/* Logical Record Send Size */
/* 0 or 2048 - 32767 */
2 dir_for_attaches /* Directory For Inbound A
char (64),
/* ------- */
ttaches */
2 tp_operation /* Default TP Operation */
type UCHAR,
/* ------- */
2 tp_program_type Default TP Program Type */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @sys_def_info_sect handle sys_def_info_sect;
define structure
1 adapter_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: adapter_info_p
tr */
/********************************************************************
******/
2 adapter_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_adapters /* Number of Adapters Displayed */
type USHORT,
/* ------- */
2 total_adapters Total Number of Adapters */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @adapter_info_sect handle adapter_info_sect;
define structure
1 adapter_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* adapter_info_ptr + adapter_info_ptr->adapter_init_sect_len. */
/* Error: /* To find the next one, add: adapter_entry_len
*/
/********************************************************************
******/
2 adapter_entry_len /* Size of Adapter Info */
type ULONG,
/* ------- */
2 dlc_name /* DLC Name (ASCII) */
char (8),
/* ------- */
2 adapter_number /* Adapter Number */
type UCHAR,
/* ------- */
/* 0-255 */
2 ls_role /* Link Station Role */
type UCHAR,
/* ------- */
2 eff_capacity /* Effective Capacity */
type ULONG,
/* ------- */
/* 1200 │ 2400 │...│16M│... */
2 conn_cost /* Cost Per Connect Time */
type UCHAR,
/* ------- */
2 byte_cost /* Cost Per Byte */
type UCHAR,
/* ------- */
2 propagation_delay /* AP_PROP_DELAY_MINIMUM */
type UCHAR,
/* ------- */
2 user_def_1 /* User Defined 1 */
type UCHAR,
/* ------- */
2 user_def_2 /* User Defined 2 */
type UCHAR,
/* ------- */
2 user_def_3 /* User Defined 3 */
type UCHAR,
/* ------- */
2 security /* Security */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 line_type /* Line Yype */
type UCHAR,
/* ------- */
2 lim_res /* Limited Resource ? */
type UCHAR,
/* ------- */
2 lim_res_timeout /* Limited Resource Timeout */
type USHORT,
/* ------- */
/* 0-127 ??? */
2 max_btu_size /* Maximum BTU Size 99-32767 */
type USHORT,
/* ------- */
2 rcv_window /* Receive Window 0-127 */
type UCHAR,
/* ------- */
2 send_window /* Send Window 0-127 */
type UCHAR,
/* ------- */
2 max_ls_used /* Max Link Stations */
type USHORT,
/* ------- */
2 abm_support /* Asynchronous Balanced Mode Used? */
type UCHAR,
/* ------- */
2 adapter_active /* Adapter Active? */
type UCHAR,
/* ------- */
2 adapter_type /* Adapter Type */
type UCHAR,
/* ------- */
2 reserv4 Reserved */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @adapter_overlay handle adapter_overlay;
define structure
1 lu_def_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: lu_def_info_pt
r */
/********************************************************************
******/
2 lu_def_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_lu_def /* Number of LU Definitions Displayed*/
type USHORT,
/* ------- */
2 total_lu_def Total Number of LU Definitions */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @lu_def_info_sect handle lu_def_info_sect;
define structure
1 lu_def_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
lu_def_info_ptr*/
/* + lu_def_info_ptr->lu_def_init_sect_len. To find the next one, ad
d: */
/* lu_def_entry_len */
/********************************************************************
******/
2 lu_def_entry_len /* Size of lu def info */
type ULONG,
/* ------- */
2 lu_name /* LU_NAME (EBCDIC type A) */
char (8),
/* ------- */
2 lu_alias /* LU_ALIAS (ASCII) */
char (8),
/* ------- */
2 lu_nau_addr /* NAU address 0-254 */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 pu_name PU Name (EBCDIC Type A) */
char (8);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @lu_def_overlay handle lu_def_overlay;
define structure
1 plu_def_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: plu_def_info_p
tr */
/********************************************************************
******/
2 plu_def_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_plu_def /* Number of Partner LU defs Displayd*/
type USHORT,
/* ------- */
2 total_plu_def Total Number of Partner LU defs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @plu_def_info_sect handle plu_def_info_sect;
define structure
1 plu_def_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* plu_def_info_ptr + plu_def_info_ptr->plu_def_init_sect_len. To fin
d */
/* Error: /* the next one, add: plu_def_entry_len.
*/
/********************************************************************
******/
2 plu_def_entry_len /* Size of plu def info */
type ULONG,
/* ------- */
2 fqplu_name /* PLU Name (EBCDIC) */
char (17),
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 plu_alias /* Partner LU Alias */
char (8),
/* ------- */
2 plu_uninterpreted_name /* Partner LU Uninter
char (8),
/* ------- */
preted Name */
/* (EBCDIC) */
2 max_mc_ll_ssize /* Maximum Mapped Conversation */
type USHORT,
/* ------- */
/* Logical Record Send Size */
/* 0 or 2048 - 32767 */
2 conv_security /* Conversation Security */
type UCHAR,
/* ------- */
2 parallel_sess /* Parallel Session Support */
type UCHAR,
/* ------- */
2 alt_alias_flag /* Alternate PLU aliases flag */
type UCHAR,
/* ------- */
/* 0 = Alternate PLU aliases */
/* appended to end of struct */
2 num_of_alt_aliases Number of alternate PLU aliases
type UCHAR;/*
/* ------- */
*/
/* (not including the plu_alias). */
/* 0 or # of alt_alias_overlays */
/********************************************************************
****/
/* Error: /* The address of the first alternate partner LU alias is:
*/
/* plu_def_overlay + sizeof(struct plu_def_overlay). To build the add
r */
/* Error: /* of the next partner LU alias, add: sizeof(struct alt_al
ias_overlay). */
/* See struct alt_alias_overlay in APPCDEF.H. */
/********************************************************************
****/
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @plu_def_overlay handle plu_def_overlay;
define structure
1 mode_def_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: mode_def_info_
ptr */
/********************************************************************
******/
2 mode_def_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_mode_def /* Number of Mode Definitions Dsplyd */
type USHORT,
/* ------- */
2 total_mode_def Total Number of Mode Definitions */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @mode_def_info_sect handle mode_def_info_sect;
define structure
1 mode_def_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* mode_def_info_ptr + mode_def_info_ptr->mode_def_init_sect_len. To
find*/
/* Error: /* the next one, add: mode_def_entry_len
*/
/********************************************************************
******/
2 mode_def_entry_len /* Size of mode def info */
type ULONG,
/* ------- */
2 cos_name /* COS Name (EBCDIC) */
char (8),
/* ------- */
2 mode_name /* Mode Name (EBCDIC) */
char (8),
/* ------- */
2 compression_need /* Whether compression is */
type UCHAR,
/* ------- */
/* REQUESTED, determined by the */
/* SYSTEM from the effective */
/* capacity of the links, or */
/* PROHIBITED */
2 reserv3 /* reserved */
type UCHAR,
/* ------- */
2 rusize_upper /* max RU size upper bound */
type USHORT,
/* ------- */
/* 256-65535 */
2 rcv_window /* receive pacing window */
type UCHAR,
/* ------- */
/* 0 or 1-63 */
2 default_ru_size /* default ru size? */
type UCHAR,
/* ------- */
2 max_neg_sess_lim /* Max limit on sessions */
type USHORT,
/* ------- */
2 curr_sess_lim /* Current session limit */
type USHORT,
/* ------- */
2 min_win_lim /* Min negotiated winners */
type USHORT,
/* ------- */
2 plu_slu_compression_level /* The level of compression t
type UCHAR,
/* ------- */
o */
/* be used for the PLU to SLU */
/* direction. */
/* 0 = NO compression */
/* 1 = RLE compression */
/* 2 = LZ9 compression */
2 slu_plu_compression_level The level of compression t
type UCHAR;/*
/* ------- */
o */
/* be used for the SLU to PLU */
/* direction. */
/* 0 = NO compression */
/* 1 = RLE compression */
/* 2 = LZ9 compression */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @mode_def_overlay handle mode_def_overlay;
define structure
1 link_def_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: link_def_info_
ptr */
/********************************************************************
******/
2 link_def_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_link_def /* Number of Active Links Displayed */
type USHORT,
/* ------- */
2 total_link_def Total Number of Active Links */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @link_def_info_sect handle link_def_info_sect;
define structure
1 link_def_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* link_def_info_ptr + link_def_info_ptr->link_def_init_sect_len. To
find */
/* Error: /* the next block of link information, add: link_def_entry
_len */
/********************************************************************
******/
2 link_def_entry_len /* Size of link info, */
type ULONG,
/* ------- */
/* including link specific */
2 link_name /* Link Name (EBCDIC) */
char (8),
/* ------- */
2 adj_fq_cp_name /* Adjacent Fully Qualified
char (17),
/* ------- */
CP Name */
/* (EBCDIC) */
2 adj_node_type /* adjacent node type */
type UCHAR,
/* ------- */
2 dlc_name /* DLC name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC adapter number */
type UCHAR,
/* ------- */
2 dest_addr_len /* Length of adapter addr */
type UCHAR,
/* ------- */
2 dest_addr /* Destination adapter addr */
char (32),
/* ------- */
2 cp_cp_sess_spt /* CP CP session support? */
type UCHAR,
/* ------- */
2 preferred_nn_server /* Is this the Pref. NN Server? */
type UCHAR,
/* ------- */
2 auto_act_link /* Auto Activate Link? */
type UCHAR,
/* ------- */
2 tg_number /* Transmission Group Number */
type UCHAR,
/* ------- */
2 lim_res /* Limited Resource ? */
type UCHAR,
/* ------- */
2 solicit_sscp_session /* Solicit SSCP Session? */
type UCHAR,
/* ------- */
2 initself /* Initself Indicator */
type UCHAR,
/* ------- */
2 bind_support /* Bind Support? */
type UCHAR,
/* ------- */
2 ls_role /* link station role */
type UCHAR,
/* ------- */
2 line_type /* Line Type */
type UCHAR,
/* ------- */
2 eff_capacity /* Effective Capacity */
type ULONG,
/* ------- */
/* 0 │ 1200 │ 2400 │ ... */
/* ... │ 16M │ ... */
2 conn_cost /* Cost Per Connect Time */
type UCHAR,
/* ------- */
2 byte_cost /* Cost Per Byte */
type UCHAR,
/* ------- */
2 propagation_delay /* AP_PROP_DELAY_MINIMUM */
type UCHAR,
/* ------- */
2 user_def_1 /* User Defined 1 */
type UCHAR,
/* ------- */
2 user_def_2 /* User Defined 2 */
type UCHAR,
/* ------- */
2 user_def_3 /* User Defined 3 */
type UCHAR,
/* ------- */
2 security /* Security */
type UCHAR,
/* ------- */
2 reserv /* Reserved */
type UCHAR,
/* ------- */
2 pu_name PU Name (EBCDIC Type A) */
char (8);/*
/* ------- */
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use link_entry_len to skip over them. */
/********************************************************************
****/
define alias @link_def_overlay handle link_def_overlay;
define structure
1 ms_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: ms_info_ptr
*/
/********************************************************************
******/
2 ms_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 held_mds_mu_alerts /* Held mds alerts */
type UCHAR,
/* ------- */
/* 1-255 */
2 held_nmvt_alerts /* NO LONGER USED, ALWAYS 0 */
type UCHAR,
/* ------- */
2 num_fps /* Number of Focal Points Displayed */
type USHORT,
/* ------- */
2 total_fps /* Total Number of Focal Points */
type USHORT,
/* ------- */
2 num_ms_appls /* Num. of MS Applications Displayed */
type USHORT,
/* ------- */
2 total_ms_appls /* Total Number of MS Applications */
type USHORT,
/* ------- */
2 num_act_trans /* # of Active Transactions Displayed*/
type USHORT,
/* ------- */
2 total_act_trans /* Total Num. of Active Transactions
type USHORT,
/* ------- */
*/
2 num_local_fps /* # of Local FPs disp. */
type USHORT,
/* ------- */
2 total_local_fps Total Num. of Local FPs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @ms_info_sect handle ms_info_sect;
define structure
1 ms_fp_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
ms_info_ptr + */
/* ms_info_ptr->ms_init_sect_len. To find the next the next one, add
: */
/* ms_fp_entry_len. */
/********************************************************************
******/
2 ms_fp_entry_len /* Size of MS Focal point info */
type ULONG,
/* ------- */
2 ms_appl_name /* MS Application name */
char (8),
/* ------- */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 ms_category /* MS Category */
char (8),
/* ------- */
/* 0 or 4 byte SNA Defined Category */
2 fp_fq_cp_name /* Focal Point Fully Qual. CP
char (17),
/* ------- */
Name */
/* (EBCDIC type A) */
2 bkup_appl_name /* Backup MS Application Name
char (8),
/* ------- */
*/
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 bkup_fp_fq_cp_name /* Backup Focal Point Na
char (17),
/* ------- */
me */
/* (EBCDIC type A) */
2 retry_resp /* Retry Responsibility */
type UCHAR,
/* ------- */
2 fp_type /* focal point rank */
type UCHAR,
/* ------- */
2 fp_status /* focal point status */
type UCHAR,
/* ------- */
2 fp_routing /* focal point routing */
type UCHAR,
/* ------- */
2 pri_fp_fq_cp_name /* Primary Focal Point Na
char (17),
/* ------- */
me */
/* (EBCDIC type A) */
2 reserv1 /* Reserved */
type UCHAR,
/* ------- */
2 num_backups Total number of backups */
type USHORT;/*
/* ------- */
/* (only 1st displayed) */
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use ms_fp_entry_len to skip over them. */
/********************************************************************
****/
define alias @ms_fp_overlay handle ms_fp_overlay;
define structure
1 ms_appl_overlay,
/********************************************************************
******/
/* The first ms_appl_overlay follows immediately after the last ms_fp
*/
/* Error: /* overlay. Hence, the address of the first ms_appl_overl
ay should be: */
/* the address of the last ms_fp_overlay + ms_fp_entry length. */
/* Error: /* To find the next ms_appl_overlay, add: ms_appl_entry_l
ength. */
/********************************************************************
******/
2 ms_appl_entry_len /* Size of MS application info */
type ULONG,
/* ------- */
2 ms_appl_name /* MS Application name */
char (8),
/* ------- */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 ms_category /* MS Category */
char (8),
/* ------- */
/* 0 or 4 byte SNA Defined Category */
2 q_name /* OS/2 Queue Name (ASCIIZ) */
char (81),
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 reserv4 /* Reserved */
type UCHAR,
/* ------- */
2 reserv5 Reserved */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use ms_appl_entry_len to skip over them. */
/********************************************************************
****/
define alias @ms_appl_overlay handle ms_appl_overlay;
define structure
1 ms_act_trans_overlay,
/********************************************************************
******/
/* The first ms_act_trans_overlay follows immediately after the last
*/
/* ms_appl overlay. Hence, the address of the first ms_act_trans_over
lay */
/* Error: /* should be:
*/
/* the address of the last ms_appl_overlay + ms_appl_entry length. */
/* Error: /* To find the next ms_act_trans_overlay, add: ms_act_tra
ns_entry_length.*/
/********************************************************************
******/
2 ms_act_trans_entry_len /* Size of info */
type ULONG,
/* ------- */
2 fq_origin_cp_name /* Fully Qualified Origin
char (17),
/* ------- */
CP Name */
/* (EBCDIC type A) */
2 origin_ms_appl_name /* Origin MS Application
char (8),
/* ------- */
Name */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 fq_dest_cp_name /* Fully Qualified Dest. CP
char (17),
/* ------- */
Name */
/* (EBCDIC type A) */
2 dest_ms_appl_name /* Dest. MS Application Na
char (8),
/* ------- */
me */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
/********************************************************************
****/
/* the following 3 fields are part of the Unit of Work (UOW) */
/********************************************************************
****/
2 fq_req_loc_cp_name /* Requester Location */
char (17),
/* ------- */
/* (EBCDIC type A) */
2 req_agent_appl_name /* Requester Application
char (8),
/* ------- */
Name */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 seq_num_dt Sequence Number / date - time
char (15);/*
/* ------- */
*/
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use ms_act_trans_entry_len to skip over them. */
/********************************************************************
****/
define alias @ms_act_trans_overlay handle ms_act_trans_overlay;
define structure
1 ms_local_fp_overlay,
/********************************************************************
******/
/* The first ms_local_fp_overlay follows immediately after the last
*/
/* ms_act_trans_overlay. Hence, the address of the first */
/* Error: /* ms_local_fp_overlay should be:
*/
/* the address of the last ms_act_trans_overlay + ms_act_trans_entry_
len.*/
/* Error: /* To find the next ms_local_fp_overlay, add: ms_local_fp_
entry_len. */
/********************************************************************
******/
2 ms_local_fp_entry_len /* Size of MS local FP entry */
type ULONG,
/* ------- */
2 ms_local_fp_info_len /* Size of MS local FP info */
type ULONG,
/* ------- */
2 ms_appl_name /* MS Application name */
char (8),
/* ------- */
/* 4 byte SNA Defined */
/* or 1-8 byte (EBCDIC type A) */
2 ms_category /* MS Category */
char (8),
/* ------- */
/* 0 or 4 byte SNA Defined Ctgy */
2 appl_status /* status of local FP appl */
type UCHAR,
/* ------- */
2 default_soc /* Default sphere of control? */
type UCHAR,
/* ------- */
2 dflt_bkup_fp_fq_cp_name /* Backup Focal Poi
char (17),
/* ------- */
nt Name */
/* (EBCDIC type A) */
2 dflt_bkup_ind /* Replace Backup FP indicator */
type UCHAR,
/* ------- */
2 num_soc_nodes number of soc entries */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use ms_local_fp_entry_len to skip over them. */
/********************************************************************
****/
define alias @ms_local_fp_overlay handle ms_local_fp_overlay;
/* */
define structure
1 ms_soc_overlay,
/********************************************************************
******/
/* There are some number of ms_soc_overlay's for each */
/* ms_local_fp_overlay. */
/* */
/* The first ms_soc_overlay follows immediately after the */
/* ms_local_fp_overlay. Hence, the address of the first */
/* Error: /* ms_soc_overlay should be:
*/
/* the address of the ms_local_fp_overlay + */
/* sizeof(ms_local_fp_entry_len) + */
/* ms_local_fp_info_len */
/* Error: /* To find the next ms_soc_overlay, add: ms_soc_entry_len
*/
/********************************************************************
******/
2 ms_soc_entry_len /* Size of MS local FP info */
type ULONG,
/* ------- */
2 soc_entry_fq_cp_name /* Soc entry name */
char (17),
/* ------- */
/* (EBCDIC type A) */
2 expl_bkup_fp_fq_cp_name /* Backup Focal Poi
char (17),
/* ------- */
nt Name */
/* (EBCDIC type A) */
2 expl_bkup_ind /* Replace Backup FP indicator */
type UCHAR,
/* ------- */
2 soc_entry_status /* Status of soc entry */
type UCHAR,
/* ------- */
2 soc_entry_rank /* how acquired */
type UCHAR,
/* ------- */
2 reserv1
type UCHAR;
/* ------- */
/********************************************************************
****/
/* Additional fields of unspecified length are located in this positi
on.*/
/* Use ms_soc_entry_len to skip over them. */
/********************************************************************
****/
define alias @ms_soc_overlay handle ms_soc_overlay;
/* */
define structure
1 pu_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: pu_info_ptr
*/
/********************************************************************
******/
2 pu_init_sect_len /* Structure length */
type ULONG,
/* ------- */
2 num_pu /* Number of PUs Displayed */
type USHORT,
/* ------- */
2 total_pu Total Number PUs */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @pu_info_sect handle pu_info_sect;
define structure
1 pu_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* pu_info_ptr + pu_info_ptr->pu_init_sect_len. */
/* Error: /* To find the next one, add: pu_overlay_ptr->pu_entry_
len */
/********************************************************************
******/
2 entry_len /* Size of pu info */
type ULONG,
/* ------- */
2 pu_name /* PU Name (EBCDIC type A) */
char (8),
/* ------- */
2 pu_node_id /* PU Node ID (used on XID) */
char (4),
/* ------- */
2 link_name /* Link Name (EBCDIC type A) */
char (8),
/* ------- */
2 nbr_lus /* Number of LUs active */
type USHORT,
/* ------- */
2 adj_fq_cp_name /* Adj CP Name (EBCDIC Type
char (17),
/* ------- */
A) */
2 pu_status /* PU Active? Yes/No */
type UCHAR,
/* ------- */
2 dlc_name Name of DLC used for link */
char (8);/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @pu_overlay handle pu_overlay;
define structure
1 pulu_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* pu_info_ptr + pu_info_ptr->sizeof(pu_overlay) */
/* Error: /* To find the next one, add: pulu_overlay_ptr->entry_l
en */
/********************************************************************
******/
2 entry_len /* Length of this entry */
type ULONG,
/* ------- */
2 lu_name /* LU Name */
char (8),
/* ------- */
2 lu_type /* LU Type */
type UCHAR,
/* ------- */
2 lu_status /* LU Status */
type UCHAR,
/* ------- */
2 link_name /* Link Name for Gateway LUs */
char (8),
/* ------- */
2 dlc_name DLC Name for Gateway LUs */
char (8);/*
/* ------- */
define alias @pulu_overlay handle pulu_overlay;
define structure
1 node_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: node_info_ptr
*/
/********************************************************************
******/
2 route_resist /* Route Addition Resistance */
type UCHAR,
/* ------- */
/* 0-255 */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 max_cache /* Max number of resources that can */
type USHORT,
/* ------- */
/* be cached in the directory 0 = */
/* no maximum */
/* 1-65535 */
2 current_cache /* current number of entries in the */
type USHORT,
/* ------- */
/* in the directory cache */
2 dir_dump_interval /* how often the dir is saved on */
type USHORT,
/* ------- */
/* perm storage 0 = never saved */
/* 1-65535 = number of updates */
/* before saving */
2 max_compression_tokens /* Maximum amount of resources
type USHORT,
/* ------- */
*/
/* which can be dedicated */
/* to data compression */
2 tokens_remaining /* The amount of resources */
type USHORT,
/* ------- */
/* still available to dedicate */
/* to compression */
2 max_compression_level Maximum compression algorithm
type UCHAR;/*
/* ------- */
*/
/* which will be used for sessions */
/* with this node. */
/* 0 = NO compression */
/* 1 = RLE compression */
/* 2 = LZ9 compression */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @node_info_sect handle node_info_sect;
define structure
1 directory_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: directory_info
_ptr */
/********************************************************************
******/
2 directory_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_entries /* Number of dir entries */
type USHORT,
/* ------- */
2 num_nns /* number network nodes displayed */
type USHORT,
/* ------- */
2 total_nns /* total number of network nodes */
type USHORT,
/* ------- */
2 num_ens /* number of end nodes displayed */
type USHORT,
/* ------- */
2 total_ens total number of end nodes */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @directory_info_sect handle directory_info_sect;
define structure
1 dir_nn_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* directory_info_ptr + directory_info_ptr->directory_init_sect_len.
To */
/* Error: /* find the next one, add: dir_nn_entry_len
*/
/********************************************************************
******/
2 dir_nn_entry_len /* Size of all nn data */
type ULONG,
/* ------- */
2 dir_nn_info_len /* size of nn data only */
type ULONG,
/* ------- */
2 fq_nncp_name /* FQ NNCP Name SERVING (EBCDI
char (17),
/* ------- */
C) */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 num_lus number of lus displayed */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @dir_nn_overlay handle dir_nn_overlay;
define structure
1 dir_en_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* lun_overlay of the last NN + lun_entry_len. */
/* Error: /* To find the next one, add: dir_en_entry_len
*/
/********************************************************************
******/
2 dir_en_entry_len /* Size of all nn data */
type ULONG,
/* ------- */
2 dir_en_info_len /* size of nn data only */
type ULONG,
/* ------- */
2 fq_encp_name /* End Node CP FQ name (EBCDIC
char (17),
/* ------- */
) */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 num_lus number of lus displayed */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @dir_en_overlay handle dir_en_overlay;
define structure
1 lun_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the current dir_nX_overlay + dir_nX_info_len + sizeof(dir_nX_entry
_len)*/
/* Error: /* To find the next lun overlay, add: lun_entry_len.
*/
/********************************************************************
******/
2 lun_entry_len /* Size of all lun data */
type ULONG,
/* ------- */
2 fqlu_name /* fully qualified lu name (EBCDI
char (17),
/* ------- */
C) */
2 fq_nncp_name /* Fully qual owning cp (EBCDI
char (17),
/* ------- */
C) */
2 lu_entry_type /* type of dir entry */
type UCHAR,
/* ------- */
2 wildcard_entry Wildcard Entry? */
type UCHAR;/*
/* ------- */
define alias @lun_overlay handle lun_overlay;
define structure
1 topology_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: topology_info_
ptr */
/********************************************************************
******/
2 topology_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_nns /* number network nodes DISPLAYED */
type USHORT,
/* ------- */
2 total_nns total number of nn's */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @topology_info_sect handle topology_info_sect;
define structure
1 topology_nn_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
*/
/* topology_info_ptr + topology_info_ptr->topology_init_sect_len. To
find */
/* Error: /* the next one, add: topology_entry_len
*/
/********************************************************************
******/
2 topology_entry_len /* Size of all nn data */
type ULONG,
/* ------- */
2 topology_nn_info_len /* size of nn data only */
type ULONG,
/* ------- */
2 fq_nncp_name /* FQ NNCP name */
char (17),
/* ------- */
2 route_resist /* Route Addition Resistance */
type UCHAR,
/* ------- */
/* 0-255 */
2 nncp_congested /* Congested? */
type UCHAR,
/* ------- */
2 nncp_quiescing /* Quiescing? */
type UCHAR,
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 nncp_isr_depleted /* ISR Depleted? */
type UCHAR,
/* ------- */
2 num_tgs Number of TGs returned */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @topology_nn_overlay handle topology_nn_overlay;
define structure
1 tg_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of tg overlay should be:
*/
/* The address of the current topology_nn_overlay + */
/* topology_nn_info_len + */
/* sizeof(topology_entry_len) */
/* Error: /* To find the next tg overlay, add: tg_entry_len.
*/
/********************************************************************
******/
2 tg_entry_len /* Size of all TG data */
type ULONG,
/* ------- */
2 fq_nncp_name /* Adjacent CP Name */
char (17),
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 tg_number /* TG Number 0-240 */
type UCHAR,
/* ------- */
2 node_type /* Node Type */
type UCHAR,
/* ------- */
2 eff_capacity /* Effective Capacity */
type UCHAR,
/* ------- */
2 conn_cost /* Cost Per Connect Time */
type UCHAR,
/* ------- */
2 byte_cost /* Cost Per Byte */
type UCHAR,
/* ------- */
2 propagation_delay /* Propagation Delay */
type UCHAR,
/* ------- */
2 user_def_1 /* User Defined 1 */
type UCHAR,
/* ------- */
2 user_def_2 /* User Defined 2 */
type UCHAR,
/* ------- */
2 user_def_3 /* User Defined 3 */
type UCHAR,
/* ------- */
2 security /* Security */
type UCHAR,
/* ------- */
2 quiescing /* Quiescing? */
type UCHAR,
/* ------- */
2 network_topology Is this in Network Topology? */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @tg_overlay handle tg_overlay;
define structure
1 isr_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: isr_info_ptr
*/
/********************************************************************
******/
2 isr_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_isr /* Num Intermediate Sess. Displayed */
type USHORT,
/* ------- */
2 total_isr Total Intermediate Sessions */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @isr_info_sect handle isr_info_sect;
define structure
1 isr_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
isr_info_ptr + */
/* isr_info_ptr->isr_init_sect_len. To find the next one, add:
*/
/* isr_entry_len */
/********************************************************************
******/
2 isr_entry_len /* Size of all isr data */
type ULONG,
/* ------- */
2 fq_pri_nncp_name /* FQ NNCP name (EBCDIC)
char (17),
/* ------- */
*/
2 fq_sec_nncp_name /* FQ NNCP name (EBCDIC)
char (17),
/* ------- */
*/
2 pri_link_name /* Primary Link Name (EBCDIC)
char (8),
/* ------- */
*/
2 sec_link_name /* Secondary Link Name (EBCDIC
char (8),
/* ------- */
) */
2 fqpcid /* Fully Qualified Procedure */
type FQPCID_OVERLAY,
/* ------- */
/* Correlation Identifier */
2 fq_pri_lu_name /* Name of primary LU */
char (17),
/* ------- */
2 fq_sec_lu_name /* Name of secondary LU */
char (17),
/* ------- */
2 pri_lu_send_fmd_piu_count
char (8),
/* ------- */
/* FMD PIU count sent by Pri. LU */
2 sec_lu_send_fmd_piu_count
char (8),
/* ------- */
/* FMD PIU count sent by Sec. LU */
2 pri_lu_send_non_fmd_piu_count
char (8),
/* ------- */
/* Non-FMD PIU count sent by Pri. LU */
2 sec_lu_send_non_fmd_piu_count
char (8),
/* ------- */
/* Non-FMD PIU count sent by Sec. LU */
2 pri_lu_send_byte_count /* Bytes sent on sess
char (8),
/* ------- */
ion by Pri. LU */
2 sec_lu_send_byte_count Bytes sent on sess
char (8);/*
/* ------- */
ion by Sec. LU */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @isr_overlay handle isr_overlay;
define structure
1 cos_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: cos_info_ptr
*/
/********************************************************************
******/
2 cos_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_cos /* Number COS Definitions Displayed */
type USHORT,
/* ------- */
2 total_cos Total Number of COS Definitions */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cos_info_sect handle cos_info_sect;
define structure
1 cos_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
cos_info_ptr + */
/* cos_info_ptr->cos_init_sect_len. To find the next one, add:
*/
/* cos_entry_len */
/********************************************************************
******/
2 cos_entry_len /* Size of all cos data */
type ULONG,
/* ------- */
2 cos_info_len /* size of cos data only */
type ULONG,
/* ------- */
2 cos_name /* COS name */
char (8),
/* ------- */
2 trans_priority /* Transmission Priority */
type UCHAR,
/* ------- */
2 num_of_node_rows /* number of node rows 1-8 */
type UCHAR,
/* ------- */
2 num_of_tg_rows number of tg rows 1-8 */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cos_overlay handle cos_overlay;
define structure
1 cos_node_row_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the current cos_overlay + cos_info_len + sizeof(cos_entry_len) */
/* Error: /* To find the next cos node row, add: cos_node_row_entry_
len. */
/********************************************************************
******/
2 cos_node_row_entry_len /* Size of all cos node row data
type ULONG,
/* ------- */
*/
2 weight /* Node Row Weight */
type UCHAR,
/* ------- */
/* 0-255 */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 route_add_res_min /* Route Addition Resistance Min */
type UCHAR,
/* ------- */
/* 0-255 */
2 route_add_res_max /* Route Addition Resistance Max */
type UCHAR,
/* ------- */
/* 0-255 */
2 congestion_min /* Congestion Min */
type UCHAR,
/* ------- */
2 congestion_max Congestion Max */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cos_node_row_overlay handle cos_node_row_overlay;
define structure
1 cos_tg_row_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the last cos_node_row_overlay + cos_node_row_entry_len. */
/* (The first tg row overlay comes right after the last node row over
lay) */
/* */
/* Error: /* To find the next cos tg row, add: cos_tg_row_entry_len.
*/
/********************************************************************
******/
2 cos_tg_row_entry_len /* Size of all cos tg now data */
type ULONG,
/* ------- */
2 weight /* TG Row Weight */
type UCHAR,
/* ------- */
/* 0-255 */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 eff_capacity_min /* Effective Capacity Min */
type UCHAR,
/* ------- */
2 eff_capacity_max /* Effective Capacity Max */
type UCHAR,
/* ------- */
/* 1 byte floating point number */
/* 5 bit exponent */
/* 3 bit mantissa */
2 cost_per_time_min /* Cost Per Connect Min */
type UCHAR,
/* ------- */
/* 0-255 */
2 cost_per_time_max /* Cost Per Connect Max */
type UCHAR,
/* ------- */
/* 0-255 */
2 cost_per_byte_min /* Cost Per Byte Min */
type UCHAR,
/* ------- */
/* 0-255 */
2 cost_per_byte_max /* Cost Per Byte Min */
type UCHAR,
/* ------- */
/* 0-255 */
2 security_min /* Security Min */
type UCHAR,
/* ------- */
2 security_max /* Security Max */
type UCHAR,
/* ------- */
2 propagation_delay_min /* Propagation Delay Min */
type UCHAR,
/* ------- */
2 propagation_delay_max /* Propagation Delay Max */
type UCHAR,
/* ------- */
2 user_def_1_min /* User Defined 1 Min */
type UCHAR,
/* ------- */
2 user_def_1_max /* User Defined 1 Max */
type UCHAR,
/* ------- */
2 user_def_2_min /* User Defined 2 Min */
type UCHAR,
/* ------- */
2 user_def_2_max /* User Defined 2 Max */
type UCHAR,
/* ------- */
2 user_def_3_min /* User Defined 3 Min */
type UCHAR,
/* ------- */
2 user_def_3_max User Defined 3 Max */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cos_tg_row_overlay handle cos_tg_row_overlay;
define structure
1 cn_info_sect,
/********************************************************************
******/
/* Error: /* The address of this structure should be: cn_info_ptr
*/
/********************************************************************
******/
2 cn_init_sect_len /* Struct length */
type ULONG,
/* ------- */
2 num_cn /* number CN definitions displayed */
type USHORT,
/* ------- */
2 total_cn total number of CN definitions */
type USHORT;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cn_info_sect handle cn_info_sect;
define structure
1 cn_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
cn_info_ptr + */
/* cn_info_ptr->cn_init_sect_len. To find the next one, add:
*/
/* cn_entry_len */
/********************************************************************
******/
2 cn_entry_len /* Size of all cn data */
type ULONG,
/* ------- */
2 cn_info_len /* size of cn data only */
type ULONG,
/* ------- */
2 cn_name /* Connection Network Name */
char (17),
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 eff_capacity /* Effective Capacity */
type ULONG,
/* ------- */
/* 0 │ 1200 │ 2400 │ ... */
/* ... │ 16M │ ... */
2 conn_cost /* Cost Per Connect Time */
type UCHAR,
/* ------- */
2 byte_cost /* Cost Per Byte */
type UCHAR,
/* ------- */
2 propagation_delay /* AP_PROP_DELAY_MINIMUM */
type UCHAR,
/* ------- */
2 user_def_1 /* User Defined 1 */
type UCHAR,
/* ------- */
2 user_def_2 /* User Defined 2 */
type UCHAR,
/* ------- */
2 user_def_3 /* User Defined 3 */
type UCHAR,
/* ------- */
2 security /* Security */
type UCHAR,
/* ------- */
2 reserv4 /* Reserved */
type UCHAR,
/* ------- */
2 num_adapters /* Number of adapters for this CN */
type UCHAR,
/* ------- */
2 reserv5 Reserved */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cn_overlay handle cn_overlay;
define structure
1 cna_overlay,
/********************************************************************
******/
/* Error: /* The address of the first of these structures should be:
The address of */
/* the current cn_overlay + cn_info_len + sizeof(cn_entry_len) */
/* Error: /* To find the next connection network adapter, add: cna_e
ntry_len. */
/********************************************************************
******/
2 cna_entry_len /* Size of all cn adapter data */
type ULONG,
/* ------- */
2 dlc_name /* DLC name (ASCII) */
char (8),
/* ------- */
2 adapter_num /* DLC adapter number */
type UCHAR,
/* ------- */
2 reserv3 Reserved */
type UCHAR;/*
/* ------- */
/********************************************************************
****/
/* Additional fields may be added here in future releases */
/********************************************************************
****/
define alias @cna_overlay handle cna_overlay;
/**********************************************************************
******/
/*
*/
/* Structures for REGISTER_NB_QUEUES verb
*/
/*
*/
/**********************************************************************
******/
define structure
1 register_nb_queues,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 queue_request_id /* Queue Request ID */
type USHORT,
/* ------- */
2 snd_q_name /* OS/2 Queue Name (ASCIIZ) */
char (81),
/* ------- */
2 reserv3 /* Reserved */
type UCHAR,
/* ------- */
2 rcv_q_name /* OS/2 Queue Name (ASCIIZ) */
char (81),
/* ------- */
2 reserv4 Reserved */
type UCHAR;/*
/* ------- */
define alias @register_nb_queues handle register_nb_queues;
/**********************************************************************
******/
/*
*/
/* Structures for REGISTER_MS_APPLICATION verb
*/
/*
*/
/**********************************************************************
******/
define structure
1 register_ms_application,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 ms_appl_name /* MS Application name */
char (8),
/* ------- */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 ms_category /* MS Category */
char (8),
/* ------- */
/* 0 or 4 byte SNA Defined Category */
2 segment_selector /* OS/2 Segment Selector */
type USHORT,
/* ------- */
2 q_name /* OS/2 Queue Name (ASCIIZ) */
char (81),
/* ------- */
2 ms_fp_appl /* Focal point application? */
type UCHAR,
/* ------- */
2 reserv4 /* Reserved */
type UCHAR,
/* ------- */
2 reserv5 Reserved */
type UCHAR;/*
/* ------- */
define alias @register_ms_application handle register_ms_application;
define structure
1 unregister_ms_application,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 ms_appl_name /* MS Application name */
char (8),
/* ------- */
/* 4 byte SNA Defined MS Appl Name*/
/* or 1-8 byte (EBCDIC type A) */
2 ms_category /* MS Category */
char (8),
/* ------- */
/* 0 or 4 byte SNA Defined Category */
2 reserv3 reserved */
type USHORT;/*
/* ------- */
define alias @unregister_ms_application handle unregister_ms_applicatio
n;
define structure
1 send_mds_mu,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
3 reserv3 bit(3),
*/
/* Reserved */
3 mds_mu_routing bit(1),
*/
/* Routing type? */
3 local_logging bit(1),
*/
/* Local Logging? */
3 reserv4 bit(1),
*/
3 product_set_id_subvector bit(1),
*/
/* Product Set ID Subvector? */
3 time_stamp_subvector bit(1),
*/
/* Time Stamp Subvector? */
3 reserv5 bit(8),
*/
2 origntr_id /* Originator ID */
char (8),
/* ------- */
/* (0 if unknown) */
2 dlen /* Data Length */
type USHORT,
/* ------- */
2 dptr Data Pointer */
ptr seg;/*
/* ------- */
define alias @send_mds_mu handle send_mds_mu;
define structure
1 display,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 init_sect_len /* Length of this section */
type ULONG,
/* ------- */
2 buffer_len /* Length of passed buffr */
type ULONG,
/* ------- */
2 buffer_ptr /* Passed address */
ptr seg,
/* ------- */
2 num_sections /* Number of sections */
type ULONG,
/* ------- */
2 display_len /* Returned, length used */
type ULONG,
/* ------- */
2 area_needed /* Returned, length rqd */
type ULONG,
/* ------- */
2 sna_global_info /* SNA global info? */
type UCHAR,
/* ------- */
2 lu62_info /* LU 6.2 info? */
type UCHAR,
/* ------- */
2 am_info /* Attach Manager info? */
type UCHAR,
/* ------- */
2 tp_info /* TP info? */
type UCHAR,
/* ------- */
2 sess_info /* Session info? */
type UCHAR,
/* ------- */
2 link_info /* Link info? */
type UCHAR,
/* ------- */
2 lu_0_3_info /* LU 0, 1, 2, & 3 info? */
type UCHAR,
/* ------- */
2 gw_info /* Gateway info? */
type UCHAR,
/* ------- */
2 x25_physical_link_info /* X.25 info? */
type UCHAR,
/* ------- */
2 sys_def_info /* System Default info? */
type UCHAR,
/* ------- */
2 adapter_info /* Adapter info? */
type UCHAR,
/* ------- */
2 lu_def_info /* LU definition info? */
type UCHAR,
/* ------- */
2 plu_def_info /* Remote LU def info? */
type UCHAR,
/* ------- */
2 mode_def_info /* Mode Definition info? */
type UCHAR,
/* ------- */
2 link_def_info /* Link Definition info? */
type UCHAR,
/* ------- */
2 ms_info /* Mgt. Services info? */
type UCHAR,
/* ------- */
2 pu_info /* Physical Unit info? */
type UCHAR,
/* ------- */
2 icas_info /* Incoming Call AA Status*/
type UCHAR,
/* ------- */
2 sna_global_info_ptr
ptr seg,
/* ------- */
2 lu62_info_ptr
ptr seg,
/* ------- */
2 am_info_ptr
ptr seg,
/* ------- */
2 tp_info_ptr
ptr seg,
/* ------- */
2 sess_info_ptr
ptr seg,
/* ------- */
2 link_info_ptr
ptr seg,
/* ------- */
2 lu_0_3_info_ptr
ptr seg,
/* ------- */
2 gw_info_ptr
ptr seg,
/* ------- */
2 x25_physical_link_info_ptr
ptr seg,
/* ------- */
2 sys_def_info_ptr
ptr seg,
/* ------- */
2 adapter_info_ptr
ptr seg,
/* ------- */
2 lu_def_info_ptr
ptr seg,
/* ------- */
2 plu_def_info_ptr
ptr seg,
/* ------- */
2 mode_def_info_ptr
ptr seg,
/* ------- */
2 link_def_info_ptr
ptr seg,
/* ------- */
2 ms_info_ptr
ptr seg,
/* ------- */
2 pu_info_ptr
ptr seg,
/* ------- */
2 icas_info_ptr
ptr seg;
/* ------- */
define alias @display handle display;
define structure
1 display_appn,
2 opcode /* Verb operation code */
type USHORT,
/* ------- */
2 reserv2 /* Reserved */
char (2),
/* ------- */
2 primary_rc /* Primary RETURN_CODE */
type USHORT,
/* ------- */
2 secondary_rc /* Secondary RETURN_CODE */
type ULONG,
/* ------- */
2 init_sect_len /* Length of this section */
type ULONG,
/* ------- */
2 buffer_len /* Length of passed buffr */
type ULONG,
/* ------- */
2 buffer_ptr /* Passed address */
ptr seg,
/* ------- */
2 num_sections /* Number of sections */
type ULONG,
/* ------- */
2 display_len /* Returned, length used */
type ULONG,
/* ------- */
2 area_needed /* Returned, length rqd */
type ULONG,
/* ------- */
2 node_info /* Node info? */
type UCHAR,
/* ------- */
2 directory_info /* Directory info? */
type UCHAR,
/* ------- */
2 topology_info /* Topology info? */
type UCHAR,
/* ------- */
2 isr_info /* Intermediate Sessions? */
type UCHAR,
/* ------- */
2 cos_info /* Class of Service info? */
type UCHAR,
/* ------- */
2 cn_info /* Connection Network info? */
type UCHAR,
/* ------- */
2 node_info_ptr
ptr seg,
/* ------- */
2 directory_info_ptr
ptr seg,
/* ------- */
2 topology_info_ptr
ptr seg,
/* ------- */
2 isr_info_ptr
ptr seg,
/* ------- */
2 cos_info_ptr
ptr seg,
/* ------- */
2 cn_info_ptr
ptr seg;
/* ------- */
define alias @display_appn handle display_appn;
%end;