VirtualBox

Ignore:
Timestamp:
Apr 7, 2010 6:37:43 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59732
Message:

intnet, VBoxNet*, network device & drivers: GSO preps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r20374 r28025  
    3737#include <VBox/log.h>
    3838#include <VBox/err.h>
     39#include <VBox/intnetinline.h>
    3940#include <VBox/version.h>
    4041#include <iprt/initterm.h>
     
    493494    NOREF(pThis);
    494495
    495     pSG->pvOwnerData = NULL;
    496     pSG->pvUserData = NULL;
    497     pSG->pvUserData2 = NULL;
    498     pSG->cUsers = 1;
    499     pSG->fFlags = INTNETSG_FLAGS_TEMP;
    500     pSG->cSegsAlloc = cSegs;
    501 
    502     /*
    503      * Walk the chain and convert the buffers to segments.
     496    /*
     497     * Walk the chain and convert the buffers to segments.  Works INTNETSG::cbTotal.
    504498     */
    505499    unsigned iSeg = 0;
    506     pSG->cbTotal = 0;
     500    INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/);
    507501    for (mbuf_t pCur = pMBuf; pCur; pCur = mbuf_next(pCur))
    508502    {
Note: See TracChangeset for help on using the changeset viewer.

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