00001 #ifndef pdtdef_h 00002 #define pdtdef_h 00003 00004 #define PDT_M_SNGLHOST 0x1 00005 #define PDT_C_PA 1 00006 #define PDT_C_PU 2 00007 #define PDT_C_PE 3 00008 #define PDT_C_PS 4 00009 00010 #define PDT_C_PI 6 00011 #define PDT_C_PL 7 00012 #define PDT_C_PW 8 00013 #define PDT_C_PN 9 00014 #define PDT_C_PC 10 00015 #define PDT_C_PB 11 00016 #define PDT_C_PM 12 00017 #define PDT_M_CNTBSY 0x1 00018 #define PDT_M_CNTRLS 0x2 00019 #define PDT_M_XCNTRS 0x4 00020 #define PDT_M_NON_CI_BHANDLE 0x8 00021 #define PDT_M_AFFINITY 0x10 00022 #define PDT_C_BASEVER 0 00023 #define PDT_C_LISTENVER 1 00024 #define PDT_C_BALANCEVER 2 00025 #define PDT_C_REORGVER 1 00026 #define PDT_C_CREDITVER 2 00027 #define PDT_C_NI_CLASS 10 00028 #define PDT_C_DSSI_MEDIUM_CLASS 48 00029 #define PDT_C_CI_CLASS 140 00030 #define PDT_C_MC_CLASS 800 00031 #define PDT_C_SM_CLASS 32767 00032 00033 #define PDT_C_YELLOW 4 00034 #define PDT_C_RED 6 00035 #define PDT_C_UNEQUAL_PATH 7 00036 #define PDT_C_CTRSTART 636 00037 #define PDT_C_STD_CTREND 668 00038 #define PDT_C_STDNO_CTR 7 00039 #define PDT_C_EXT_CTRSTART 668 00040 #define PDT_C_EXT_CTREND 776 00041 #define PDT_C_EXTNO_CTR 26 00042 #define SCS_C_EB_MAX_INDEX 9 00043 #define PDT_K_LENGTH 896 00044 #define PDT_C_LENGTH 896 00045 00046 #define PDT_S_PDTDEF 896 00047 00048 struct _pdt { 00049 struct _pdt *pdt_l_flink; 00050 unsigned short int pdt_w_portchar; 00051 char pdtdef_$_fill_2; 00052 unsigned char pdt_b_pdt_type; 00053 unsigned short int pdt_w_size; 00054 unsigned char pdt_b_type; 00055 unsigned char pdt_b_subtyp; 00056 int (*pdtvec_l_allocdg)(); 00057 int (*pdtvec_l_allocmsg)(); 00058 int (*pdtvec_l_deallocdg)(); 00059 int (*pdtvec_l_deallomsg)(); 00060 int (*pdtvec_l_ins_pes_mfreeq)(); 00061 int (*pdtvec_l_ins_opt_mfreeq)(); 00062 int (*pdtvec_l_rem_opt_mfreeq)(); 00063 int (*pdtvec_l_rem_pes_mfreeq)(); 00064 int (*pdtvec_l_add_free_dg)(); 00065 int (*pdtvec_l_rem_free_dg)(); 00066 int (*pdtvec_l_queue_dg)(); 00067 int (*pdtvec_l_reqdata)(); 00068 int (*pdtvec_l_senddata)(); 00069 int (*pdtvec_l_senddatawmsg)(); 00070 int (*pdtvec_l_senddg)(); 00071 int (*pdtvec_l_sendmsg)(); 00072 int (*pdtvec_l_sendmsgl)(); 00073 int (*pdtvec_l_trnmsgh)(); 00074 int (*pdtvec_l_trnmsgl)(); 00075 int (*pdtvec_l_readcount)(); 00076 int (*pdtvec_l_rlscount)(); 00077 int (*pdtvec_l_mreset)(); 00078 int (*pdtvec_l_mstart)(); 00079 int (*pdtvec_l_stop_vcs)(); 00080 int (*pdtvec_l_shut_all_vc)(); 00081 int (*pdtvec_l_crash_vc)(); 00082 int (*pdtvec_l_crash_port)(); 00083 int (*pdtvec_l_reinit_port)(); 00084 int (*pdtvec_l_flush_vc)(); 00085 int (*pdtvec_l_log_error_scs)(); 00086 int (*pdtvec_l_cleanup_pkt)(); 00087 int (*pdtvec_l_pb_from_msg)(); 00088 int (*pdtvec_l_chk_lost_ack)(); 00089 int (*pdtvec_l_remove_pb)(); 00090 int (*pdt_l_connect)(); 00091 int (*pdt_l_dconnect)(); 00092 int (*pdt_l_add_scs_hdr)(); 00093 int (*pdt_l_cancel_wait)(); 00094 int (*pdt_l_map)(); 00095 int (*pdt_l_unmap)(); 00096 int (*pdt_l_fast_sendmsg_request)(); 00097 int (*pdt_l_fast_sendmsg_ass_res_pm)(); 00098 int (*pdt_l_fast_sendmsg_pm)(); 00099 int (*pdt_l_alloc_rbun)(); 00100 int (*pdt_l_dealloc_rbun)(); 00101 int (*pdt_l_fast_recvmsg_chk_res)(); 00102 int (*pdt_l_test_crash_port)(); 00103 int (*pdt_l_test_ins_comqh)(); 00104 int (*pdt_l_test_1_port)(); 00105 int (*pdt_l_test_2_port)(); 00106 int (*pdtdef_$_fill_4 [7])(); 00107 struct _fkb *pdt_l_waitqfl; 00108 struct _fkb *pdt_l_waitqbl; 00109 void *pdt_l_pm_portlock; 00110 struct _rbun *pdt_l_rbun_list; 00111 unsigned int pdt_l_rbun_length; 00112 unsigned int pdt_l_rbun_pooltype; 00113 unsigned int pdt_l_non_fp_sendmsgs; 00114 union { 00115 unsigned int pdt_l_dghdrsz; 00116 unsigned int pdt_l_msghdrsz; 00117 } pdthdrsz; 00118 unsigned int pdt_l_dgovrhd; 00119 unsigned int pdt_l_maxbcnt; 00120 unsigned short int pdt_w_flags; 00121 short int pdtdef_$_fill_5; 00122 char pdt_t_cntowner [16]; 00123 struct _cdrp *pdt_l_cntcdrp; 00124 unsigned int pdt_l_pollsweep; 00125 struct _ucb *pdt_l_ucb0; 00126 struct _adp *pdt_l_adp; 00127 unsigned int pdt_l_max_vctmo; 00128 unsigned short int pdt_w_scsversion; 00129 unsigned short int pdt_w_ppdversion; 00130 int (*pdt_l_load_vector)(); 00131 unsigned short int pdt_w_load_class; 00132 short int pdtdef_$_fill_6; 00133 unsigned long long pdt_q_pb; 00134 unsigned long long pdt_q_conn_wait; 00135 unsigned long long pdt_q_yellow; 00136 unsigned long long pdt_q_red; 00137 unsigned long long pdt_q_disabled; 00138 unsigned int pdt_l_port_map; 00139 int pdt_l_avail_thruput; 00140 unsigned int pdt_l_load_rating; 00141 unsigned int pdt_l_time_stamp; 00142 unsigned int pdt_l_saturation_pt; 00143 unsigned int pdt_l_max_thruput_threshold; 00144 unsigned int pdt_l_min_thruput_threshold; 00145 unsigned int pdt_l_tolerance_threshold; 00146 unsigned int pdt_l_bytes_dg_xmt; 00147 unsigned int pdt_l_bytes_dg_rcv; 00148 unsigned int pdt_l_bytes_msg_xmt; 00149 unsigned int pdt_l_bytes_msg_rcv; 00150 unsigned int pdt_l_bytes_mapped; 00151 unsigned int pdt_l_dg_xmt; 00152 unsigned int pdt_l_dg_rcv; 00153 unsigned int pdt_l_msg_xmt; 00154 unsigned int pdt_l_msg_rcv; 00155 unsigned long long pdt_q_bytes_xfer; 00156 unsigned int pdt_l_num_map; 00157 unsigned int pdt_l_port_cmd; 00158 char pdtdef_$_fill_55 [4]; 00159 unsigned int pdt_l_bytes_dg_xmt_last; 00160 unsigned int pdt_l_bytes_dg_rcv_last; 00161 unsigned int pdt_l_bytes_msg_xmt_last; 00162 unsigned int pdt_l_bytes_msg_rcv_last; 00163 unsigned int pdt_l_bytes_mapped_last; 00164 unsigned int pdt_l_dg_xmt_last; 00165 unsigned int pdt_l_dg_rcv_last; 00166 unsigned int pdt_l_msg_xmt_last; 00167 unsigned int pdt_l_msg_rcv_last; 00168 unsigned long long pdt_q_bytes_xfer_last; 00169 unsigned int pdt_l_num_map_last; 00170 unsigned int pdt_l_port_cmd_last; 00171 int pdtdef_$_fill_66; 00172 unsigned int pdt_l_bytes_xfer_int; 00173 unsigned int pdt_l_equal_path_call_count; 00174 unsigned int pdt_l_unequal_path_call_count; 00175 unsigned int pdt_l_connection_move_count; 00176 unsigned int pdt_l_bytes_dg_xmt_peak; 00177 unsigned int pdt_l_bytes_dg_rcv_peak; 00178 unsigned int pdt_l_bytes_msg_xmt_peak; 00179 unsigned int pdt_l_bytes_msg_rcv_peak; 00180 unsigned int pdt_l_bytes_mapped_peak; 00181 unsigned int pdt_l_dg_xmt_peak; 00182 unsigned int pdt_l_dg_rcv_peak; 00183 unsigned int pdt_l_msg_xmt_peak; 00184 unsigned int pdt_l_msg_rcv_peak; 00185 unsigned long long pdt_q_bytes_xfer_peak; 00186 unsigned int pdt_l_port_cmd_peak; 00187 unsigned int pdt_l_bytes_dg_xmt_avg; 00188 unsigned int pdt_l_bytes_dg_rcv_avg; 00189 unsigned int pdt_l_bytes_msg_xmt_avg; 00190 unsigned int pdt_l_bytes_msg_rcv_avg; 00191 unsigned int pdt_l_bytes_mapped_avg; 00192 unsigned int pdt_l_dg_xmt_avg; 00193 unsigned int pdt_l_dg_rcv_avg; 00194 unsigned int pdt_l_msg_xmt_avg; 00195 unsigned int pdt_l_msg_rcv_avg; 00196 unsigned long long pdt_q_bytes_xfer_avg; 00197 unsigned int pdt_l_port_cmd_avg; 00198 unsigned char pdt_b_ls_flag; 00199 char pdt_t_fill_0 [3]; 00200 unsigned int pdt_l_stdno_ctr; 00201 unsigned int pdt_l_path0_ack; 00202 unsigned int pdt_l_path0_nak; 00203 unsigned int pdt_l_path0_nrsp; 00204 unsigned int pdt_l_path1_ack; 00205 unsigned int pdt_l_path1_nak; 00206 unsigned int pdt_l_path1_nrsp; 00207 unsigned int pdt_l_dg_disc; 00208 unsigned int pdt_l_extno_ctr; 00209 unsigned int pdt_l_spare1_cnt; 00210 unsigned int pdt_l_spare2_cnt; 00211 unsigned int pdt_l_spare3_cnt; 00212 unsigned int pdt_l_spare4_cnt; 00213 union { 00214 struct { 00215 unsigned int pdt_l_snddat_oper_snt; 00216 unsigned int pdt_l_snddat_data_snt; 00217 unsigned int pdt_l_snddat_bodies_snt; 00218 unsigned int pdt_l_reqdat_oper_snt; 00219 unsigned int pdt_l_retdat_data_rcv; 00220 unsigned int pdt_l_retdat_bodies_rcv; 00221 unsigned int pdt_l_sntdat_bodies_rec; 00222 unsigned int pdt_l_sntdat_data_rec; 00223 unsigned int pdt_l_cnf_snt; 00224 unsigned int pdt_l_datreq_bodies_rcv; 00225 unsigned int pdt_l_retdat_bodies_snt; 00226 unsigned int pdt_l_retdat_data_snt; 00227 } pdt1; 00228 struct { 00229 unsigned int pdt_l_np_sntdat_bodies_snt; 00230 unsigned int pdt_l_np_sntdat_data_snt; 00231 unsigned int pdt_l_np_cnf_bodies_rcv; 00232 unsigned int pdt_l_np_reqdat_oper_cmp; 00233 unsigned int pdt_l_np_retdat_bodies_rcv; 00234 unsigned int pdt_l_np_retdat_data_rcv; 00235 unsigned int pdt_l_np_sntdat_bodies_rcv; 00236 unsigned int pdt_l_np_sntdat_data_rcv; 00237 unsigned int pdt_l_np_cnf_bodies_snt; 00238 unsigned int pdt_l_np_reqdat_bodies_rcv; 00239 unsigned int pdt_l_np_retdat_bodies_snt; 00240 unsigned int pdt_l_np_retdat_data_snt; 00241 } pdt2; 00242 } pdtx; 00243 unsigned int pdt_l_dgsnt; 00244 unsigned int pdt_l_dg_txt_snt; 00245 unsigned int pdt_l_msg_snt; 00246 unsigned int pdt_l_msg_txt_snt; 00247 unsigned int pdt_l_misc_snt; 00248 unsigned int pdt_l_dg_rec; 00249 unsigned int pdt_l_dg_txtrec; 00250 unsigned int pdt_l_msg_rec; 00251 unsigned int pdt_l_msg_txt_rec; 00252 unsigned int pdt_l_misc_rec; 00253 unsigned int pdt_l_snddat_data_snt_last; 00254 unsigned int pdt_l_snddat_oper_snt_last; 00255 unsigned int pdt_l_retdat_data_rcv_last; 00256 unsigned int pdt_l_reqdat_oper_snt_last; 00257 unsigned int pdt_l_cnf_snt_last; 00258 unsigned int pdt_l_sntdat_data_rec_last; 00259 unsigned int pdt_l_datreq_bodies_rcv_last; 00260 unsigned int pdt_l_retdat_data_snt_last; 00261 unsigned int pdt_l_avg_xfer_size; 00262 unsigned int pdt_l_eb_table; 00263 int pdtdef_$_fill_77; 00264 void *pdt_q_formpb [2]; 00265 unsigned short int pdt_w_pbcount; 00266 short int pdtdef_$_fill_7; 00267 union { 00268 unsigned char pdt_b_port_num; 00269 unsigned char pdt_t_port_num [6]; 00270 } pdtport; 00271 union { 00272 unsigned char pdt_b_max_port; 00273 unsigned char pdt_t_max_port [6]; 00274 } pdtmaxport; 00275 unsigned int pdt_l_curcnt; 00276 unsigned int pdt_l_pooldue; 00277 void *pdt_l_bdlt; 00278 unsigned char pdt_b_scs_maint_block [16]; 00279 unsigned int pdt_l_tqeaddr; 00280 unsigned int pdt_l_timvcfail; 00281 union { 00282 unsigned long long pdt_q_mgt_handles; 00283 struct { 00284 unsigned int pdt_l_mgt_handle; 00285 unsigned int pdt_l_mgt_mgr_handle; 00286 }; 00287 }; 00288 int pdt_l_mgt_priority; 00289 char pdt_b_szalign1 [4]; 00290 unsigned long long pdt_q_comql; 00291 unsigned long long pdt_q_comqh; 00292 unsigned long long pdt_q_comq2; 00293 unsigned long long pdt_q_comq3; 00294 unsigned long long pdt_q_rspq; 00295 void *pdt_l_dfqhdr; 00296 void *pdt_l_mfqhdr; 00297 }; 00298 00299 #define PDT_M_CUR_LBS 0x1 00300 #define PDT_M_PRV_LBS 0x2 00301 #define PDT_M_X_LBS 0x4 00302 00303 struct _lbsts { 00304 union { 00305 struct { 00306 unsigned pdt_v_cur_lbs : 1; 00307 unsigned pdt_v_prv_lbs : 1; 00308 unsigned pdt_v_x_lbs : 1; 00309 unsigned pdt_v_fill_19_ : 5; 00310 }; 00311 unsigned char pdt_b_lbsts; 00312 }; 00313 }; 00314 00315 #endif 00316 00317