00001 #ifndef cdtdef_h 00002 #define cdtdef_h 00003 00004 #define CDT_C_CLOSED 0 00005 #define CDT_C_LISTEN 1 00006 #define CDT_C_OPEN 2 00007 #define CDT_C_DISC_ACK 3 00008 #define CDT_C_DISC_REC 4 00009 #define CDT_C_DISC_SENT 5 00010 #define CDT_C_DISC_MTCH 6 00011 #define CDT_C_CON_SENT 7 00012 #define CDT_C_CON_ACK 8 00013 #define CDT_C_CON_REC 9 00014 #define CDT_C_ACCP_SENT 10 00015 #define CDT_C_REJ_SENT 11 00016 #define CDT_C_DISC_MTCH_RSPQ 12 00017 #define CDT_C_DISC_RSPQ 13 00018 #define CDT_C_VC_FAIL 14 00019 00020 #define CDT_C_CON_PEND 1 00021 #define CDT_C_ACCP_PEND 2 00022 #define CDT_C_REJ_PEND 3 00023 #define CDT_C_DISC_PEND 4 00024 #define CDT_C_CR_PEND 5 00025 #define CDT_C_DCR_PEND 6 00026 00027 #define CDT_C_RATING0 0 00028 #define CDT_C_RATING1 1 00029 #define CDT_C_RATING2 2 00030 #define CDT_C_RATING3 3 00031 00032 #define CDT_C_YELLOW 4 00033 #define CDT_C_RATING5 5 00034 #define CDT_C_RED 6 00035 #define CDT_C_UNEQUAL_PATH 7 00036 #define CDT_C_LOAD_SHARE_DISABLE 8 00037 00038 #define CDT_C_BAD_RATING -2147483648 00039 #define CDT_K_BAD_RATING -2147483648 00040 #define CDT_C_LOADSHARE 0 00041 #define CDT_C_PRE_LOADSHARE 1 00042 00043 #define CDT_K_LENGTH 400 00044 #define CDT_C_LENGTH 400 00045 #define CDT_S_CDTDEF 400 00046 00047 struct _cdt { 00048 union { 00049 void *cdt_l_msginput; 00050 struct _cdt *cdt_l_link; 00051 }; 00052 int (*cdt_l_dginput)(); 00053 unsigned short int cdt_w_size; 00054 unsigned char cdt_b_type; 00055 unsigned char cdt_b_subtyp; 00056 int (*cdt_l_erraddr)(); 00057 int (*cdt_l_fast_recvmsg_request)(); 00058 int (*cdt_l_fast_recvmsg_pm)(); 00059 int (*cdt_l_change_affinity)(); 00060 struct _pdt *cdt_l_pdt; 00061 unsigned int cdt_l_rconid; 00062 unsigned int cdt_l_lconid; 00063 struct _pb *cdt_l_pb; 00064 unsigned char cdt_b_rstation [6]; 00065 unsigned short int cdt_w_reason; 00066 unsigned short int cdt_w_state; 00067 unsigned short int cdt_w_blkstate; 00068 void *cdt_l_scsmsg; 00069 void *cdt_l_waitqfl; 00070 void *cdt_l_waitqbl; 00071 void *cdt_l_crwaitqfl; 00072 void *cdt_l_crwaitqbl; 00073 unsigned short int cdt_w_send; 00074 unsigned short int cdt_w_rec; 00075 unsigned short int cdt_w_minrec; 00076 unsigned short int cdt_w_pendrec; 00077 unsigned short int cdt_w_initlrec; 00078 unsigned short int cdt_w_minsend; 00079 unsigned short int cdt_w_dgrec; 00080 unsigned char cdt_b_priority; 00081 char cdtdef_$_fill_1; 00082 void *cdt_l_rprocnam; 00083 void *cdt_l_lprocnam; 00084 void *cdt_l_condat; 00085 void *cdt_l_auxstruc; 00086 int (*cdt_l_badrsp)(); 00087 unsigned int cdt_l_fpc; 00088 unsigned int cdt_l_fr5; 00089 void *cdt_l_cdtlst; 00090 unsigned int cdt_l_dgsent; 00091 unsigned int cdt_l_dgrcvd; 00092 unsigned int cdt_l_dgdiscard; 00093 unsigned int cdt_l_msgsent; 00094 unsigned int cdt_l_msgrcvd; 00095 unsigned int cdt_l_non_fp_sendmsgs; 00096 unsigned int cdt_l_non_fp_rcvdmsgs; 00097 unsigned int cdt_l_snddats; 00098 unsigned int cdt_l_bytsent; 00099 unsigned int cdt_l_reqdats; 00100 unsigned int cdt_l_bytreqd; 00101 unsigned int cdt_l_bytmapd; 00102 unsigned short int cdt_w_qcr_cnt; 00103 unsigned short int cdt_w_qbdlt_cnt; 00104 void *cdt_l_move_path_addr; 00105 void *cdt_l_share_flink; 00106 void *cdt_l_share_blink; 00107 struct _sb *cdt_l_sb; 00108 unsigned int cdt_l_con_req_ctr; 00109 unsigned int cdt_l_load_rating; 00110 unsigned int cdt_l_time_stamp; 00111 unsigned int cdt_l_queue_time_stamp; 00112 unsigned int cdt_l_discon_counter; 00113 void *cdt_l_optimal_path; 00114 unsigned int cdt_l_bytes_xfer; 00115 unsigned int cdt_l_bytes_dg_xmt; 00116 unsigned int cdt_l_bytes_dg_rcv; 00117 unsigned int cdt_l_bytes_msg_xmt; 00118 unsigned int cdt_l_bytes_msg_rcv; 00119 unsigned int cdt_l_bytes_xfer_last; 00120 unsigned int cdt_l_bytes_dg_xmt_last; 00121 unsigned int cdt_l_bytes_dg_rcv_last; 00122 unsigned int cdt_l_bytes_msg_xmt_last; 00123 unsigned int cdt_l_bytes_msg_rcv_last; 00124 unsigned int cdt_l_bytmapd_last; 00125 unsigned int cdt_l_dgsent_last; 00126 unsigned int cdt_l_dgrcvd_last; 00127 unsigned int cdt_l_msgsent_last; 00128 unsigned int cdt_l_msgrcvd_last; 00129 unsigned int cdt_l_bytes_xfer_peak; 00130 unsigned int cdt_l_bytes_dg_xmt_peak; 00131 unsigned int cdt_l_bytes_dg_rcv_peak; 00132 unsigned int cdt_l_bytes_msg_xmt_peak; 00133 unsigned int cdt_l_bytes_msg_rcv_peak; 00134 unsigned int cdt_l_bytmapd_peak; 00135 unsigned int cdt_l_dgsent_peak; 00136 unsigned int cdt_l_dgrcvd_peak; 00137 unsigned int cdt_l_msgsent_peak; 00138 unsigned int cdt_l_msgrcvd_peak; 00139 unsigned int cdt_l_bytes_xfer_avg; 00140 unsigned int cdt_l_bytes_dg_xmt_avg; 00141 unsigned int cdt_l_bytes_dg_rcv_avg; 00142 unsigned int cdt_l_bytes_msg_xmt_avg; 00143 unsigned int cdt_l_bytes_msg_rcv_avg; 00144 unsigned int cdt_l_bytmapd_avg; 00145 unsigned int cdt_l_dgsent_avg; 00146 unsigned int cdt_l_dgrcvd_avg; 00147 unsigned int cdt_l_msgsent_avg; 00148 unsigned int cdt_l_msgrcvd_avg; 00149 unsigned int cdt_l_bytes_xfer_int; 00150 unsigned short int cdt_w_local_index; 00151 unsigned char cdt_b_ls_flag; 00152 unsigned char cdt_b_sysap_version; 00153 char cdt_b_quad_fill1 [4]; 00154 unsigned char cdt_b_scs_maint_block [16]; 00155 unsigned int cdt_l_fp_scs_nosend; 00156 unsigned int cdt_l_fp_scs_norecv; 00157 unsigned int cdt_l_reserved3; 00158 unsigned int cdt_l_reserved4; 00159 }; 00160 00161 #endif 00162 00163