Lines Matching refs:Net
365 pAC->Rlmt.Port[i].Net = &pAC->Rlmt.Net[0]; in SkRlmtInit()
371 pAC->Rlmt.Net[i].RlmtState = SK_RLMT_RS_INIT; in SkRlmtInit()
372 pAC->Rlmt.Net[i].RootIdSet = SK_FALSE; in SkRlmtInit()
373 pAC->Rlmt.Net[i].PrefPort = SK_RLMT_DEF_PREF_PORT; in SkRlmtInit()
374 pAC->Rlmt.Net[i].Preference = 0xFFFFFFFF; /* Automatic. */ in SkRlmtInit()
376 pAC->Rlmt.Net[i].ActivePort = pAC->Rlmt.Net[i].PrefPort; in SkRlmtInit()
377 pAC->Rlmt.Net[i].RlmtMode = SK_RLMT_DEF_MODE; in SkRlmtInit()
378 pAC->Rlmt.Net[i].TimeoutValue = SK_RLMT_DEF_TO_VAL; in SkRlmtInit()
379 pAC->Rlmt.Net[i].NetNumber = i; in SkRlmtInit()
382 pAC->Rlmt.Net[0].Port[0] = &pAC->Rlmt.Port[0]; in SkRlmtInit()
383 pAC->Rlmt.Net[0].Port[1] = &pAC->Rlmt.Port[1]; in SkRlmtInit()
385 pAC->Rlmt.Net[1].Port[0] = &pAC->Rlmt.Port[1]; in SkRlmtInit()
393 pAC->Rlmt.Net[0].NumPorts = pAC->GIni.GIMacsFound; in SkRlmtInit()
425 if (pAC->Rlmt.Net[0].RlmtMode & SK_RLMT_CHECK_SEG) { in SkRlmtInit()
505 if (!(pAC->Rlmt.Net[NetIdx].RlmtMode & SK_RLMT_CHECK_LOC_LINK)) { in SkRlmtBuildCheckChain()
506 for (i = 0; i < pAC->Rlmt.Net[i].NumPorts; i++) { in SkRlmtBuildCheckChain()
507 pAC->Rlmt.Net[NetIdx].Port[i]->PortsChecked = 0; in SkRlmtBuildCheckChain()
517 for (i = 0; i < pAC->Rlmt.Net[NetIdx].NumPorts; i++) { in SkRlmtBuildCheckChain()
518 pAC->Rlmt.Net[NetIdx].Port[i]->PortsChecked = 0; in SkRlmtBuildCheckChain()
519 pAC->Rlmt.Net[NetIdx].Port[i]->PortsSuspect = 0; in SkRlmtBuildCheckChain()
520 pAC->Rlmt.Net[NetIdx].Port[i]->CheckingState &= in SkRlmtBuildCheckChain()
529 if (!pAC->Rlmt.Net[NetIdx].Port[i]->LinkDown) { in SkRlmtBuildCheckChain()
531 FirstMacUp = pAC->Rlmt.Net[NetIdx].Port[i]; in SkRlmtBuildCheckChain()
535 pAC->Rlmt.Net[NetIdx].Port[i]->PortsChecked].CheckAddr = in SkRlmtBuildCheckChain()
536 pAC->Rlmt.Net[NetIdx].Port[i]->AddrPort->CurrentMacAddress; in SkRlmtBuildCheckChain()
541 PrevMacUp = pAC->Rlmt.Net[NetIdx].Port[i]; in SkRlmtBuildCheckChain()
555 for (i = 0; i < pAC->Rlmt.Net[NetIdx].NumPorts; i++) { in SkRlmtBuildCheckChain()
558 pAC->Rlmt.Net[NetIdx].Port[i]->PortsChecked, in SkRlmtBuildCheckChain()
559 pAC->Rlmt.Net[NetIdx].Port[i]->PortCheck[0].CheckAddr.a[5])) in SkRlmtBuildCheckChain()
709 pAC->Addr.Net[pAC->Rlmt.Port[PortNumber].Net->NetNumber]. in SkRlmtBuildSpanningTreePacket()
760 if (pAC->Rlmt.Port[PortNumber].Net->RlmtMode & SK_RLMT_CHECK_LOC_LINK) { in SkRlmtSend()
784 if ((pAC->Rlmt.Port[PortNumber].Net->RlmtMode & SK_RLMT_CHECK_SEG) && in SkRlmtSend()
785 (pAC->Rlmt.Port[PortNumber].Net->CheckingState & SK_RLMT_RCS_SEND_SEG)) { in SkRlmtSend()
792 pAC->Rlmt.Port[PortNumber].Net->CheckingState &= ~SK_RLMT_RCS_SEND_SEG; in SkRlmtSend()
846 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtPortReceives()
854 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtPortReceives()
1092 SkRlmtBuildCheckChain(pAC, pRPort->Net->NetNumber); in SkRlmtPacketReceive()
1113 if (!SK_ADDR_EQUAL(&pSPacket->RootId[2], &pAC->Addr.Net[pAC->Rlmt. in SkRlmtPacketReceive()
1114 Port[PortNumber].Net->NetNumber].CurrentMacAddress.a[0])) { in SkRlmtPacketReceive()
1120 (pAC->Rlmt.Port[PortNumber].Net->LinksUp > 1) && in SkRlmtPacketReceive()
1121 (pAC->Rlmt.Port[PortNumber].Net->RlmtMode & SK_RLMT_CHECK_SEG) in SkRlmtPacketReceive()
1122 != 0 && (pAC->Rlmt.Port[PortNumber].Net->CheckingState & in SkRlmtPacketReceive()
1124 pAC->Rlmt.Port[PortNumber].Net->CheckingState |= in SkRlmtPacketReceive()
1144 if ((pAC->Rlmt.Port[PortNumber].Net->CheckingState & in SkRlmtPacketReceive()
1146 SkRlmtCheckSeg(pAC, IoC, pAC->Rlmt.Port[PortNumber].Net->NetNumber); in SkRlmtPacketReceive()
1241 if (pRPort->PortNoRx && (pAC->Rlmt.Port[PortNumber].Net->LinksUp > 1) && in SkRlmtCheckPort()
1242 (pAC->Rlmt.Port[PortNumber].Net->RlmtMode & SK_RLMT_CHECK_SEG) && in SkRlmtCheckPort()
1243 !(pAC->Rlmt.Port[PortNumber].Net->CheckingState & SK_RLMT_RCS_SEG)) { in SkRlmtCheckPort()
1244 pAC->Rlmt.Port[PortNumber].Net->CheckingState |= in SkRlmtCheckPort()
1253 NewTimeout = TO_SHORTEN(pAC->Rlmt.Port[PortNumber].Net->TimeoutValue); in SkRlmtCheckPort()
1300 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtCheckPort()
1624 Active = pAC->Rlmt.Net[NetIdx].ActivePort; /* Index of active port. */ in SkRlmtCheckSwitch()
1625 PrefPort = pAC->Rlmt.Net[NetIdx].PrefPort; /* Index of preferred port. */ in SkRlmtCheckSwitch()
1630 if (pAC->Rlmt.Net[NetIdx].Preference == 0xFFFFFFFF) { /* Automatic */ in SkRlmtCheckSwitch()
1636 if (pAC->Rlmt.Net[NetIdx].LinksUp == 0) { in SkRlmtCheckSwitch()
1638 pAC->Rlmt.Net[NetIdx].RlmtState = SK_RLMT_RS_NET_DOWN; in SkRlmtCheckSwitch()
1643 Para.Para32[0] = pAC->Rlmt.Net[NetIdx]. in SkRlmtCheckSwitch()
1644 Port[pAC->Rlmt.Net[NetIdx].ActivePort]->PortNumber; in SkRlmtCheckSwitch()
1649 else if (pAC->Rlmt.Net[NetIdx].LinksUp == 1 && in SkRlmtCheckSwitch()
1650 pAC->Rlmt.Net[NetIdx].RlmtState == SK_RLMT_RS_NET_DOWN) { in SkRlmtCheckSwitch()
1652 pAC->Rlmt.Net[NetIdx].RlmtState = SK_RLMT_RS_NET_UP; in SkRlmtCheckSwitch()
1658 for (i = 0; i < pAC->Rlmt.Net[NetIdx].NumPorts; i++) { in SkRlmtCheckSwitch()
1659 if (!pAC->Rlmt.Net[NetIdx].Port[i]->LinkDown) { in SkRlmtCheckSwitch()
1660 if (!pAC->Rlmt.Net[NetIdx].Port[Active]->LinkDown) { in SkRlmtCheckSwitch()
1663 if (!pAC->Rlmt.Net[NetIdx].Port[PrefPort]->LinkDown) { in SkRlmtCheckSwitch()
1672 Para.Para32[0] = pAC->Rlmt.Net[NetIdx].Port[i]->PortNumber; in SkRlmtCheckSwitch()
1676 pAC->Rlmt.Net[NetIdx].ActivePort = i; in SkRlmtCheckSwitch()
1677 Para.Para32[0] = pAC->Rlmt.Net[NetIdx].Port[i]->PortNumber; in SkRlmtCheckSwitch()
1681 if ((pAC->Rlmt.Net[NetIdx].RlmtMode & SK_RLMT_TRANSPARENT) == 0 && in SkRlmtCheckSwitch()
1683 pAC->Rlmt.Net[NetIdx].Port[i]->PortNumber, in SkRlmtCheckSwitch()
1684 SK_PACKET_ANNOUNCE, &pAC->Addr.Net[NetIdx]. in SkRlmtCheckSwitch()
1725 if ((pAC->Rlmt.Net[0].RlmtMode != SK_RLMT_MODE_CLS) && in SkRlmtCheckSwitch()
1726 (!pAC->Rlmt.Net[0].ChgBcPrio)) { in SkRlmtCheckSwitch()
1740 if ((pAC->Rlmt.Net[0].RlmtMode != SK_RLMT_MODE_CLS) && in SkRlmtCheckSwitch()
1741 (pAC->Rlmt.Net[0].ChgBcPrio)) { in SkRlmtCheckSwitch()
1773 if (pAC->Rlmt.Net[0].RlmtMode != SK_RLMT_MODE_CLS) { in SkRlmtCheckSwitch()
1790 pAC->Rlmt.Net[NetIdx].ActivePort = Para.Para32[1]; in SkRlmtCheckSwitch()
1791 Para.Para32[0] = pAC->Rlmt.Net[NetIdx]. in SkRlmtCheckSwitch()
1793 Para.Para32[1] = pAC->Rlmt.Net[NetIdx]. in SkRlmtCheckSwitch()
1805 pAC->Rlmt.Net[NetIdx].Port[Para.Para32[0]]->PortNumber; in SkRlmtCheckSwitch()
1807 Para.Para32[0] = pAC->Rlmt.Net[NetIdx]. in SkRlmtCheckSwitch()
1808 Port[pAC->Rlmt.Net[NetIdx].ActivePort]->PortNumber; in SkRlmtCheckSwitch()
1810 if ((pAC->Rlmt.Net[NetIdx].RlmtMode & SK_RLMT_TRANSPARENT) == 0 && in SkRlmtCheckSwitch()
1812 SK_PACKET_ANNOUNCE, &pAC->Addr.Net[NetIdx].CurrentMacAddress, in SkRlmtCheckSwitch()
1855 pNet = &pAC->Rlmt.Net[NetIdx]; in SkRlmtCheckSeg()
1982 for (i = 0; i < pAC->Rlmt.Port[Para.Para32[0]].Net->NumPorts; i++) { in SkRlmtEvtPortStartTim()
1983 if (!pAC->Rlmt.Port[Para.Para32[0]].Net->Port[i]->PortStarted) { in SkRlmtEvtPortStartTim()
1985 pAC->Rlmt.Port[Para.Para32[0]].Net->Port[i]->PortNumber); in SkRlmtEvtPortStartTim()
2047 pRPort->Net->LinksUp++; in SkRlmtEvtLinkUp()
2048 if (pRPort->Net->LinksUp == 1) { in SkRlmtEvtLinkUp()
2055 for (i = 0; i < pRPort->Net->NumPorts; i++) { in SkRlmtEvtLinkUp()
2056 if (!pRPort->Net->Port[i]->PortStarted) { in SkRlmtEvtLinkUp()
2057 SkRlmtPortStart(pAC, IoC, pRPort->Net->Port[i]->PortNumber); in SkRlmtEvtLinkUp()
2061 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtEvtLinkUp()
2063 if (pRPort->Net->LinksUp >= 2) { in SkRlmtEvtLinkUp()
2064 if (pRPort->Net->RlmtMode & SK_RLMT_CHECK_LOC_LINK) { in SkRlmtEvtLinkUp()
2066 SkRlmtBuildCheckChain(pAC, pRPort->Net->NetNumber); in SkRlmtEvtLinkUp()
2071 if (pRPort->Net->NumPorts > 1 && pRPort->Net->LinksUp == 1 && in SkRlmtEvtLinkUp()
2072 (pRPort->Net->RlmtMode & SK_RLMT_CHECK_OTHERS) != 0) { in SkRlmtEvtLinkUp()
2073 Para2.Para32[0] = pRPort->Net->NetNumber; in SkRlmtEvtLinkUp()
2075 SkTimerStart(pAC, IoC, &pRPort->Net->LocTimer, in SkRlmtEvtLinkUp()
2076 pRPort->Net->TimeoutValue, SKGE_RLMT, SK_RLMT_TIM, Para2); in SkRlmtEvtLinkUp()
2085 if ((pRPort->Net->RlmtMode & SK_RLMT_TRANSPARENT) == 0 && in SkRlmtEvtLinkUp()
2086 (pRPort->Net->RlmtMode & SK_RLMT_CHECK_LINK) != 0 && in SkRlmtEvtLinkUp()
2095 if (pRPort->Net->RlmtMode & SK_RLMT_CHECK_SEG) { in SkRlmtEvtLinkUp()
2099 pRPort->Net->CheckingState |= in SkRlmtEvtLinkUp()
2105 SkTimerStart(pAC, IoC, &pRPort->Net->SegTimer, in SkRlmtEvtLinkUp()
2156 pRPort->Net->PortsUp++; in SkRlmtEvtPortUpTim()
2157 if (pRPort->Net->RlmtState != SK_RLMT_RS_INIT) { in SkRlmtEvtPortUpTim()
2159 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtEvtPortUpTim()
2221 pRPort->Net->PortsUp--; in SkRlmtEvtPortDownX()
2235 if (pRPort->Net->RlmtState != SK_RLMT_RS_INIT) { in SkRlmtEvtPortDownX()
2237 pRPort->Net->Port[pRPort->Net->ActivePort]->PortNumber) { in SkRlmtEvtPortDownX()
2239 SkRlmtCheckSwitch(pAC, IoC, pRPort->Net->NetNumber); in SkRlmtEvtPortDownX()
2274 pRPort->Net->LinksUp--; in SkRlmtEvtLinkDown()
2279 if ((pRPort->Net->RlmtMode & SK_RLMT_CHECK_LOC_LINK) != 0) { in SkRlmtEvtLinkDown()
2281 SkRlmtBuildCheckChain(pAC, pRPort->Net->NetNumber); in SkRlmtEvtLinkDown()
2395 if (pAC->Rlmt.Net[Para.Para32[0]].RlmtState != SK_RLMT_RS_INIT) { in SkRlmtEvtStart()
2409 if (pAC->Rlmt.Net[Para.Para32[0]].PrefPort >= in SkRlmtEvtStart()
2410 pAC->Rlmt.Net[Para.Para32[0]].NumPorts) { in SkRlmtEvtStart()
2419 PortIdx = pAC->Rlmt.Net[Para.Para32[0]].PrefPort; in SkRlmtEvtStart()
2420 PortNumber = pAC->Rlmt.Net[Para.Para32[0]].Port[PortIdx]->PortNumber; in SkRlmtEvtStart()
2422 pAC->Rlmt.Net[Para.Para32[0]].LinksUp = 0; in SkRlmtEvtStart()
2423 pAC->Rlmt.Net[Para.Para32[0]].PortsUp = 0; in SkRlmtEvtStart()
2424 pAC->Rlmt.Net[Para.Para32[0]].CheckingState = 0; in SkRlmtEvtStart()
2425 pAC->Rlmt.Net[Para.Para32[0]].RlmtState = SK_RLMT_RS_NET_DOWN; in SkRlmtEvtStart()
2485 if (pAC->Rlmt.Net[Para.Para32[0]].RlmtState == SK_RLMT_RS_INIT) { in SkRlmtEvtStop()
2500 SkTimerStop(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].LocTimer); in SkRlmtEvtStop()
2501 SkTimerStop(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].SegTimer); in SkRlmtEvtStop()
2504 pAC->Rlmt.Net[Para.Para32[0]].RlmtState = SK_RLMT_RS_INIT; in SkRlmtEvtStop()
2505 pAC->Rlmt.Net[Para.Para32[0]].RootIdSet = SK_FALSE; in SkRlmtEvtStop()
2511 for (i = 0; i < pAC->Rlmt.Net[Para.Para32[0]].NumPorts; i++) { in SkRlmtEvtStop()
2512 PortNumber = pAC->Rlmt.Net[Para.Para32[0]].Port[i]->PortNumber; in SkRlmtEvtStop()
2570 if ((pAC->Rlmt.Net[Para.Para32[0]].RlmtMode & SK_RLMT_CHECK_OTHERS) == 0 || in SkRlmtEvtTim()
2571 pAC->Rlmt.Net[Para.Para32[0]].LinksUp == 0) { in SkRlmtEvtTim()
2584 for (i = 0; i < pAC->Rlmt.Net[Para.Para32[0]].NumPorts; i++) { in SkRlmtEvtTim()
2585 PortNumber = pAC->Rlmt.Net[Para.Para32[0]].Port[i]->PortNumber; in SkRlmtEvtTim()
2602 pAC->Rlmt.Net[Para.Para32[0]].TimeoutValue = NewTimeout; in SkRlmtEvtTim()
2604 if (pAC->Rlmt.Net[Para.Para32[0]].LinksUp > 1) { in SkRlmtEvtTim()
2615 for (i = 0; i < pAC->Rlmt.Net[Para.Para32[0]].NumPorts; i++) { in SkRlmtEvtTim()
2616 if (!pAC->Rlmt.Net[Para.Para32[0]].Port[i]->LinkDown) { in SkRlmtEvtTim()
2618 pAC->Rlmt.Net[Para.Para32[0]].Port[i]->PortNumber); in SkRlmtEvtTim()
2623 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].LocTimer, in SkRlmtEvtTim()
2624 pAC->Rlmt.Net[Para.Para32[0]].TimeoutValue, SKGE_RLMT, SK_RLMT_TIM, in SkRlmtEvtTim()
2627 if (pAC->Rlmt.Net[Para.Para32[0]].LinksUp > 1 && in SkRlmtEvtTim()
2628 (pAC->Rlmt.Net[Para.Para32[0]].RlmtMode & SK_RLMT_CHECK_SEG) && in SkRlmtEvtTim()
2629 (pAC->Rlmt.Net[Para.Para32[0]].CheckingState & SK_RLMT_RCS_START_SEG)) { in SkRlmtEvtTim()
2630 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[0]].SegTimer, in SkRlmtEvtTim()
2632 pAC->Rlmt.Net[Para.Para32[0]].CheckingState &= ~SK_RLMT_RCS_START_SEG; in SkRlmtEvtTim()
2633 pAC->Rlmt.Net[Para.Para32[0]].CheckingState |= in SkRlmtEvtTim()
2677 for (j = 0; j < pAC->Rlmt.Net[Para.Para32[0]].NumPorts; j++) { in SkRlmtEvtSegTim()
2684 pAPort = pAC->Rlmt.Net[Para.Para32[0]].Port[j]->AddrPort; in SkRlmtEvtSegTim()
2687 XM_INADDR(IoC, pAC->Rlmt.Net[Para.Para32[0]].Port[j]->PortNumber, in SkRlmtEvtSegTim()
2691 k, pAC->Rlmt.Net[Para.Para32[0]].Port[j]->PortNumber, in SkRlmtEvtSegTim()
2752 NetNumber = pAC->Rlmt.Port[pMb->PortIdx].Net->NetNumber; in SkRlmtEvtPacketRx()
2753 if (pAC->Rlmt.Net[NetNumber].RlmtState == SK_RLMT_RS_INIT) { in SkRlmtEvtPacketRx()
2808 for (i = 0; i < pAC->Rlmt.Net[Para.Para32[0]].NumPorts; i++) { in SkRlmtEvtStatsClear()
2810 &pAC->Rlmt.Port[pAC->Rlmt.Net[Para.Para32[0]].Port[i]->PortNumber]; in SkRlmtEvtStatsClear()
2899 pAC->Rlmt.Net[Para.Para32[1]].PrefPort = SK_RLMT_DEF_PREF_PORT; in SkRlmtEvtPrefportChange()
2902 if (Para.Para32[0] >= pAC->Rlmt.Net[Para.Para32[1]].NumPorts) { in SkRlmtEvtPrefportChange()
2910 pAC->Rlmt.Net[Para.Para32[1]].PrefPort = Para.Para32[0]; in SkRlmtEvtPrefportChange()
2913 pAC->Rlmt.Net[Para.Para32[1]].Preference = Para.Para32[0]; in SkRlmtEvtPrefportChange()
2915 if (pAC->Rlmt.Net[Para.Para32[1]].RlmtState != SK_RLMT_RS_INIT) { in SkRlmtEvtPrefportChange()
2983 (void)SkAddrOverride(pAC, IoC, pAC->Rlmt.Net[1].Port[pAC->Addr. in SkRlmtEvtSetNets()
2984 Net[1].ActivePort]->PortNumber, NULL, SK_ADDR_CLEAR_LOGICAL); in SkRlmtEvtSetNets()
2985 pAC->Rlmt.Net[1].NumPorts = 0; in SkRlmtEvtSetNets()
2990 pAC->Rlmt.Net[i].RlmtState = SK_RLMT_RS_INIT; in SkRlmtEvtSetNets()
2991 pAC->Rlmt.Net[i].RootIdSet = SK_FALSE; in SkRlmtEvtSetNets()
2992 pAC->Rlmt.Net[i].Preference = 0xFFFFFFFF; /* "Automatic" */ in SkRlmtEvtSetNets()
2993 pAC->Rlmt.Net[i].PrefPort = SK_RLMT_DEF_PREF_PORT; in SkRlmtEvtSetNets()
2995 pAC->Rlmt.Net[i].ActivePort = pAC->Rlmt.Net[i].PrefPort; in SkRlmtEvtSetNets()
2996 pAC->Rlmt.Net[i].RlmtMode = SK_RLMT_DEF_MODE; in SkRlmtEvtSetNets()
2997 pAC->Rlmt.Net[i].TimeoutValue = SK_RLMT_DEF_TO_VAL; in SkRlmtEvtSetNets()
2998 pAC->Rlmt.Net[i].NetNumber = i; in SkRlmtEvtSetNets()
3001 pAC->Rlmt.Port[1].Net= &pAC->Rlmt.Net[0]; in SkRlmtEvtSetNets()
3002 pAC->Rlmt.Net[0].NumPorts = pAC->GIni.GIMacsFound; in SkRlmtEvtSetNets()
3010 pAC->Rlmt.Port[1].Net= &pAC->Rlmt.Net[1]; in SkRlmtEvtSetNets()
3011 pAC->Rlmt.Net[1].NumPorts = pAC->GIni.GIMacsFound - 1; in SkRlmtEvtSetNets()
3012 pAC->Rlmt.Net[0].NumPorts = in SkRlmtEvtSetNets()
3013 pAC->GIni.GIMacsFound - pAC->Rlmt.Net[1].NumPorts; in SkRlmtEvtSetNets()
3017 pAC->Rlmt.Net[i].RlmtState = SK_RLMT_RS_INIT; in SkRlmtEvtSetNets()
3018 pAC->Rlmt.Net[i].RootIdSet = SK_FALSE; in SkRlmtEvtSetNets()
3019 pAC->Rlmt.Net[i].Preference = 0xFFFFFFFF; /* "Automatic" */ in SkRlmtEvtSetNets()
3020 pAC->Rlmt.Net[i].PrefPort = SK_RLMT_DEF_PREF_PORT; in SkRlmtEvtSetNets()
3022 pAC->Rlmt.Net[i].ActivePort = pAC->Rlmt.Net[i].PrefPort; in SkRlmtEvtSetNets()
3023 pAC->Rlmt.Net[i].RlmtMode = SK_RLMT_DEF_MODE; in SkRlmtEvtSetNets()
3024 pAC->Rlmt.Net[i].TimeoutValue = SK_RLMT_DEF_TO_VAL; in SkRlmtEvtSetNets()
3026 pAC->Rlmt.Net[i].NetNumber = i; in SkRlmtEvtSetNets()
3030 (void)SkAddrOverride(pAC, IoC, pAC->Rlmt.Net[1].Port[pAC->Addr. in SkRlmtEvtSetNets()
3031 Net[1].ActivePort]->PortNumber, NULL, SK_ADDR_SET_LOGICAL); in SkRlmtEvtSetNets()
3088 if ((pAC->Rlmt.Net[Para.Para32[1]].NumPorts == 1) && in SkRlmtEvtModeChange()
3090 pAC->Rlmt.Net[Para.Para32[1]].RlmtMode = SK_RLMT_MODE_CLS; in SkRlmtEvtModeChange()
3099 PrevRlmtMode = pAC->Rlmt.Net[Para.Para32[1]].RlmtMode; in SkRlmtEvtModeChange()
3100 pAC->Rlmt.Net[Para.Para32[1]].RlmtMode = Para.Para32[0]; in SkRlmtEvtModeChange()
3103 (pAC->Rlmt.Net[Para.Para32[1]].RlmtMode & SK_RLMT_CHECK_LOC_LINK)) { in SkRlmtEvtModeChange()
3106 pAC->Rlmt.Net[Para.Para32[1]].NumPorts > 1 && in SkRlmtEvtModeChange()
3107 pAC->Rlmt.Net[Para.Para32[1]].PortsUp >= 1) { in SkRlmtEvtModeChange()
3111 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[1]].LocTimer, in SkRlmtEvtModeChange()
3112 pAC->Rlmt.Net[Para.Para32[1]].TimeoutValue, in SkRlmtEvtModeChange()
3118 (pAC->Rlmt.Net[Para.Para32[1]].RlmtMode & SK_RLMT_CHECK_SEG)) { in SkRlmtEvtModeChange()
3120 for (i = 0; i < pAC->Rlmt.Net[Para.Para32[1]].NumPorts; i++) { in SkRlmtEvtModeChange()
3122 pAC->Rlmt.Net[Para.Para32[1]].Port[i]->PortNumber, in SkRlmtEvtModeChange()
3127 pAC->Rlmt.Net[Para.Para32[1]].Port[i]->PortNumber, in SkRlmtEvtModeChange()
3130 if ((pAC->Rlmt.Net[Para.Para32[1]].RlmtMode & in SkRlmtEvtModeChange()
3134 pAC->Rlmt.Net[Para.Para32[1]].Port[i]->PortNumber, in SkRlmtEvtModeChange()
3137 if (pAC->Rlmt.Net[Para.Para32[1]].RlmtState != SK_RLMT_RS_INIT) { in SkRlmtEvtModeChange()
3138 if (!pAC->Rlmt.Net[Para.Para32[1]].Port[i]->LinkDown && in SkRlmtEvtModeChange()
3141 pAC->Rlmt.Net[Para.Para32[1]].Port[i]->RootIdSet = in SkRlmtEvtModeChange()
3148 pAC->Rlmt.Net[Para.Para32[1]].Port[i]->PortNumber); in SkRlmtEvtModeChange()
3151 if ((pAC->Rlmt.Net[Para.Para32[1]].RlmtMode & SK_RLMT_CHECK_SEG) != 0) { in SkRlmtEvtModeChange()
3154 SkTimerStart(pAC, IoC, &pAC->Rlmt.Net[Para.Para32[1]].SegTimer, in SkRlmtEvtModeChange()