00001 #ifndef hqbdef_h 00002 #define hqbdef_h 00003 00004 #define HQB_M_VC_FAILED 0x1 00005 #define HQB_M_DISCON_INIT 0x2 00006 #define HQB_M_PATHMOVE 0x4 00007 #define HQB_M_UNIT_ONLINE 0x1 00008 #define HQB_M_V5CL 0x2 00009 #define HQB_M_HUNN 0x4 00010 #define HQB_K_LENGTH 72 00011 #define HQB_S_HQBDEF 72 00012 00013 struct _hqb { 00014 struct _hqb *hqb_l_flink; 00015 struct _hqb *hqb_l_blink; 00016 unsigned short int hqb_w_size; 00017 unsigned char hqb_b_type; 00018 unsigned char hqb_b_subtype; 00019 unsigned char hqb_b_hostno; 00020 union { 00021 unsigned char hqb_b_state; 00022 struct { 00023 unsigned hqb_v_vc_failed : 1; 00024 unsigned hqb_v_discon_init : 1; 00025 unsigned hqb_v_pathmove : 1; 00026 unsigned hqb_v_fill_4_ : 5; 00027 }; 00028 }; 00029 unsigned short int hqb_w_cnt_flgs; 00030 unsigned short int hqb_w_htimo; 00031 union { 00032 unsigned short int hqb_w_flags; 00033 struct { 00034 unsigned hqb_v_unit_online : 1; 00035 unsigned hqb_v_v5cl : 1; 00036 unsigned hqb_v_hunn : 1; 00037 unsigned hqb_v_fill_5_ : 5; 00038 }; 00039 }; 00040 unsigned long long hqb_q_time; 00041 unsigned short int hqb_w_num_que; 00042 unsigned short int hqb_w_max_que; 00043 struct _hrb *hqb_l_hrb_fl; 00044 struct _hrb *hqb_l_hrb_bl; 00045 struct _cdt *hqb_l_cdt; 00046 struct _dsrv *hqb_l_dsrv; 00047 unsigned char hqb_b_systemid [6]; 00048 unsigned short int hqb_w_max_hulb; 00049 void *hqb_l_hulb_vector; 00050 struct _tsrv *hqb_l_tsrv; 00051 unsigned int hqb_l_ack_time; 00052 unsigned int hqb_l_arr_time; 00053 }; 00054 00055 #endif 00056 00057