Lines Matching refs:pElem
1389 static uint8_t vnetControlRx(PVNETSTATE pThis, PVNETCTLHDR pCtlHdr, PVQUEUEELEM pElem)
1394 pElem->aSegsOut[1].addr,
1415 static uint8_t vnetControlMac(PVNETSTATE pThis, PVNETCTLHDR pCtlHdr, PVQUEUEELEM pElem)
1420 || pElem->nOut != 3
1421 || pElem->aSegsOut[1].cb < sizeof(nMacs)
1422 || pElem->aSegsOut[2].cb < sizeof(nMacs))
1426 pCtlHdr->u8Command, pElem->nOut,
1427 pElem->aSegsOut[1].cb, pElem->aSegsOut[2].cb));
1433 pElem->aSegsOut[1].addr,
1436 if (pElem->aSegsOut[1].cb < nMacs * sizeof(RTMAC) + sizeof(nMacs))
1439 "(nMacs=%u cb=%u)\n", INSTANCE(pThis), pElem->aSegsOut[1].cb));
1453 pElem->aSegsOut[1].addr + sizeof(nMacs),
1465 pElem->aSegsOut[2].addr,
1468 if (pElem->aSegsOut[2].cb < nMacs * sizeof(RTMAC) + sizeof(nMacs))
1471 "(nMacs=%u cb=%u)\n", INSTANCE(pThis), pElem->aSegsOut[2].cb));
1485 pElem->aSegsOut[2].addr + sizeof(nMacs),
1500 static uint8_t vnetControlVlan(PVNETSTATE pThis, PVNETCTLHDR pCtlHdr, PVQUEUEELEM pElem)
1505 if (pElem->nOut != 2 || pElem->aSegsOut[1].cb != sizeof(u16Vid))
1509 pCtlHdr->u8Command, pElem->nOut, pElem->aSegsOut[1].cb));
1514 pElem->aSegsOut[1].addr,