Lines Matching refs:NetIdx
294 SK_U32 NetIdx);
298 SK_U32 NetIdx);
495 SK_U32 NetIdx) /* Net Number */ in SkRlmtBuildCheckChain() argument
505 if (!(pAC->Rlmt.Net[NetIdx].RlmtMode & SK_RLMT_CHECK_LOC_LINK)) { 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()
1616 SK_U32 NetIdx) /* Net index */ in SkRlmtCheckSwitch() argument
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()
1640 Para.Para32[1] = NetIdx; in SkRlmtCheckSwitch()
1643 Para.Para32[0] = pAC->Rlmt.Net[NetIdx]. in SkRlmtCheckSwitch()
1644 Port[pAC->Rlmt.Net[NetIdx].ActivePort]->PortNumber; in SkRlmtCheckSwitch()
1645 Para.Para32[1] = NetIdx; 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()
1673 Para.Para32[1] = NetIdx; in SkRlmtCheckSwitch()
1676 pAC->Rlmt.Net[NetIdx].ActivePort = i; in SkRlmtCheckSwitch()
1677 Para.Para32[0] = pAC->Rlmt.Net[NetIdx].Port[i]->PortNumber; in SkRlmtCheckSwitch()
1678 Para.Para32[1] = NetIdx; 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()
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()
1803 Para.Para32[1] = 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()
1848 SK_U32 NetIdx) /* Net number */ in SkRlmtCheckSeg() argument
1855 pNet = &pAC->Rlmt.Net[NetIdx]; in SkRlmtCheckSeg()
1886 Para.Para32[0] = NetIdx; in SkRlmtCheckSeg()
1893 Para.Para32[0] = NetIdx; in SkRlmtCheckSeg()