Lines Matching refs:pAPort
133 SK_ADDR_PORT *pAPort; in SkAddrInit() local
141 pAPort = &pAC->Addr.Port[i]; in SkAddrInit()
142 pAPort->PromMode = SK_PROM_MODE_NONE; in SkAddrInit()
144 pAPort->FirstExactMatchRlmt = SK_ADDR_FIRST_MATCH_RLMT; in SkAddrInit()
145 pAPort->FirstExactMatchDrv = SK_ADDR_FIRST_MATCH_DRV; in SkAddrInit()
146 pAPort->NextExactMatchRlmt = SK_ADDR_FIRST_MATCH_RLMT; in SkAddrInit()
147 pAPort->NextExactMatchDrv = SK_ADDR_FIRST_MATCH_DRV; in SkAddrInit()
229 pAPort = &pAC->Addr.Port[i]; in SkAddrInit()
233 InAddr = (SK_U8 *) &pAPort->PermanentMacAddress.a[j]; in SkAddrInit()
237 if (!pAPort->CurrentMacAddressSet) { in SkAddrInit()
242 pAPort->CurrentMacAddress = pAPort->PermanentMacAddress; in SkAddrInit()
243 pAPort->PreviousMacAddress = pAPort->PermanentMacAddress; in SkAddrInit()
244 pAPort->CurrentMacAddressSet = SK_TRUE; in SkAddrInit()
248 OutAddr = (SK_U16 *) &pAPort->CurrentMacAddress.a[0]; in SkAddrInit()
262 pAPort->PermanentMacAddress.a[0], in SkAddrInit()
263 pAPort->PermanentMacAddress.a[1], in SkAddrInit()
264 pAPort->PermanentMacAddress.a[2], in SkAddrInit()
265 pAPort->PermanentMacAddress.a[3], in SkAddrInit()
266 pAPort->PermanentMacAddress.a[4], in SkAddrInit()
267 pAPort->PermanentMacAddress.a[5])) in SkAddrInit()
271 pAPort->CurrentMacAddress.a[0], in SkAddrInit()
272 pAPort->CurrentMacAddress.a[1], in SkAddrInit()
273 pAPort->CurrentMacAddress.a[2], in SkAddrInit()
274 pAPort->CurrentMacAddress.a[3], in SkAddrInit()
275 pAPort->CurrentMacAddress.a[4], in SkAddrInit()
276 pAPort->CurrentMacAddress.a[5])) in SkAddrInit()
946 SK_ADDR_PORT *pAPort; in SkAddrXmacMcUpdate() local
951 pAPort = &pAC->Addr.Port[PortNumber]; in SkAddrXmacMcUpdate()
959 for (i = 0; i < pAPort->NextExactMatchRlmt; i++) { in SkAddrXmacMcUpdate()
961 OutAddr = (SK_U16 *) &pAPort->Exact[i].a[0]; in SkAddrXmacMcUpdate()
966 if (pAPort->NextExactMatchRlmt <= SK_ADDR_LAST_MATCH_RLMT) { in SkAddrXmacMcUpdate()
968 SkXmClrExactAddr(pAC, IoC, PortNumber, pAPort->NextExactMatchRlmt, in SkAddrXmacMcUpdate()
972 for (i = pAPort->FirstExactMatchDrv; i < pAPort->NextExactMatchDrv; i++) { in SkAddrXmacMcUpdate()
973 OutAddr = (SK_U16 *) &pAPort->Exact[i].a[0]; in SkAddrXmacMcUpdate()
978 if (pAPort->NextExactMatchDrv <= SK_ADDR_LAST_MATCH_DRV) { in SkAddrXmacMcUpdate()
980 SkXmClrExactAddr(pAC, IoC, PortNumber, pAPort->NextExactMatchDrv, in SkAddrXmacMcUpdate()
985 Inexact |= pAPort->InexactFilter.Bytes[i]; in SkAddrXmacMcUpdate()
988 if (pAPort->PromMode & SK_PROM_MODE_ALL_MC) { in SkAddrXmacMcUpdate()
999 XM_OUTHASH(IoC, PortNumber, XM_HSM, &pAPort->InexactFilter.Bytes[0]); in SkAddrXmacMcUpdate()
1009 if (pAPort->PromMode != SK_PROM_MODE_NONE) { in SkAddrXmacMcUpdate()
1010 (void) SkAddrXmacPromiscuousChange(pAC, IoC, PortNumber, pAPort->PromMode); in SkAddrXmacMcUpdate()
1014 OutAddr = (SK_U16 *) &pAPort->CurrentMacAddress.a[0]; in SkAddrXmacMcUpdate()
1019 for (i = 0; i < pAPort->NextExactMatchRlmt; i++) { in SkAddrXmacMcUpdate()
1039 pAPort->Exact[i].a[0], in SkAddrXmacMcUpdate()
1040 pAPort->Exact[i].a[1], in SkAddrXmacMcUpdate()
1041 pAPort->Exact[i].a[2], in SkAddrXmacMcUpdate()
1042 pAPort->Exact[i].a[3], in SkAddrXmacMcUpdate()
1043 pAPort->Exact[i].a[4], in SkAddrXmacMcUpdate()
1044 pAPort->Exact[i].a[5])) in SkAddrXmacMcUpdate()
1049 if (Inexact == 0 && pAPort->PromMode == 0) { in SkAddrXmacMcUpdate()
1093 SK_ADDR_PORT *pAPort; in SkAddrGmacMcUpdate() local
1098 pAPort = &pAC->Addr.Port[PortNumber]; in SkAddrGmacMcUpdate()
1107 Inexact |= pAPort->InexactFilter.Bytes[i]; in SkAddrGmacMcUpdate()
1112 &pAPort->InexactFilter.Bytes[0]); in SkAddrGmacMcUpdate()
1114 if (pAPort->PromMode & SK_PROM_MODE_ALL_MC) { in SkAddrGmacMcUpdate()
1127 if (pAPort->PromMode != SK_PROM_MODE_NONE) { in SkAddrGmacMcUpdate()
1128 (void) SkAddrGmacPromiscuousChange(pAC, IoC, PortNumber, pAPort->PromMode); in SkAddrGmacMcUpdate()
1138 (void) SkAddrGmacPromiscuousChange(pAC, IoC, PortNumber, pAPort->PromMode); in SkAddrGmacMcUpdate()
1143 OutAddr = (SK_U16 *) &pAPort->CurrentMacAddress.a[0]; in SkAddrGmacMcUpdate()
1147 OutAddr = (SK_U16 *) &pAPort->Exact[0].a[0]; in SkAddrGmacMcUpdate()
1153 pAPort->Exact[0].a[0], in SkAddrGmacMcUpdate()
1154 pAPort->Exact[0].a[1], in SkAddrGmacMcUpdate()
1155 pAPort->Exact[0].a[2], in SkAddrGmacMcUpdate()
1156 pAPort->Exact[0].a[3], in SkAddrGmacMcUpdate()
1157 pAPort->Exact[0].a[4], in SkAddrGmacMcUpdate()
1158 pAPort->Exact[0].a[5])) in SkAddrGmacMcUpdate()
1162 pAPort->CurrentMacAddress.a[0], in SkAddrGmacMcUpdate()
1163 pAPort->CurrentMacAddress.a[1], in SkAddrGmacMcUpdate()
1164 pAPort->CurrentMacAddress.a[2], in SkAddrGmacMcUpdate()
1165 pAPort->CurrentMacAddress.a[3], in SkAddrGmacMcUpdate()
1166 pAPort->CurrentMacAddress.a[4], in SkAddrGmacMcUpdate()
1167 pAPort->CurrentMacAddress.a[5])) in SkAddrGmacMcUpdate()
1172 if (Inexact == 0 && pAPort->PromMode == 0) { in SkAddrGmacMcUpdate()