VirtualBox

Changeset 28714 in vbox


Ignore:
Timestamp:
Apr 25, 2010 8:04:02 PM (15 years ago)
Author:
vboxsync
Message:

intnetinline.h: Changed the prefix to IntNet.

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/intnetinline.h

    r28713 r28714  
    5050 * @param   u16Type             The frame type to check.
    5151 */
    52 DECLINLINE(bool) INETNETIsValidFrameType(uint16_t u16Type)
     52DECLINLINE(bool) IntNetIsValidFrameType(uint16_t u16Type)
    5353{
    5454    if (RT_LIKELY(   u16Type == INTNETHDR_TYPE_FRAME
     
    7070 * @param   cSegsUsed   The number of used segments.
    7171 */
    72 DECLINLINE(void) INTNETSgInitTempSegs(PINTNETSG pSG, uint32_t cbTotal, unsigned cSegs, unsigned cSegsUsed)
     72DECLINLINE(void) IntNetSgInitTempSegs(PINTNETSG pSG, uint32_t cbTotal, unsigned cSegs, unsigned cSegsUsed)
    7373{
    7474    pSG->pvOwnerData    = NULL;
     
    107107 * @param   pGso        The GSO context.
    108108 */
    109 DECLINLINE(void) INTNETSgInitTempSegsGso(PINTNETSG pSG, uint32_t cbTotal, unsigned cSegs,
     109DECLINLINE(void) IntNetSgInitTempSegsGso(PINTNETSG pSG, uint32_t cbTotal, unsigned cSegs,
    110110                                         unsigned cSegsUsed, PCPDMNETWORKGSO pGso)
    111111{
     
    143143 * @param   cbFrame     The size of the frame.
    144144 */
    145 DECLINLINE(void) INTNETSgInitTemp(PINTNETSG pSG, void *pvFrame, uint32_t cbFrame)
    146 {
    147     INTNETSgInitTempSegs(pSG, cbFrame, 1, 1);
     145DECLINLINE(void) IntNetSgInitTemp(PINTNETSG pSG, void *pvFrame, uint32_t cbFrame)
     146{
     147    IntNetSgInitTempSegs(pSG, cbFrame, 1, 1);
    148148    pSG->aSegs[0].Phys  = NIL_RTHCPHYS;
    149149    pSG->aSegs[0].pv    = pvFrame;
     
    160160 * @param   pGso        The GSO context.
    161161 */
    162 DECLINLINE(void) INTNETSgInitTempGso(PINTNETSG pSG, void *pvFrame, uint32_t cbFrame, PCPDMNETWORKGSO pGso)
    163 {
    164     INTNETSgInitTempSegsGso(pSG, cbFrame, 1, 1, pGso);
     162DECLINLINE(void) IntNetSgInitTempGso(PINTNETSG pSG, void *pvFrame, uint32_t cbFrame, PCPDMNETWORKGSO pGso)
     163{
     164    IntNetSgInitTempSegsGso(pSG, cbFrame, 1, 1, pGso);
    165165    pSG->aSegs[0].Phys  = NIL_RTHCPHYS;
    166166    pSG->aSegs[0].pv    = pvFrame;
     
    175175 * @param   pvBuf       The buffer to read into (at least pSG->cbTotal in size).
    176176 */
    177 DECLINLINE(void) INTNETSgRead(PCINTNETSG pSG, void *pvBuf)
     177DECLINLINE(void) IntNetSgRead(PCINTNETSG pSG, void *pvBuf)
    178178{
    179179    memcpy(pvBuf, pSG->aSegs[0].pv, pSG->aSegs[0].cb);
     
    204204 * @param   pvBuf       The buffer to read into, cb or more in size.
    205205 */
    206 DECLINLINE(void) INTNETSgReadEx(PCINTNETSG pSG, uint32_t offSrc, uint32_t cbToRead, void *pvBuf)
     206DECLINLINE(void) IntNetSgReadEx(PCINTNETSG pSG, uint32_t offSrc, uint32_t cbToRead, void *pvBuf)
    207207{
    208208    uint8_t    *pbDst = (uint8_t *)pvBuf;
     
    264264 * @param   pRingBuf        The ring buffer.
    265265 */
    266 DECLINLINE(uint32_t) INTNETRingGetWritable(PINTNETRINGBUF pRingBuf)
     266DECLINLINE(uint32_t) IntNetRingGetWritable(PINTNETRINGBUF pRingBuf)
    267267{
    268268    uint32_t const offRead     = ASMAtomicUoReadU32(&pRingBuf->offReadX);
     
    280280 * @param   pRingBuf        The ring buffer.
    281281 */
    282 DECLINLINE(bool) INTNETRingHasMoreToRead(PINTNETRINGBUF pRingBuf)
     282DECLINLINE(bool) IntNetRingHasMoreToRead(PINTNETRINGBUF pRingBuf)
    283283{
    284284    uint32_t const offRead     = ASMAtomicUoReadU32(&pRingBuf->offReadX);
     
    294294 * @param   pRingBuf        The ring buffer.
    295295 */
    296 DECLINLINE(PINTNETHDR) INTNETRingGetNextFrameToRead(PINTNETRINGBUF pRingBuf)
     296DECLINLINE(PINTNETHDR) IntNetRingGetNextFrameToRead(PINTNETRINGBUF pRingBuf)
    297297{
    298298    uint32_t const offRead     = ASMAtomicUoReadU32(&pRingBuf->offReadX);
     
    310310 * @param   pRingBuf        The ring buffer.
    311311 */
    312 DECLINLINE(uint32_t) INTNETRingGetReadable(PINTNETRINGBUF pRingBuf)
     312DECLINLINE(uint32_t) IntNetRingGetReadable(PINTNETRINGBUF pRingBuf)
    313313{
    314314    uint32_t const offRead     = ASMAtomicUoReadU32(&pRingBuf->offReadX);
     
    327327 * @param   pBuf        The buffer the header is within. Only used in strict builds.
    328328 */
    329 DECLINLINE(void *) INTNETHdrGetFramePtr(PCINTNETHDR pHdr, PCINTNETBUF pBuf)
     329DECLINLINE(void *) IntNetHdrGetFramePtr(PCINTNETHDR pHdr, PCINTNETBUF pBuf)
    330330{
    331331    uint8_t *pu8 = (uint8_t *)pHdr + pHdr->offFrame;
    332332#ifdef VBOX_STRICT
    333333    const uintptr_t off = (uintptr_t)pu8 - (uintptr_t)pBuf;
    334     Assert(INETNETIsValidFrameType(pHdr->u16Type));
     334    Assert(IntNetIsValidFrameType(pHdr->u16Type));
    335335    Assert(off < pBuf->cbBuf);
    336336    Assert(off + pHdr->cbFrame <= pBuf->cbBuf);
     
    353353 * @param   pBuf        The buffer the header is within. Only used in strict builds.
    354354 */
    355 DECLINLINE(PPDMNETWORKGSO) INTNETHdrGetGsoContext(PCINTNETHDR pHdr, PCINTNETBUF pBuf)
     355DECLINLINE(PPDMNETWORKGSO) IntNetHdrGetGsoContext(PCINTNETHDR pHdr, PCINTNETBUF pBuf)
    356356{
    357357    PPDMNETWORKGSO pGso = (PPDMNETWORKGSO)((uint8_t *)pHdr + pHdr->offFrame);
     
    372372 * @param   pRingBuf    The ring buffer in question.
    373373 */
    374 DECLINLINE(void) INTNETRingSkipFrame(PINTNETRINGBUF pRingBuf)
     374DECLINLINE(void) IntNetRingSkipFrame(PINTNETRINGBUF pRingBuf)
    375375{
    376376    uint32_t const  offReadOld  = ASMAtomicUoReadU32(&pRingBuf->offReadX);
     
    379379    Assert(offReadOld <  pRingBuf->offEnd);
    380380    Assert(RT_ALIGN_PT(pHdr, INTNETHDR_ALIGNMENT, INTNETHDR *) == pHdr);
    381     Assert(INETNETIsValidFrameType(pHdr->u16Type));
     381    Assert(IntNetIsValidFrameType(pHdr->u16Type));
    382382
    383383    /* skip the frame */
     
    387387    if (offReadNew >= pRingBuf->offEnd)
    388388        offReadNew = pRingBuf->offStart;
    389     Log2(("INTNETRingSkipFrame: offReadX: %#x -> %#x (1)\n", offReadOld, offReadNew));
     389    Log2(("IntNetRingSkipFrame: offReadX: %#x -> %#x (1)\n", offReadOld, offReadNew));
    390390#ifdef INTNET_POISON_READ_FRAMES
    391391    memset((uint8_t *)pHdr + pHdr->offFrame, 0xfe, RT_ALIGN_32(pHdr->cbFrame, INTNETHDR_ALIGNMENT));
     
    501501 * @param   ppvFrame            Where to return the frame pointer.
    502502 */
    503 DECLINLINE(int) INTNETRingAllocateFrame(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, PINTNETHDR *ppHdr, void **ppvFrame)
     503DECLINLINE(int) IntNetRingAllocateFrame(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, PINTNETHDR *ppHdr, void **ppvFrame)
    504504{
    505505    return intnetRingAllocateFrameInternal(pRingBuf, cbFrame, INTNETHDR_TYPE_FRAME, ppHdr, ppvFrame);
     
    518518 * @param   ppvFrame            Where to return the frame pointer.
    519519 */
    520 DECLINLINE(int) INTNETRingAllocateGsoFrame(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, PCPDMNETWORKGSO pGso,
     520DECLINLINE(int) IntNetRingAllocateGsoFrame(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, PCPDMNETWORKGSO pGso,
    521521                                           PINTNETHDR *ppHdr, void **ppvFrame)
    522522{
     
    541541 * @param   pRingBuf            The ring buffer.
    542542 * @param   pHdr                The frame header returned by
    543  *                              INTNETRingAllocateFrame.
    544  */
    545 DECLINLINE(void) INTNETRingCommitFrame(PINTNETRINGBUF pRingBuf, PINTNETHDR pHdr)
     543 *                              IntNetRingAllocateFrame.
     544 */
     545DECLINLINE(void) IntNetRingCommitFrame(PINTNETRINGBUF pRingBuf, PINTNETHDR pHdr)
    546546{
    547547    /*
     
    565565        offWriteCom = pRingBuf->offStart;
    566566    }
    567     Log2(("INTNETRingCommitFrame:   offWriteCom: %#x -> %#x (R=%#x T=%#x S=%#x)\n", pRingBuf->offWriteCom, offWriteCom, pRingBuf->offReadX, pHdr->u16Type, cbFrame));
     567    Log2(("IntNetRingCommitFrame:   offWriteCom: %#x -> %#x (R=%#x T=%#x S=%#x)\n", pRingBuf->offWriteCom, offWriteCom, pRingBuf->offReadX, pHdr->u16Type, cbFrame));
    568568    ASMAtomicWriteU32(&pRingBuf->offWriteCom, offWriteCom);
    569569    STAM_REL_COUNTER_ADD(&pRingBuf->cbStatWritten, cbFrame);
     
    580580 * @param   pRingBuf            The ring buffer.
    581581 * @param   pHdr                The frame header returned by
    582  *                              INTNETRingAllocateFrame.
     582 *                              IntNetRingAllocateFrame.
    583583 * @param   cbUsed              The amount of space actually used.  This does
    584584 *                              not include the GSO part.
    585585 */
    586 DECLINLINE(void) INTNETRingCommitFrameEx(PINTNETRINGBUF pRingBuf, PINTNETHDR pHdr, size_t cbUsed)
     586DECLINLINE(void) IntNetRingCommitFrameEx(PINTNETRINGBUF pRingBuf, PINTNETHDR pHdr, size_t cbUsed)
    587587{
    588588    /*
     
    623623    }
    624624
    625     Log2(("INTNETRingCommitFrameEx:   offWriteCom: %#x -> %#x (R=%#x T=%#x S=%#x P=%#x)\n", pRingBuf->offWriteCom, offWriteCom, pRingBuf->offReadX, pHdr->u16Type, pHdr->cbFrame, cbAlignedFrame - cbAlignedUsed));
     625    Log2(("IntNetRingCommitFrameEx:   offWriteCom: %#x -> %#x (R=%#x T=%#x S=%#x P=%#x)\n", pRingBuf->offWriteCom, offWriteCom, pRingBuf->offReadX, pHdr->u16Type, pHdr->cbFrame, cbAlignedFrame - cbAlignedUsed));
    626626    ASMAtomicWriteU32(&pRingBuf->offWriteCom, offWriteCom);
    627627    STAM_REL_COUNTER_ADD(&pRingBuf->cbStatWritten, cbUsed);
     
    640640 * @param   cbFrame             How much to write.
    641641 */
    642 DECLINLINE(int) INTNETRingWriteFrame(PINTNETRINGBUF pRingBuf, const void *pvFrame, size_t cbFrame)
     642DECLINLINE(int) IntNetRingWriteFrame(PINTNETRINGBUF pRingBuf, const void *pvFrame, size_t cbFrame)
    643643{
    644644    /*
     
    666666            if (RT_UNLIKELY(!ASMAtomicCmpXchgU32(&pRingBuf->offWriteInt, offNew, offWriteInt)))
    667667                return VERR_WRONG_ORDER; /* race */
    668             Log2(("INTNETRingWriteFrame: offWriteInt: %#x -> %#x (1)\n", offWriteInt, offNew));
     668            Log2(("IntNetRingWriteFrame: offWriteInt: %#x -> %#x (1)\n", offWriteInt, offNew));
    669669
    670670            PINTNETHDR pHdr = (PINTNETHDR)((uint8_t *)pRingBuf + offWriteInt);
     
    675675            memcpy(pHdr + 1, pvFrame, cbFrame);
    676676
    677             Log2(("INTNETRingWriteFrame: offWriteCom: %#x -> %#x (1)\n", pRingBuf->offWriteCom, offNew));
     677            Log2(("IntNetRingWriteFrame: offWriteCom: %#x -> %#x (1)\n", pRingBuf->offWriteCom, offNew));
    678678            ASMAtomicWriteU32(&pRingBuf->offWriteCom, offNew);
    679679            STAM_REL_COUNTER_ADD(&pRingBuf->cbStatWritten, cbFrame);
     
    691691            if (RT_UNLIKELY(!ASMAtomicCmpXchgU32(&pRingBuf->offWriteInt, offNew, offWriteInt)))
    692692                return VERR_WRONG_ORDER; /* race */
    693             Log2(("INTNETRingWriteFrame: offWriteInt: %#x -> %#x (2)\n", offWriteInt, offNew));
     693            Log2(("IntNetRingWriteFrame: offWriteInt: %#x -> %#x (2)\n", offWriteInt, offNew));
    694694
    695695            PINTNETHDR pHdr = (PINTNETHDR)((uint8_t *)pRingBuf + offWriteInt);
     
    700700            memcpy((uint8_t *)pRingBuf + pRingBuf->offStart, pvFrame, cbFrame);
    701701
    702             Log2(("INTNETRingWriteFrame: offWriteCom: %#x -> %#x (2)\n", pRingBuf->offWriteCom, offNew));
     702            Log2(("IntNetRingWriteFrame: offWriteCom: %#x -> %#x (2)\n", pRingBuf->offWriteCom, offNew));
    703703            ASMAtomicWriteU32(&pRingBuf->offWriteCom, offNew);
    704704            STAM_REL_COUNTER_ADD(&pRingBuf->cbStatWritten, cbFrame);
     
    715715        if (RT_UNLIKELY(!ASMAtomicCmpXchgU32(&pRingBuf->offWriteInt, offNew, offWriteInt)))
    716716            return VERR_WRONG_ORDER; /* race */
    717         Log2(("INTNETRingWriteFrame: offWriteInt: %#x -> %#x (3)\n", offWriteInt, offNew));
     717        Log2(("IntNetRingWriteFrame: offWriteInt: %#x -> %#x (3)\n", offWriteInt, offNew));
    718718
    719719        PINTNETHDR pHdr = (PINTNETHDR)((uint8_t *)pRingBuf + offWriteInt);
     
    724724        memcpy(pHdr + 1, pvFrame, cbFrame);
    725725
    726         Log2(("INTNETRingWriteFrame: offWriteCom: %#x -> %#x (3)\n", pRingBuf->offWriteCom, offNew));
     726        Log2(("IntNetRingWriteFrame: offWriteCom: %#x -> %#x (3)\n", pRingBuf->offWriteCom, offNew));
    727727        ASMAtomicWriteU32(&pRingBuf->offWriteCom, offNew);
    728728        STAM_REL_COUNTER_ADD(&pRingBuf->cbStatWritten, cbFrame);
     
    747747 * @deprecated  Bad interface, do NOT use it!  Only for tstIntNetR0.
    748748 */
    749 DECLINLINE(uint32_t) INTNETRingReadAndSkipFrame(PINTNETRINGBUF pRingBuf, void *pvFrameDst)
     749DECLINLINE(uint32_t) IntNetRingReadAndSkipFrame(PINTNETRINGBUF pRingBuf, void *pvFrameDst)
    750750{
    751751    INTNETRINGBUF_ASSERT_SANITY(pRingBuf);
     
    789789 * @param   cbSend              The send size.
    790790 */
    791 DECLINLINE(void) INTNETBufInit(PINTNETBUF pIntBuf, uint32_t cbBuf, uint32_t cbRecv, uint32_t cbSend)
     791DECLINLINE(void) IntNetBufInit(PINTNETBUF pIntBuf, uint32_t cbBuf, uint32_t cbRecv, uint32_t cbSend)
    792792{
    793793    AssertCompileSizeAlignment(INTNETBUF, INTNETHDR_ALIGNMENT);
  • trunk/src/VBox/Devices/Network/DrvIntNet.cpp

    r28711 r28714  
    374374    PINTNETHDR pHdr;
    375375    if (pGso)
    376         rc = INTNETRingAllocateGsoFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin, pGso,
     376        rc = IntNetRingAllocateGsoFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin, pGso,
    377377                                        &pHdr, &pSgBuf->aSegs[0].pvSeg);
    378378    else
    379         rc = INTNETRingAllocateFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin,
     379        rc = IntNetRingAllocateFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin,
    380380                                     &pHdr, &pSgBuf->aSegs[0].pvSeg);
    381381#ifdef IN_RING3
     
    385385        drvIntNetProcessXmit(pThis);
    386386        if (pGso)
    387             rc = INTNETRingAllocateGsoFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin, pGso,
     387            rc = IntNetRingAllocateGsoFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin, pGso,
    388388                                            &pHdr, &pSgBuf->aSegs[0].pvSeg);
    389389        else
    390             rc = INTNETRingAllocateFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin,
     390            rc = IntNetRingAllocateFrame(&pThis->CTX_SUFF(pBuf)->Send, (uint32_t)cbMin,
    391391                                         &pHdr, &pSgBuf->aSegs[0].pvSeg);
    392392    }
     
    453453    /** @todo LATER: try unalloc the frame. */
    454454    pHdr->u16Type = INTNETHDR_TYPE_PADDING;
    455     INTNETRingCommitFrame(&pThis->CTX_SUFF(pBuf)->Send, pHdr);
     455    IntNetRingCommitFrame(&pThis->CTX_SUFF(pBuf)->Send, pHdr);
    456456
    457457#ifdef IN_RING3
     
    484484     */
    485485    PINTNETHDR pHdr = (PINTNETHDR)pSgBuf->pvAllocator;
    486     INTNETRingCommitFrameEx(&pThis->CTX_SUFF(pBuf)->Send, pHdr, pSgBuf->cbUsed);
     486    IntNetRingCommitFrameEx(&pThis->CTX_SUFF(pBuf)->Send, pHdr, pSgBuf->cbUsed);
    487487    int rc = drvIntNetProcessXmit(pThis);
    488488    STAM_PROFILE_STOP(&pThis->StatTransmit, a);
     
    671671         */
    672672        PINTNETHDR pHdr;
    673         while ((pHdr = INTNETRingGetNextFrameToRead(pRingBuf)) != NULL)
     673        while ((pHdr = IntNetRingGetNextFrameToRead(pRingBuf)) != NULL)
    674674        {
    675675            /*
     
    710710                            Log2(("drvR3IntNetRecvRun: cbFrame=%#x\n"
    711711                                  "%.*Rhxd\n",
    712                                   cbFrame, cbFrame, INTNETHdrGetFramePtr(pHdr, pBuf)));
     712                                  cbFrame, cbFrame, IntNetHdrGetFramePtr(pHdr, pBuf)));
    713713                        }
    714714#endif
    715                         rc = pThis->pIAboveNet->pfnReceive(pThis->pIAboveNet, INTNETHdrGetFramePtr(pHdr, pBuf), cbFrame);
     715                        rc = pThis->pIAboveNet->pfnReceive(pThis->pIAboveNet, IntNetHdrGetFramePtr(pHdr, pBuf), cbFrame);
    716716                        AssertRC(rc);
    717717
    718718                        /* skip to the next frame. */
    719                         INTNETRingSkipFrame(pRingBuf);
     719                        IntNetRingSkipFrame(pRingBuf);
    720720                    }
    721721                    else
     
    728728                         */
    729729                        STAM_COUNTER_INC(&pThis->StatReceivedGso);
    730                         PCPDMNETWORKGSO pGso = INTNETHdrGetGsoContext(pHdr, pBuf);
     730                        PCPDMNETWORKGSO pGso = IntNetHdrGetGsoContext(pHdr, pBuf);
    731731                        if (PDMNetGsoIsValid(pGso, cbFrame, cbFrame - sizeof(PDMNETWORKGSO)))
    732732                        {
     
    770770                        }
    771771
    772                         INTNETRingSkipFrame(pRingBuf);
     772                        IntNetRingSkipFrame(pRingBuf);
    773773                    }
    774774                }
     
    786786                             * NIC is going down, likely because the VM is being reset. Skip the frame.
    787787                             */
    788                             AssertMsg(INETNETIsValidFrameType(pHdr->u16Type), ("Unknown frame type %RX16! offRead=%#x\n", pHdr->u16Type, pRingBuf->offReadX));
    789                             INTNETRingSkipFrame(pRingBuf);
     788                            AssertMsg(IntNetIsValidFrameType(pHdr->u16Type), ("Unknown frame type %RX16! offRead=%#x\n", pHdr->u16Type, pRingBuf->offReadX));
     789                            IntNetRingSkipFrame(pRingBuf);
    790790                        }
    791791                        else
     
    803803                 * Link down or unknown frame - skip to the next frame.
    804804                 */
    805                 AssertMsg(INETNETIsValidFrameType(pHdr->u16Type), ("Unknown frame type %RX16! offRead=%#x\n", pHdr->u16Type, pRingBuf->offReadX));
    806                 INTNETRingSkipFrame(pRingBuf);
     805                AssertMsg(IntNetIsValidFrameType(pHdr->u16Type), ("Unknown frame type %RX16! offRead=%#x\n", pHdr->u16Type, pRingBuf->offReadX));
     806                IntNetRingSkipFrame(pRingBuf);
    807807                STAM_REL_COUNTER_INC(&pBuf->cStatBadFrames);
    808808            }
     
    969969     * Add the frame to the send buffer and push it onto the network.
    970970     */
    971     int rc = INTNETRingWriteFrame(&pThis->pBufR3->Send, pvBuf, (uint32_t)cb);
     971    int rc = IntNetRingWriteFrame(&pThis->pBufR3->Send, pvBuf, (uint32_t)cb);
    972972    if (    rc == VERR_BUFFER_OVERFLOW
    973973        &&  pThis->pBufR3->cbSend < cb)
     
    980980        PDMDrvHlpSUPCallVMMR0Ex(pThis->pDrvInsR3, VMMR0_DO_INTNET_IF_SEND, &SendReq, sizeof(SendReq));
    981981
    982         rc = INTNETRingWriteFrame(&pThis->pBufR3->Send, pvBuf, (uint32_t)cb);
     982        rc = IntNetRingWriteFrame(&pThis->pBufR3->Send, pvBuf, (uint32_t)cb);
    983983    }
    984984
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r28711 r28714  
    23672367    int         rc;
    23682368    if (pSG->GsoCtx.u8Type == PDMNETWORKGSOTYPE_INVALID)
    2369         rc = INTNETRingAllocateFrame(pRingBuf, pSG->cbTotal, &pHdr, &pvDst);
     2369        rc = IntNetRingAllocateFrame(pRingBuf, pSG->cbTotal, &pHdr, &pvDst);
    23702370    else
    2371         rc = INTNETRingAllocateGsoFrame(pRingBuf, pSG->cbTotal, &pSG->GsoCtx, &pHdr, &pvDst);
     2371        rc = IntNetRingAllocateGsoFrame(pRingBuf, pSG->cbTotal, &pSG->GsoCtx, &pHdr, &pvDst);
    23722372    if (RT_SUCCESS(rc))
    23732373    {
    2374         INTNETSgRead(pSG, pvDst);
     2374        IntNetSgRead(pSG, pvDst);
    23752375        if (pNewDstMac)
    23762376            ((PRTNETETHERHDR)pvDst)->DstMac = *pNewDstMac;
    23772377
    2378         INTNETRingCommitFrame(pRingBuf, pHdr);
     2378        IntNetRingCommitFrame(pRingBuf, pHdr);
    23792379        return VINF_SUCCESS;
    23802380    }
     
    24812481                                                       pThis->abGsoHdrs, &cbSegPayload);
    24822482
    2483         INTNETSgInitTempSegs(&u.SG, pSG->GsoCtx.cbHdrs + cbSegPayload, 2, 2);
     2483        IntNetSgInitTempSegs(&u.SG, pSG->GsoCtx.cbHdrs + cbSegPayload, 2, 2);
    24842484        u.SG.aSegs[0].Phys = NIL_RTHCPHYS;
    24852485        u.SG.aSegs[0].pv   = pThis->abGsoHdrs;
     
    32803280                                     * I won't bother allocating and managing SGs rigth now. Sorry. */
    32813281            PINTNETHDR          pHdr;
    3282             while ((pHdr = INTNETRingGetNextFrameToRead(&pIf->pIntBuf->Send)) != NULL)
     3282            while ((pHdr = IntNetRingGetNextFrameToRead(&pIf->pIntBuf->Send)) != NULL)
    32833283            {
    32843284                uint16_t const      u16Type = pHdr->u16Type;
     
    32863286                {
    32873287                    /* Send regular frame. */
    3288                     void *pvCurFrame = INTNETHdrGetFramePtr(pHdr, pIf->pIntBuf);
    3289                     INTNETSgInitTemp(&Sg, pvCurFrame, pHdr->cbFrame);
     3288                    void *pvCurFrame = IntNetHdrGetFramePtr(pHdr, pIf->pIntBuf);
     3289                    IntNetSgInitTemp(&Sg, pvCurFrame, pHdr->cbFrame);
    32903290                    if (pNetwork->fFlags & INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE)
    32913291                        intnetR0IfSnoopAddr(pIf, (uint8_t *)pvCurFrame, pHdr->cbFrame, false /*fGso*/, (uint16_t *)&Sg.fFlags);
     
    32953295                {
    32963296                    /* Send GSO frame if sane. */
    3297                     PPDMNETWORKGSO  pGso       = INTNETHdrGetGsoContext(pHdr, pIf->pIntBuf);
     3297                    PPDMNETWORKGSO  pGso       = IntNetHdrGetGsoContext(pHdr, pIf->pIntBuf);
    32983298                    uint32_t        cbFrame    = pHdr->cbFrame - sizeof(*pGso);
    32993299                    if (RT_LIKELY(PDMNetGsoIsValid(pGso, pHdr->cbFrame, cbFrame)))
    33003300                    {
    33013301                        void       *pvCurFrame = pGso + 1;
    3302                         INTNETSgInitTempGso(&Sg, pvCurFrame, cbFrame, pGso);
     3302                        IntNetSgInitTempGso(&Sg, pvCurFrame, cbFrame, pGso);
    33033303                        if (pNetwork->fFlags & INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE)
    33043304                            intnetR0IfSnoopAddr(pIf, (uint8_t *)pvCurFrame, cbFrame, true /*fGso*/, (uint16_t *)&Sg.fFlags);
     
    33253325
    33263326                /* Skip to the next frame. */
    3327                 INTNETRingSkipFrame(&pIf->pIntBuf->Send);
     3327                IntNetRingSkipFrame(&pIf->pIntBuf->Send);
    33283328            }
    33293329
     
    41604160            pIf->pIntBuf   = pIf->pIntBufDefault;
    41614161            pIf->pIntBufR3 = pIf->pIntBufDefaultR3;
    4162             INTNETBufInit(pIf->pIntBuf, cbBuf, cbRecv, cbSend);
     4162            IntNetBufInit(pIf->pIntBuf, cbBuf, cbRecv, cbSend);
    41634163
    41644164            /*
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r28711 r28714  
    204204     * it's not supposed to happen here in this testcase.
    205205     */
    206     int rc = INTNETRingWriteFrame(&pBuf->Send, pvFrame, cbFrame);
     206    int rc = IntNetRingWriteFrame(&pBuf->Send, pvFrame, cbFrame);
    207207    if (RT_SUCCESS(rc))
    208208    {
     
    212212    else
    213213    {
    214         RTPrintf("tstIntNet-1: INTNETRingWriteFrame failed, %Rrc; cbFrame=%d pBuf->cbSend=%d\n", rc, cbFrame, pBuf->cbSend);
     214        RTPrintf("tstIntNet-1: IntNetRingWriteFrame failed, %Rrc; cbFrame=%d pBuf->cbSend=%d\n", rc, cbFrame, pBuf->cbSend);
    215215        g_cErrors++;
    216216    }
     
    465465         */
    466466        PINTNETHDR pHdr;
    467         while ((pHdr = INTNETRingGetNextFrameToRead(pRingBuf)))
     467        while ((pHdr = IntNetRingGetNextFrameToRead(pRingBuf)))
    468468        {
    469469            if (pHdr->u16Type == INTNETHDR_TYPE_FRAME)
    470470            {
    471471                size_t      cbFrame = pHdr->cbFrame;
    472                 const void *pvFrame = INTNETHdrGetFramePtr(pHdr, pBuf);
     472                const void *pvFrame = IntNetHdrGetFramePtr(pHdr, pBuf);
    473473                uint64_t    NanoTS  = RTTimeNanoTS() - g_StartTS;
    474474
     
    546546            else if (pHdr->u16Type == INTNETHDR_TYPE_GSO)
    547547            {
    548                 PCPDMNETWORKGSO pGso    = INTNETHdrGetGsoContext(pHdr, pBuf);
     548                PCPDMNETWORKGSO pGso    = IntNetHdrGetGsoContext(pHdr, pBuf);
    549549                size_t          cbFrame = pHdr->cbFrame;
    550550                if (PDMNetGsoIsValid(pGso, cbFrame, cbFrame - sizeof(*pGso)))
     
    580580
    581581            /* Advance to the next frame. */
    582             INTNETRingSkipFrame(pRingBuf);
     582            IntNetRingSkipFrame(pRingBuf);
    583583        }
    584584    }
  • trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp

    r28711 r28714  
    194194{
    195195    INTNETSG Sg;
    196     INTNETSgInitTemp(&Sg, (void *)pvBuf, cbBuf);
     196    IntNetSgInitTemp(&Sg, (void *)pvBuf, cbBuf);
    197197    int rc = intnetR0RingWriteFrame(pRingBuf, &Sg, NULL);
    198198    if (RT_SUCCESS(rc))
     
    254254
    255255        INTNETSG Sg;
    256         INTNETSgInitTemp(&Sg, abBuf, cb);
     256        IntNetSgInitTemp(&Sg, abBuf, cb);
    257257        RTTEST_CHECK_RC_OK(g_hTest, rc = intnetR0RingWriteFrame(&pArgs->pBuf->Send, &Sg, NULL));
    258258        if (RT_SUCCESS(rc))
     
    301301         * Read data.
    302302         */
    303         while (INTNETRingHasMoreToRead(&pArgs->pBuf->Recv))
     303        while (IntNetRingHasMoreToRead(&pArgs->pBuf->Recv))
    304304        {
    305305            uint8_t     abBuf[16384];
    306306            MYFRAMEHDR *pHdr = (MYFRAMEHDR *)&abBuf[0];
    307             uint32_t    cb   = INTNETRingReadAndSkipFrame(&pArgs->pBuf->Recv, abBuf);
     307            uint32_t    cb   = IntNetRingReadAndSkipFrame(&pArgs->pBuf->Recv, abBuf);
    308308
    309309            /* check for termination frame. */
     
    500500         */
    501501        unsigned cYields = 100000;
    502         while (     (  INTNETRingHasMoreToRead(&pThis->pBuf0->Recv)
    503                     || INTNETRingHasMoreToRead(&pThis->pBuf1->Recv))
     502        while (     (  IntNetRingHasMoreToRead(&pThis->pBuf0->Recv)
     503                    || IntNetRingHasMoreToRead(&pThis->pBuf1->Recv))
    504504               &&   cYields-- > 0)
    505505            RTThreadYield();
     
    600600    /* Receive the data. */
    601601    const unsigned cbExpect = RT_ALIGN(sizeof(s_au16Frame) + sizeof(INTNETHDR), sizeof(INTNETHDR));
    602     RTTESTI_CHECK_MSG(INTNETRingGetReadable(&pThis->pBuf1->Recv) == cbExpect,
    603                       ("%#x vs. %#x\n", INTNETRingGetReadable(&pThis->pBuf1->Recv), cbExpect));
     602    RTTESTI_CHECK_MSG(IntNetRingGetReadable(&pThis->pBuf1->Recv) == cbExpect,
     603                      ("%#x vs. %#x\n", IntNetRingGetReadable(&pThis->pBuf1->Recv), cbExpect));
    604604
    605605    void *pvBuf;
    606606    RTTESTI_CHECK_RC_OK_RETV(RTTestGuardedAlloc(g_hTest, sizeof(s_au16Frame), 1, fHeadGuard, &pvBuf));
    607607    uint32_t cb;
    608     RTTESTI_CHECK_MSG_RETV((cb = INTNETRingReadAndSkipFrame(&pThis->pBuf1->Recv, pvBuf)) == sizeof(s_au16Frame),
     608    RTTESTI_CHECK_MSG_RETV((cb = IntNetRingReadAndSkipFrame(&pThis->pBuf1->Recv, pvBuf)) == sizeof(s_au16Frame),
    609609                           ("%#x vs. %#x\n", cb, sizeof(s_au16Frame)));
    610610
     
    639639    /* Receive the data. */
    640640    const unsigned cbExpect = RT_ALIGN(sizeof(s_au16Frame) + sizeof(INTNETHDR), sizeof(INTNETHDR));
    641     RTTESTI_CHECK_MSG(INTNETRingGetReadable(&pThis->pBuf0->Recv) == cbExpect,
    642                       ("%#x vs. %#x\n", INTNETRingGetReadable(&pThis->pBuf0->Recv), cbExpect));
     641    RTTESTI_CHECK_MSG(IntNetRingGetReadable(&pThis->pBuf0->Recv) == cbExpect,
     642                      ("%#x vs. %#x\n", IntNetRingGetReadable(&pThis->pBuf0->Recv), cbExpect));
    643643
    644644    void *pvBuf;
    645645    RTTESTI_CHECK_RC_OK_RETV(RTTestGuardedAlloc(g_hTest, sizeof(s_au16Frame), 1, fHeadGuard, &pvBuf));
    646646    uint32_t cb;
    647     RTTESTI_CHECK_MSG_RETV((cb = INTNETRingReadAndSkipFrame(&pThis->pBuf0->Recv, pvBuf)) == sizeof(s_au16Frame),
     647    RTTESTI_CHECK_MSG_RETV((cb = IntNetRingReadAndSkipFrame(&pThis->pBuf0->Recv, pvBuf)) == sizeof(s_au16Frame),
    648648                           ("%#x vs. %#x\n", cb, sizeof(s_au16Frame)));
    649649
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r28666 r28714  
    386386        {
    387387            mbuf_setlen(pCur, pSG->cbTotal);
    388             INTNETSgRead(pSG, mbuf_data(pCur));
     388            IntNetSgRead(pSG, mbuf_data(pCur));
    389389        }
    390390        else
     
    399399                    cb = cbLeft;
    400400                mbuf_setlen(pCur, cb);
    401                 INTNETSgReadEx(pSG, offSrc, cb, mbuf_data(pCur));
     401                IntNetSgReadEx(pSG, offSrc, cb, mbuf_data(pCur));
    402402
    403403                /* advance */
     
    499499     */
    500500    unsigned iSeg = 0;
    501     INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
     501    IntNetSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
    502502    for (mbuf_t pCur = pMBuf; pCur; pCur = mbuf_next(pCur))
    503503    {
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c

    r28666 r28714  
    189189    struct mbuf *m0;
    190190
    191     INTNETSgInitTempSegs(pSG, m_length(m, NULL), cSegs, 0 /*cSegsUsed*/);
     191    IntNetSgInitTempSegs(pSG, m_length(m, NULL), cSegs, 0 /*cSegsUsed*/);
    192192
    193193    for (m0 = m, i = segOffset; m0; m0 = m0->m_next)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r28703 r28714  
    520520    /* Copy the segments. */
    521521    skb_put(pPkt, pSG->cbTotal);
    522     INTNETSgRead(pSG, pPkt->data);
     522    IntNetSgRead(pSG, pPkt->data);
    523523
    524524#if defined(VBOXNETFLT_WITH_GSO_XMIT_WIRE) || defined(VBOXNETFLT_WITH_GSO_XMIT_HOST)
     
    629629
    630630    if (!pGsoCtx)
    631         INTNETSgInitTempSegs(pSG, pBuf->len, cSegs, 0 /*cSegsUsed*/);
     631        IntNetSgInitTempSegs(pSG, pBuf->len, cSegs, 0 /*cSegsUsed*/);
    632632    else
    633         INTNETSgInitTempSegsGso(pSG, pBuf->len, cSegs, 0 /*cSegsUsed*/, pGsoCtx);
     633        IntNetSgInitTempSegsGso(pSG, pBuf->len, cSegs, 0 /*cSegsUsed*/, pGsoCtx);
    634634
    635635#ifdef VBOXNETFLT_SG_SUPPORT
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r28681 r28714  
    27162716     * Convert the message block to segments. Work INTNETSG::cbTotal.
    27172717     */
    2718     INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
     2718    IntNetSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
    27192719    mblk_t *pCur = pMsg;
    27202720    unsigned iSeg = 0;
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c

    r28666 r28714  
    481481     * Convert the message block to segments. Works cbTotal and sets cSegsUsed.
    482482     */
    483     INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
     483    IntNetSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
    484484    mblk_t *pCur = pMsg;
    485485    unsigned iSeg = 0;
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/VBoxNetFlt-win.c

    r28666 r28714  
    418418    if(Status == STATUS_SUCCESS)
    419419    {
    420         INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
     420        IntNetSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
    421421        return pSG;
    422422    }
     
    635635        {
    636636            /* reinitialize */
    637             INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, pSG->cSegsAlloc, 0 /*cSegsUsed*/);
     637            IntNetSgInitTempSegs(pSG, 0 /*cbTotal*/, pSG->cSegsAlloc, 0 /*cSegsUsed*/);
    638638
    639639            /* convert the ndis buffers to INTNETSG */
     
    11551155    if(Status == NDIS_STATUS_SUCCESS)
    11561156    {
    1157         INTNETSgInitTemp(pSG, pSG + 1, cbPacket);
     1157        IntNetSgInitTemp(pSG, pSG + 1, cbPacket);
    11581158        LogFlow(("pSG created  (%p)\n", pSG));
    11591159        *ppSG = pSG;
     
    16931693            if(fStatus == NDIS_STATUS_SUCCESS)
    16941694            {
    1695                 INTNETSgRead(pSG, pvMemBuf);
     1695                IntNetSgRead(pSG, pvMemBuf);
    16961696            }
    16971697            else
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r28711 r28714  
    988988         * Process the receive buffer.
    989989         */
    990         while (INTNETRingHasMoreToRead(pRingBuf))
     990        while (IntNetRingHasMoreToRead(pRingBuf))
    991991        {
    992992            size_t  cb;
     
    10201020
    10211021            /* Advance to the next frame. */
    1022             INTNETRingSkipFrame(pRingBuf);
     1022            IntNetRingSkipFrame(pRingBuf);
    10231023        }
    10241024    }
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetNAT.cpp

    r28371 r28714  
    242242         */
    243243        PCINTNETHDR pHdr;
    244         while ((pHdr = INTNETRingGetNextFrameToRead(pRingBuf)) != NULL)
     244        while ((pHdr = IntNetRingGetNextFrameToRead(pRingBuf)) != NULL)
    245245        {
    246246            uint16_t const u16Type = pHdr->u16Type;
     
    260260                        break;
    261261                    }
    262                     memcpy(pvSlirpFrame, INTNETHdrGetFramePtr(pHdr, m_pIfBuf), cbFrame);
    263                     INTNETRingSkipFrame(&m_pIfBuf->Recv);
     262                    memcpy(pvSlirpFrame, IntNetHdrGetFramePtr(pHdr, m_pIfBuf), cbFrame);
     263                    IntNetRingSkipFrame(&m_pIfBuf->Recv);
    264264
    265265                    /* don't wait, we may have to wakeup the NAT thread first */
     
    271271                {
    272272                    /** @todo pass these unmodified. */
    273                     PCPDMNETWORKGSO pGso  = INTNETHdrGetGsoContext(pHdr, m_pIfBuf);
     273                    PCPDMNETWORKGSO pGso  = IntNetHdrGetGsoContext(pHdr, m_pIfBuf);
    274274                    if (!PDMNetGsoIsValid(pGso, cbFrame, cbFrame - sizeof(*pGso)))
    275275                    {
    276                         INTNETRingSkipFrame(&m_pIfBuf->Recv);
     276                        IntNetRingSkipFrame(&m_pIfBuf->Recv);
    277277                        STAM_REL_COUNTER_INC(&m_pIfBuf->cStatBadFrames);
    278278                        continue;
     
    298298                        AssertReleaseRC(rc);
    299299                    }
    300                     INTNETRingSkipFrame(&m_pIfBuf->Recv);
     300                    IntNetRingSkipFrame(&m_pIfBuf->Recv);
    301301                }
    302302
     
    312312            }
    313313            else if (u16Type == INTNETHDR_TYPE_PADDING)
    314                 INTNETRingSkipFrame(&m_pIfBuf->Recv);
     314                IntNetRingSkipFrame(&m_pIfBuf->Recv);
    315315            else
    316316            {
    317                 INTNETRingSkipFrame(&m_pIfBuf->Recv);
     317                IntNetRingSkipFrame(&m_pIfBuf->Recv);
    318318                STAM_REL_COUNTER_INC(&m_pIfBuf->cStatBadFrames);
    319319            }
     
    401401            rc = RTSemEventWait(g_pNAT->m_EventUrgSend, RT_INDEFINITE_WAIT);
    402402    }
    403     rc = INTNETRingWriteFrame(&pThis->m_pIfBuf->Send, pvFrame, cbFrame);
     403    rc = IntNetRingWriteFrame(&pThis->m_pIfBuf->Send, pvFrame, cbFrame);
    404404    if (RT_FAILURE(rc))
    405405    {
     
    410410        rc = SUPR3CallVMMR0Ex(NIL_RTR0PTR, NIL_VMCPUID, VMMR0_DO_INTNET_IF_SEND, 0, &SendReq.Hdr);
    411411
    412         rc = INTNETRingWriteFrame(&pThis->m_pIfBuf->Send, pvFrame, cbFrame);
     412        rc = IntNetRingWriteFrame(&pThis->m_pIfBuf->Send, pvFrame, cbFrame);
    413413
    414414    }
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetARP.cpp

    r28025 r28714  
    4646     * Valid IntNet Ethernet frame? Skip GSO, no ARP in there.
    4747     */
    48     PCINTNETHDR pHdr = INTNETRingGetNextFrameToRead(&pBuf->Recv);
     48    PCINTNETHDR pHdr = IntNetRingGetNextFrameToRead(&pBuf->Recv);
    4949    if (   !pHdr
    5050        || pHdr->u16Type != INTNETHDR_TYPE_FRAME)
     
    5252
    5353    size_t          cbFrame = pHdr->cbFrame;
    54     const void     *pvFrame = INTNETHdrGetFramePtr(pHdr, pBuf);
     54    const void     *pvFrame = IntNetHdrGetFramePtr(pHdr, pBuf);
    5555    PCRTNETETHERHDR pEthHdr = (PCRTNETETHERHDR)pvFrame;
    5656
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetIntIf.cpp

    r27856 r28714  
    8080 * @param   cSegs       The number of segments.
    8181 * @param   paSegs      The segments.
    82  * @remark  This is the same as INTNETRingWriteFrame and
    83  *          drvIntNetRingWriteFrame.
    8482 */
    8583int VBoxNetIntIfRingWriteFrame(PINTNETBUF pBuf, PINTNETRINGBUF pRingBuf, size_t cSegs, PCINTNETSEG paSegs)
     
    106104    PINTNETHDR pHdr;
    107105    void *pvFrame;
    108     int rc = INTNETRingAllocateFrame(pRingBuf, cbFrame, &pHdr, &pvFrame);
     106    int rc = IntNetRingAllocateFrame(pRingBuf, cbFrame, &pHdr, &pvFrame);
    109107    if (RT_SUCCESS(rc))
    110108    {
    111109        vboxnetIntIfCopySG(pvFrame, cSegs, paSegs);
    112         INTNETRingCommitFrame(pRingBuf, pHdr);
     110        IntNetRingCommitFrame(pRingBuf, pHdr);
    113111        return VINF_SUCCESS;
    114112    }
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetUDP.cpp

    r28156 r28714  
    6464     * Valid IntNet Ethernet frame?
    6565     */
    66     PCINTNETHDR pHdr = INTNETRingGetNextFrameToRead(&pBuf->Recv);
     66    PCINTNETHDR pHdr = IntNetRingGetNextFrameToRead(&pBuf->Recv);
    6767    if (    !pHdr
    6868        ||  (   pHdr->u16Type != INTNETHDR_TYPE_FRAME
     
    7171
    7272    size_t          cbFrame = pHdr->cbFrame;
    73     const void     *pvFrame = INTNETHdrGetFramePtr(pHdr, pBuf);
     73    const void     *pvFrame = IntNetHdrGetFramePtr(pHdr, pBuf);
    7474    PCPDMNETWORKGSO pGso    = NULL;
    7575    if (pHdr->u16Type == INTNETHDR_TYPE_GSO)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette