Lines Matching refs:mib
43 #define GO_STATE(x) (smc->mib.fddiSMTCF_State = (x)|AFLAG)
44 #define ACTIONS_DONE() (smc->mib.fddiSMTCF_State &= ~AFLAG)
97 smc->mib.fddiSMTCF_State = ACTIONS(SC0_ISOLATED) ; in cfm_init()
113 switch (phy->mib->fddiPORTMy_Type) { in selection_criteria()
222 smc->mib.fddiSMTCF_State & AFLAG ? "ACTIONS " : "", in cfm()
223 cfm_states[smc->mib.fddiSMTCF_State & ~AFLAG], in cfm()
225 state = smc->mib.fddiSMTCF_State ; in cfm()
228 } while (state != smc->mib.fddiSMTCF_State) ; in cfm()
235 if ( (smc->mib.fddiSMTCF_State == SC9_C_WRAP_A && in cfm()
237 (smc->mib.fddiSMTCF_State == SC10_C_WRAP_B && in cfm()
239 (smc->mib.fddiSMTCF_State == SC11_C_WRAP_S && in cfm()
241 smc->y[PS].mib->fddiPORTNeighborType != TS ) ) { in cfm()
244 if (cond != smc->mib.fddiSMTPeerWrapFlag) in cfm()
257 smc->mib.m[MAC0].fddiMACDownstreamPORTType = in cfm()
258 cf_to_ptype[smc->mib.fddiSMTCF_State] ; in cfm()
259 cfm_state_change(smc,(int)smc->mib.fddiSMTCF_State) ; in cfm()
268 switch(smc->mib.fddiSMTCF_State) { in cfm_fsm()
270 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm()
271 smc->mib.p[PB].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm()
272 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm()
273 smc->mib.p[PB].fddiPORTMACPlacement = 0 ; in cfm_fsm()
274 smc->mib.fddiSMTStationStatus = MIB_SMT_STASTA_SEPA ; in cfm_fsm()
281 DB_CFMN(1, "CFM : %s", cfm_states[smc->mib.fddiSMTCF_State]); in cfm_fsm()
305 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_CONCATENATED ; in cfm_fsm()
306 smc->mib.p[PB].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm()
307 smc->mib.p[PA].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
308 smc->mib.p[PB].fddiPORTMACPlacement = 0 ; in cfm_fsm()
309 smc->mib.fddiSMTStationStatus = MIB_SMT_STASTA_CON ; in cfm_fsm()
322 DB_CFMN(1, "CFM : %s", cfm_states[smc->mib.fddiSMTCF_State]); in cfm_fsm()
370 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_ISOLATED ; in cfm_fsm()
371 smc->mib.p[PB].fddiPORTCurrentPath = MIB_PATH_CONCATENATED ; in cfm_fsm()
372 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm()
373 smc->mib.p[PB].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
374 smc->mib.fddiSMTStationStatus = MIB_SMT_STASTA_CON ; in cfm_fsm()
387 DB_CFMN(1, "CFM : %s", cfm_states[smc->mib.fddiSMTCF_State]); in cfm_fsm()
422 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_THRU ; in cfm_fsm()
423 smc->mib.p[PB].fddiPORTCurrentPath = MIB_PATH_THRU ; in cfm_fsm()
424 smc->mib.p[PA].fddiPORTMACPlacement = 0 ; in cfm_fsm()
425 smc->mib.p[PB].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
426 smc->mib.fddiSMTStationStatus = MIB_SMT_STASTA_THRU ; in cfm_fsm()
432 DB_CFMN(1, "CFM : %s", cfm_states[smc->mib.fddiSMTCF_State]); in cfm_fsm()
455 smc->mib.p[PA].fddiPORTCurrentPath = MIB_PATH_THRU ; in cfm_fsm()
456 smc->mib.p[PB].fddiPORTCurrentPath = MIB_PATH_THRU ; in cfm_fsm()
457 smc->mib.p[PA].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
458 smc->mib.p[PB].fddiPORTMACPlacement = 0 ; in cfm_fsm()
459 smc->mib.fddiSMTStationStatus = MIB_SMT_STASTA_THRU ; in cfm_fsm()
465 DB_CFMN(1, "CFM : %s", cfm_states[smc->mib.fddiSMTCF_State]); in cfm_fsm()
488 smc->mib.p[PS].fddiPORTCurrentPath = MIB_PATH_CONCATENATED ; in cfm_fsm()
489 smc->mib.p[PS].fddiPORTMACPlacement = INDEX_MAC ; in cfm_fsm()
490 smc->mib.fddiSMTStationStatus = MIB_SMT_STASTA_CON ; in cfm_fsm()
503 DB_CFMN(1, "CFM : %s", cfm_states[smc->mib.fddiSMTCF_State]); in cfm_fsm()
526 return (smc->mib.fddiSMTCF_State == SC10_C_WRAP_B || in cfm_get_mac_input()
527 smc->mib.fddiSMTCF_State == SC5_THRU_B) ? PB : PA; in cfm_get_mac_input()
537 return (smc->mib.fddiSMTCF_State == SC10_C_WRAP_B || in cfm_get_mac_output()
538 smc->mib.fddiSMTCF_State == SC4_THRU_A) ? PB : PA; in cfm_get_mac_output()
580 switch (smc->mib.fddiSMTCF_State) { in cem_build_path()