00001 #ifndef scsnetdef_h 00002 #define scsnetdef_h 00003 00004 #define SCSNET_C_START_LEN 62 00005 #define SCSNET_C_STACK_LEN 62 00006 #define SCSNET_C_ACK_LEN 2 00007 #define SCSNET_C_HSHUT_LEN 2 00008 #define SCSNET_C_CACHE_LEN 2 00009 #define SCSNET_C_START 0 00010 #define SCSNET_C_STACK 1 00011 #define SCSNET_C_ACK 2 00012 #define SCSNET_C_SCS_DG 3 00013 #define SCSNET_C_SCS_MSG 4 00014 #define SCSNET_C_ELOG 5 00015 #define SCSNET_C_HOSTSHUT 6 00016 #define SCSNET_C_CACHECLR 32768 00017 00018 #define SCSNET_C_PRT_BASE 0 00019 #define SCSNET_C_PRT_ELOG 1 00020 00021 #define SCSNET_C_MIN_DGSIZ 48 00022 00023 #define SCSNET_S_SCSNETDEF 80 00024 00025 struct _scsnet { 00026 char scsnet_t_swtype [4]; 00027 char scsnet_t_swvers [4]; 00028 unsigned long long scsnet_q_swincarn; 00029 char scsnet_t_hwtype [4]; 00030 unsigned char scsnet_b_hwvers [12]; 00031 unsigned long long scsnet_q_nodename; 00032 unsigned long long scsnet_q_curtime; 00033 }; 00034 00035 #endif 00036 00037