/* *RMT-RingManagement *rmt.c
*/ struct s_rmt {
u_char dup_addr_test ; /* state of dupl. addr. test */
u_char da_flag ; /* flag : duplicate address det. */
u_char loop_avail ; /* flag : MAC available for loopback */
u_char sm_ma_avail ; /* flag : MAC available for SMT */
u_char no_flag ; /* flag : ring not operational */
u_char bn_flag ; /* flag : MAC reached beacon state */
u_char jm_flag ; /* flag : jamming in NON_OP_DUP */
u_char rm_join ; /* CFM flag RM_Join */
u_char rm_loop ; /* CFM flag RM_Loop */
long fast_rm_join ; /* bit mask of active ports */ /* *timerandflags
*/ struct smt_timer rmt_timer0 ; /* timer 0 */ struct smt_timer rmt_timer1 ; /* timer 1 */ struct smt_timer rmt_timer2 ; /* timer 2 */
u_char timer0_exp ; /* flag : timer 0 expired */
u_char timer1_exp ; /* flag : timer 1 expired */
u_char timer2_exp ; /* flag : timer 2 expired */
u_char rm_pad1;
} ;
/* *CFM-ConfigurationManagement *cfm.c *usedforSASandDAS
*/ struct s_cfm {
u_char cf_state; /* CFM state machine current state */
u_char cf_pad[3] ;
} ;
/* *CEM-ConfigurationElementManagement *cem.c *usedforConcentrator
*/ #ifdef CONCENTRATOR struct s_cem { int ce_state ; /* CEM state */ int ce_port ; /* PA PB PM PM+1 .. */ int ce_type ; /* TA TB TS TM */
} ;
struct mib_path_config {
u_long fddimibPATHConfigSMTIndex;
u_long fddimibPATHConfigPATHIndex;
u_long fddimibPATHConfigTokenOrder;
u_long fddimibPATHConfigResourceType; #define SNMP_RES_TYPE_MAC 2/* Resource is a MAC */ #define SNMP_RES_TYPE_PORT 4/* Resource is a PORT */
u_long fddimibPATHConfigResourceIndex;
u_long fddimibPATHConfigCurrentPath; #define SNMP_PATH_ISOLATED 1/* Current path is isolated */ #define SNMP_PATH_LOCAL 2/* Current path is local */ #define SNMP_PATH_SECONDARY 3/* Current path is secondary */ #define SNMP_PATH_PRIMARY 4/* Current path is primary */ #define SNMP_PATH_CONCATENATED 5/* Current path is concatenated */ #define SNMP_PATH_THRU 6/* Current path is thru */
};
/* Define the AIX-event-Notification as null function if it isn't defined */ /* in the targetos.h file */ #ifndef AIX_EVENT #define AIX_EVENT(smc,opt0,opt1,opt2,opt3) /* nothing */ #endif
struct s_srf_evc {
u_char evc_code ; /* event code type */
u_char evc_index ; /* index for mult. instances */
u_char evc_rep_required ; /* report required */
u_short evc_para ; /* SMT Para Number */
u_char *evc_cond_state ; /* condition state */
u_char *evc_multiple ; /* multiple occurrence */
} ;
/* *Valuesusedbyframebasedservices *smt.c
*/ #define SMT_MAX_TEST 5 #define SMT_TID_NIF 0/* pending NIF request */ #define SMT_TID_NIF_TEST 1/* pending NIF test */ #define SMT_TID_ECF_UNA 2/* pending ECF UNA test */ #define SMT_TID_ECF_DNA 3/* pending ECF DNA test */ #define SMT_TID_ECF 4/* pending ECF test */
#ifdef DEBUG /* *Debuggingstructsometimesusedinsmc
*/ struct smt_debug { int d_smtf ; int d_smt ; int d_ecm ; int d_rmt ; int d_cfm ; int d_pcm ; int d_plc ; #ifdef ESS int d_ess ; #endif #ifdef SBA int d_sba ; #endif struct os_debug d_os; /* Include specific OS DEBUG struct */
} ;
#ifndef DEBUG_BRD /* all boards shall be debugged with one debug struct */ externstruct smt_debug debug; /* Declaration of debug struct */ #endif/* DEBUG_BRD */
#endif/* DEBUG */
/* *theSMTContextStructSMC *thisstructcontainsALLglobalvariablesofSMT
*/ struct s_smc { struct s_smt_os os ; /* os specific */ struct s_smt_hw hw ; /* hardware */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.