00001 #ifndef qscsbdef_h 00002 #define qscsbdef_h 00003 00004 #include <cdrpdef.h> 00005 #include <irpdef.h> 00006 #include <qscpbdef.h> 00007 #include <qscsbdef.h> 00008 #include <qscsedef.h> 00009 #include <qscubdef.h> 00010 00011 #define QSCSB_K_DISABLED 0 00012 #define QSCSB_K_WAIT 1 00013 #define QSCSB_K_CLOSED 2 00014 #define QSCSB_K_HANDSHAKE 3 00015 #define QSCSB_K_OPEN 4 00016 #define QSCSB_K_CONNECTION_ERROR 5 00017 #define QSCSB_K_DISCONNECT 6 00018 #define QSCSB_M_BOOTED 0x1 00019 00020 struct _qscsb { 00021 struct _qscsb *qscsb_ps_flink; 00022 struct _qscsb *qscsb_ps_blink; 00023 unsigned short int qscsb_w_size; 00024 unsigned char qscsb_b_type; 00025 unsigned char qscsb_b_subtype; 00026 unsigned int qscsb_l_state; 00027 unsigned int qscsb_l_flags; 00028 struct _sb *qscsb_ps_sb; 00029 struct _pdt *qscsb_ps_pdt; 00030 struct _cdt *qscsb_ps_cdt; 00031 struct _irp *qscsb_ps_permirp; 00032 char qscsb_b_fill_0_ [4]; 00033 void *qscsb_ps_allpaths_fl; 00034 void *qscsb_ps_allpaths_bl; 00035 struct _cdrp *qscsb_ps_active_fl; 00036 struct _cdrp *qscsb_ps_active_bl; 00037 struct _irp *qscsb_ps_cancel_fl; 00038 struct _irp *qscsb_ps_cancel_bl; 00039 struct _cdrp *qscsb_ps_restart_fl; 00040 struct _cdrp *qscsb_ps_restart_bl; 00041 QSCSE qscsb_r_synch; 00042 unsigned int qscsb_l_sendcredits; 00043 unsigned int qscsb_l_qscubcnt; 00044 unsigned int qscsb_l_maxmsg; 00045 char qscsb_b_fill_1_ [4]; 00046 unsigned long long qscsb_q_nodename; 00047 unsigned long long qscsb_q_systemid; 00048 unsigned long long qscsb_q_connects; 00049 unsigned long long qscsb_q_version; 00050 unsigned long long qscsb_q_conntime; 00051 unsigned long long qscsb_q_iocnt; 00052 unsigned long long qscsb_q_abcnt; 00053 unsigned long long qscsb_q_complexiocnt; 00054 unsigned long long qscsb_q_controliocnt; 00055 unsigned long long qscsb_q_simpleiocnt; 00056 unsigned long long qscsb_q_stallediocnt; 00057 unsigned long long qscsb_q_errmsgcnt; 00058 } ; 00059 00060 #define QSCSB_C_LENGTH 208 00061 #define QSCSB_K_LENGTH 208 00062 00063 #define QSCSB_S_QSCSB 208 00064 00065 #endif 00066 00067